public interface MergeTablesTaskFactory extends TaskFactory
Module: core-task-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>core-task-api</artifactId> </dependency>
Modifier and Type | Method and Description |
---|---|
TaskIterator |
createTaskIterator(CyTable sourceTable,
CyTable targetTable,
List<String> sourceColumnsList,
String sourceKeyColumn,
boolean mergeColumnVirtual,
boolean mapToNetworks,
boolean selectedNetworksOnly,
List<CyNetwork> networkList,
CyRootNetwork rootNetwork,
CyColumn targetJoinColumn,
Class<? extends CyIdentifiable> tableType)
Creates a task iterator for merging two data tables.
|
createTaskIterator, isReady
TaskIterator createTaskIterator(CyTable sourceTable, CyTable targetTable, List<String> sourceColumnsList, String sourceKeyColumn, boolean mergeColumnVirtual, boolean mapToNetworks, boolean selectedNetworksOnly, List<CyNetwork> networkList, CyRootNetwork rootNetwork, CyColumn targetJoinColumn, Class<? extends CyIdentifiable> tableType)
sourceTable
- The source table where the data to be be merged comes fromtargetTable
- The target table where the data will be merged tosourceColumnsList
- The list of columns in the source table that will be merged to the target tablesourceKeyColumn
- The key column in the source table that will be used to merge the columns in that table to the target tablemergeColumnVirtual
- Tells whether the new merged column will be virtual (true) or notmapToNetworks
- Tells if the target table will a network data table(true) or unassigned table(false)selectedNetworksOnly
- Tells if the merge is going to be on selected networks(true) or to a network collection (false)networkList
- The list of networks to merge the data if the selectedNetworksOnly and the mapToNetworks flags are truerootNetwork
- The root network of the chosen network collection to merge the datatargetJoinColumn
- The key column in the target table data to be used for merging the datatableType
- The type of the table where the data will be merged, in case the source table is merged to a network data tableTaskIterator
.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.