Package | Description |
---|---|
org.gephi.appearance.api |
API for manipulating element appearance.
|
org.gephi.datalab.api |
Data Laboratory API, all capabilites are exposed through various controllers.
|
org.gephi.datalab.spi.columns | |
org.gephi.datalab.spi.columns.merge | |
org.gephi.datalab.spi.rows.merge | |
org.gephi.datalab.spi.values | |
org.gephi.graph.api |
Complete API description, where
GraphModel is the entry point. |
Modifier and Type | Method and Description |
---|---|
Column |
Partition.getColumn()
Returns the column associated with this partition.
|
Column |
AttributeFunction.getColumn()
Returns the column this function finds its value from.
|
Modifier and Type | Method and Description |
---|---|
Function |
AppearanceModel.getEdgeFunction(Graph graph,
Column column,
Class<? extends Transformer> transformer)
Returns the node function for the given column and transformer.
|
Partition |
AppearanceModel.getEdgePartition(Graph graph,
Column column)
Returns the edge partition for this graph and column.
|
Function |
AppearanceModel.getNodeFunction(Graph graph,
Column column,
Class<? extends Transformer> transformer)
Returns the node function for the given column and transformer.
|
Partition |
AppearanceModel.getNodePartition(Graph graph,
Column column)
Returns the node partition for this graph and column.
|
Modifier and Type | Method and Description |
---|---|
Column |
AttributeColumnsController.addAttributeColumn(Table table,
String title,
Class type)
Adds a new column to the specified table with the given title and type of column.
|
Column |
AttributeColumnsMergeStrategiesController.averageNumberMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the average of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Column |
AttributeColumnsMergeStrategiesController.booleanLogicOperationsMerge(Table table,
Column[] columnsToMerge,
AttributeColumnsMergeStrategiesController.BooleanOperations[] booleanOperations,
String newColumnTitle)
Strategy to apply only to all boolean columns.
|
Column |
AttributeColumnsController.convertAttributeColumnToDynamic(Table table,
Column column,
double low,
double high)
Converts and replaces a table column with a dynamic column preserving original column values.
|
Column |
AttributeColumnsController.convertAttributeColumnToNewDynamicColumn(Table table,
Column column,
double low,
double high,
String newColumnTitle)
Converts a table column into a new dynamic column preserving original column values.
|
Column |
AttributeColumnsController.createBooleanMatchesColumn(Table table,
Column column,
String newColumnTitle,
Pattern pattern)
Creates a new
BOOLEAN column from the given column and regular expression
filling it with boolean values that indicate if each of the old column values match the regular expression. |
Column |
AttributeColumnsController.createFoundGroupsListColumn(Table table,
Column column,
String newColumnTitle,
Pattern pattern)
Creates a new
LIST_STRING column from the given column and regular expression with values that are
the list of matching groups for the given regular expression for each row. |
Column |
AttributeColumnsController.duplicateColumn(Table table,
Column column,
String title,
Class type)
Duplicates a given column of a table and copies al row values.
|
Column |
AttributeColumnsMergeStrategiesController.firstQuartileNumberMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the first quartile (Q1) of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Column |
AttributeColumnsMergeStrategiesController.interQuartileRangeNumberMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the interquartile range (IQR) of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Column |
AttributeColumnsMergeStrategiesController.joinWithSeparatorMerge(Table table,
Column[] columnsToMerge,
Class newColumnType,
String newColumnTitle,
String separator)
Joins various columns of any type into a new column using the given separator string (or null).
|
Column |
AttributeColumnsMergeStrategiesController.maxValueNumbersMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the maximum value of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Column |
AttributeColumnsMergeStrategiesController.medianNumberMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the median of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Column |
AttributeColumnsMergeStrategiesController.mergeDateColumnsToTimeInterval(Table table,
Column startColumn,
Column endColumn,
SimpleDateFormat dateFormat,
String defaultStartDate,
String defaultEndDate)
Merge 1 or 2 columns creating a time interval for each row.
|
Column |
AttributeColumnsMergeStrategiesController.mergeNumericColumnsToTimeInterval(Table table,
Column startColumn,
Column endColumn,
double defaultStart,
double defaultEnd)
Merge 1 or 2 columns creating a time interval for each row.
|
Column |
AttributeColumnsMergeStrategiesController.minValueNumbersMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the minimum value of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Column |
AttributeColumnsMergeStrategiesController.sumNumbersMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the sum of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Column |
AttributeColumnsMergeStrategiesController.thirdQuartileNumberMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the third quartile (Q3) of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Modifier and Type | Method and Description |
---|---|
Column |
AttributeColumnsMergeStrategiesController.averageNumberMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the average of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Column |
AttributeColumnsMergeStrategiesController.booleanLogicOperationsMerge(Table table,
Column[] columnsToMerge,
AttributeColumnsMergeStrategiesController.BooleanOperations[] booleanOperations,
String newColumnTitle)
Strategy to apply only to all boolean columns.
|
Map<Object,Integer> |
AttributeColumnsController.calculateColumnValuesFrequencies(Table table,
Column column)
Calculates the absolute frequency of appearance of each value of the given column and returns a Map containing each different value mapped to its frequency of appearance.
|
boolean |
AttributeColumnsController.canChangeColumnData(Column column)
Indicates if the Data Laboratory API behaviour allows to change a value of the given column of a table.
|
boolean |
AttributeColumnsController.canClearColumnData(Column column)
Indicates if the Data Laboratory API behaviour allows to set as null a value of the given column of a table.
|
boolean |
AttributeColumnsController.canConvertColumnToDynamic(Column column)
Indicates if the Data Laboratory API behaviour allows to convert an existing column into its dynamic equivalent.
|
boolean |
AttributeColumnsController.canDeleteColumn(Column column)
Indicates if the Data Laboratory API behaviour allows to delete the given column of a table.
|
void |
AttributeColumnsController.clearColumnData(Table table,
Column column)
Clears all rows data for a given column of a table (nodes table or edges table)
|
void |
AttributeColumnsController.clearEdgeData(Edge edge,
Column[] columnsToClear)
Clears all edge attributes except computed attributes and id.
|
void |
AttributeColumnsController.clearEdgesData(Edge[] edges,
Column[] columnsToClear)
Clears all the edges attributes except computed attributes and id, checking first that the edges are in the graph.
|
void |
AttributeColumnsController.clearNodeData(Node node,
Column[] columnsToClear)
Clears all node attributes except computed attributes and id, checking first that the node is in the graph.
|
void |
AttributeColumnsController.clearNodesData(Node[] nodes,
Column[] columnsToClear)
Clears all the nodes attributes except computed attributes and id.
|
void |
AttributeColumnsController.clearRowData(Element row,
Column[] columnsToClear)
Clears row attributes except computed attributes and id if node/edge row.
|
Column |
AttributeColumnsController.convertAttributeColumnToDynamic(Table table,
Column column,
double low,
double high)
Converts and replaces a table column with a dynamic column preserving original column values.
|
Column |
AttributeColumnsController.convertAttributeColumnToNewDynamicColumn(Table table,
Column column,
double low,
double high,
String newColumnTitle)
Converts a table column into a new dynamic column preserving original column values.
|
void |
AttributeColumnsController.copyColumnDataToOtherColumn(Table table,
Column sourceColumn,
Column targetColumn)
Copies all row values of a column to another column.
|
void |
AttributeColumnsController.copyEdgeDataToOtherEdges(Edge edge,
Edge[] otherEdges,
Column[] columnsToCopy)
Copies attributes data of the given edge to the other rows except computed attributes and id.
|
void |
AttributeColumnsController.copyNodeDataToOtherNodes(Node node,
Node[] otherNodes,
Column[] columnsToCopy)
Copies attributes data of the given node to the other rows except computed attributes and id.
|
void |
AttributeColumnsController.copyRowDataToOtherRows(Element row,
Element[] otherRows,
Column[] columnsToCopy)
Copies attributes data of the given row to the other rows except computed attributes and id if node/edge.
|
Column |
AttributeColumnsController.createBooleanMatchesColumn(Table table,
Column column,
String newColumnTitle,
Pattern pattern)
Creates a new
BOOLEAN column from the given column and regular expression
filling it with boolean values that indicate if each of the old column values match the regular expression. |
Column |
AttributeColumnsController.createFoundGroupsListColumn(Table table,
Column column,
String newColumnTitle,
Pattern pattern)
Creates a new
LIST_STRING column from the given column and regular expression with values that are
the list of matching groups for the given regular expression for each row. |
void |
AttributeColumnsController.deleteAttributeColumn(Table table,
Column column)
Deletes the specified column from a table if the table has the column and data laboratory behaviour allows to delete it (see
canDeleteColumn method). |
List<List<Node>> |
AttributeColumnsController.detectNodeDuplicatesByColumn(Column column,
boolean caseSensitive)
Finds and returns nodes duplicates based on the values of a given column of nodes table
|
Column |
AttributeColumnsController.duplicateColumn(Table table,
Column column,
String title,
Class type)
Duplicates a given column of a table and copies al row values.
|
void |
DataLaboratoryHelper.executeAttributeColumnsManipulator(AttributeColumnsManipulator m,
GraphModel graphModel,
Table table,
Column column)
Prepares the dialog UI of a AttributeColumnsManipulator if it has one and executes the manipulator in a separate
Thread when the dialog is accepted or directly if there is no UI.
|
void |
AttributeColumnsController.fillColumnWithValue(Table table,
Column column,
String value)
Fills the data values of a given column of a table with a value as a String,
parsing it for the
Class of the column. |
void |
AttributeColumnsController.fillEdgesColumnWithValue(Edge[] edges,
Column column,
String value)
Fills the data values of a given column of the indicated edges with a value as a String,
parsing it for the
Class of the column. |
void |
AttributeColumnsController.fillNodesColumnWithValue(Node[] nodes,
Column column,
String value)
Fills the data values of a given column of the indicated nodes with a value as a String,
parsing it for the
Class of the column. |
Column |
AttributeColumnsMergeStrategiesController.firstQuartileNumberMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the first quartile (Q1) of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Number[] |
AttributeColumnsController.getColumnNumbers(Table table,
Column column)
Prepares an array with all not null numbers of all the rows of a given column.
|
BigDecimal[] |
AttributeColumnsController.getNumberOrNumberListColumnStatistics(Table table,
Column column)
Calculates all statistics at once from a number/number list column using
MathUtils class. |
Number[] |
AttributeColumnsController.getRowNumbers(Element row,
Column[] columns)
Prepares an array with all not null numbers of a row using only the given columns.
|
Number[] |
AttributeColumnsController.getRowsColumnNumbers(Element[] rows,
Column column)
Prepares an array only with all not null numbers the indicated rows of a given column.
|
Column |
AttributeColumnsMergeStrategiesController.interQuartileRangeNumberMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the interquartile range (IQR) of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
boolean |
AttributeColumnsController.isEdgeColumn(Column column) |
boolean |
AttributeColumnsController.isNodeColumn(Column column) |
boolean |
AttributeColumnsController.isTableColumn(Table table,
Column column) |
Column |
AttributeColumnsMergeStrategiesController.joinWithSeparatorMerge(Table table,
Column[] columnsToMerge,
Class newColumnType,
String newColumnTitle,
String separator)
Joins various columns of any type into a new column using the given separator string (or null).
|
Column |
AttributeColumnsMergeStrategiesController.maxValueNumbersMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the maximum value of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Column |
AttributeColumnsMergeStrategiesController.medianNumberMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the median of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Column |
AttributeColumnsMergeStrategiesController.mergeDateColumnsToTimeInterval(Table table,
Column startColumn,
Column endColumn,
SimpleDateFormat dateFormat,
String defaultStartDate,
String defaultEndDate)
Merge 1 or 2 columns creating a time interval for each row.
|
Node |
GraphElementsController.mergeNodes(Graph graph,
Node[] nodes,
Node selectedNode,
Column[] columns,
AttributeRowsMergeStrategy[] mergeStrategies,
boolean deleteMergedNodes)
Merges 2 or more nodes into a new one node that has all the edges of the merged nodes.
|
Column |
AttributeColumnsMergeStrategiesController.mergeNumericColumnsToTimeInterval(Table table,
Column startColumn,
Column endColumn,
double defaultStart,
double defaultEnd)
Merge 1 or 2 columns creating a time interval for each row.
|
void |
AttributeColumnsController.mergeRowsValues(Column[] columns,
AttributeRowsMergeStrategy[] mergeStrategies,
Element[] rows,
Element selectedRow,
Element resultRow)
Merges the given rows values to the given result row using one merge strategy for each column of the table.
|
Column |
AttributeColumnsMergeStrategiesController.minValueNumbersMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the minimum value of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
void |
AttributeColumnsController.negateBooleanColumn(Table table,
Column column)
Negates not null values of a given
BOOLEAN or LIST_BOOLEAN column. |
boolean |
AttributeColumnsController.setAttributeValue(Object value,
Element row,
Column column)
Sets a value to the given row,column pair (cell).
|
void |
SearchReplaceController.SearchOptions.setColumnsToSearch(Column[] columnsToSearch)
Set column that should be used to search with the current options.
|
Column |
AttributeColumnsMergeStrategiesController.sumNumbersMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the sum of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Column |
AttributeColumnsMergeStrategiesController.thirdQuartileNumberMerge(Table table,
Column[] columnsToMerge,
String newColumnTitle)
Merges any combination of number or number list columns, calculating the third quartile (Q3) of all not null values
and puts the result of each row in a new column of
BIGDECIMAL AttributeType . |
Modifier and Type | Method and Description |
---|---|
boolean |
AttributeColumnsManipulator.canManipulateColumn(Table table,
Column column)
Indicates if this AttributeColumnsManipulator can manipulate a specific AttributeColumn.
|
void |
AttributeColumnsManipulator.execute(Table table,
Column column)
Execute this AttributeColumnsManipulator with the indicated table and column
|
AttributeColumnsManipulatorUI |
AttributeColumnsManipulator.getUI(Table table,
Column column)
Returns a ManipulatorUI for this Manipulator if it needs one.
|
void |
AttributeColumnsManipulatorUI.setup(AttributeColumnsManipulator m,
GraphModel graphModel,
Table table,
Column column,
DialogControls dialogControls)
Prepare this UI to be able to interact with its AttributeColumnsManipulator.
|
Modifier and Type | Method and Description |
---|---|
void |
AttributeColumnsMergeStrategy.setup(Table table,
Column[] columns)
Prepare columns (with their table) for this merge strategy.
|
Modifier and Type | Method and Description |
---|---|
void |
AttributeRowsMergeStrategy.setup(Element[] rows,
Element selectedRow,
Column column)
Prepare column and rows for this merge strategy.
|
Modifier and Type | Method and Description |
---|---|
void |
AttributeValueManipulator.setup(Element row,
Column column)
Prepare the AttributeValue data.
|
Modifier and Type | Method and Description |
---|---|
Column |
Table.addColumn(String id,
Class type)
Adds a new column to this table.
|
Column |
Table.addColumn(String id,
Class type,
Origin origin)
Adds a new column to this table.
|
Column |
Table.addColumn(String id,
String title,
Class type,
Object defaultValue)
Adds a new column to this table.
|
Column |
Table.addColumn(String id,
String title,
Class type,
Origin origin,
Object defaultValue,
boolean indexed)
Adds a new column to this table.
|
Column |
ColumnObserver.getColumn()
Gets the column this observer belongs to.
|
Column |
Table.getColumn(int index)
Returns the column at the given index.
|
Column |
Table.getColumn(String id)
Returns the column with the given identifier.
|
Column[] |
ColumnIterable.toArray()
Returns the iterator content as an array.
|
Modifier and Type | Method and Description |
---|---|
List<Column> |
TableDiff.getAddedColumns()
Gets all added columns.
|
List<Column> |
TableDiff.getModifiedColumns()
Returns all columns that have been modified.
|
List<Column> |
TableDiff.getRemovedColumns()
Gets all removed columns.
|
Iterator<Column> |
ColumnIterable.iterator()
Returns the element iterator.
|
List<Column> |
ColumnIterable.toList()
Returns the iterator content as a list.
|
Modifier and Type | Method and Description |
---|---|
int |
Index.count(Column column,
Object value)
Counts the elements with value in the given column.
|
int |
Index.countElements(Column column)
Counts the elements in the given column.
|
int |
Index.countValues(Column column)
Counts the unique values in the given column.
|
Iterable<T> |
Index.get(Column column,
Object value)
Gets an Iterable of all elements in the index with value in the
given column.
|
Object |
Element.getAttribute(Column column)
Gets the attribute for the given column.
|
Object |
Element.getAttribute(Column column,
double timestamp)
Gets the attribute for the given column and timestamp.
|
Object |
Element.getAttribute(Column column,
GraphView view)
Gets the attribute for the given column and graph view.
|
Object |
Element.getAttribute(Column column,
Interval interval)
Gets the attribute for the given column and interval.
|
Iterable<Map.Entry> |
Element.getAttributes(Column column)
Returns an iterable over all the keys and values over time for the given
column.
|
Number |
Index.getMaxValue(Column column)
Returns the maximum value in the given column.
|
Number |
Index.getMinValue(Column column)
Returns the minimum value in the given column.
|
static boolean |
AttributeUtils.isEdgeColumn(Column colum)
Returns true if the given column is an edge column.
|
static boolean |
AttributeUtils.isNodeColumn(Column colum)
Returns true if the given column is a node column.
|
Object |
Element.removeAttribute(Column column)
Removes the attribute at the given column.
|
Object |
Element.removeAttribute(Column column,
double timestamp)
Removes the attribute at the given column and timestamp.
|
Object |
Element.removeAttribute(Column column,
Interval interval)
Removes the attribute at the given column and interval.
|
void |
Table.removeColumn(Column column)
Removes the given column from this table.
|
void |
Element.setAttribute(Column column,
Object value)
Sets the attribute with the given column and value.
|
void |
Element.setAttribute(Column column,
Object value,
double timestamp)
Sets the attribute at the given column and timestamp.
|
void |
Element.setAttribute(Column column,
Object value,
Interval interval)
Sets the attribute at the given column and interval.
|
Collection |
Index.values(Column column)
Returns all unique values in the given column.
|
Copyright © 2007–2015 Gephi Consortium. All rights reserved.