public static interface GroupingDataset.Reduction extends Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReduceDefined(String columnId)
Checks whether reduce is supported for given column.
|
Comparable<?> |
reduce(String columnId,
List<Object> records)
Performs a reduction operation on given list of objects (sum, avg, etc) for given column ID
and returns the result.
|
Comparable<?> reduce(String columnId, List<Object> records)
columnId - UITableColumn.getColumnId(), not null.records - a list of records, never null, may be empty.boolean isReduceDefined(String columnId)
reduce(java.lang.String, java.util.List)
is not called for given column.columnId - the column id, not nullCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.