public interface Aggregator<T>
The Aggregator interface acts as a service interface for different methods of aggregating attribute data for the nodes in a
CyGroup. Aggregators are used to combine the attribute values of the nodes contained within a Group into a representative attribute value for the Group itself.
Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>group-api</artifactId> </dependency>
Method SummaryModifier and TypeMethodDescription
<T> TAggregate the column for the members of the specified group into the group.
default ClassReturn the base Class of the List, if this is a list type.Return the Class this aggregator supports
toString()This gets the name of the handling type supported by this aggregator, suitable for use in a menu.
getSupportedTypeClass getSupportedType()Return the Class this aggregator supports
getSupportedListTypedefault Class getSupportedListType()Return the base Class of the List, if this is a list type.
Classsupported by this List
toStringString toString()This gets the name of the handling type supported by this aggregator, suitable for use in a menu.
aggregateAggregate the column for the members of the specified group into the group.
table- the CyTable for this group
group- the group
column- the column we're aggregating
- the aggregated value