public class AggregationSet extends Object
| Constructor and Description |
|---|
AggregationSet() |
| Modifier and Type | Method and Description |
|---|---|
AggregationSet |
add(SpaceEntriesAggregator aggregator) |
AggregationSet |
average(String path)
Calculates average of path values of matching entries.
|
AggregationSet |
count()
Counts matching entries.
|
AggregationSet |
count(String path)
Counts matching entries whose path is not null.
|
AggregationSet |
distinct(DistinctAggregator aggregator) |
AggregationSet |
groupBy(GroupByAggregator aggregator) |
AggregationSet |
maxEntry(String path)
Returns entry with maximum value of path of matching entries.
|
AggregationSet |
maxValue(String path)
Returns maximum value of path of matching entries.
|
AggregationSet |
minEntry(String path)
Returns entry with minimum value of path of matching entries.
|
AggregationSet |
minValue(String path)
Returns minimum value of path of matching entries.
|
AggregationSet |
orderBy(OrderByAggregator aggregator) |
AggregationSet |
sum(String path)
Sums values of paths of matching entries.
|
public AggregationSet add(SpaceEntriesAggregator aggregator)
public AggregationSet count()
public AggregationSet count(String path)
path - Path to inspectpublic AggregationSet sum(String path)
path - Path to sum (must be a numeric type)public AggregationSet average(String path)
path - Path to average (must be a numeric type)public AggregationSet maxValue(String path)
path - Path to inspect (must be a comparable type)maxEntry(String)public AggregationSet maxEntry(String path)
path - Path to inspect (must be a comparable type)maxValue(String)public AggregationSet minValue(String path)
path - Path to inspect (must be a comparable type)minEntry(String)public AggregationSet minEntry(String path)
path - Path to inspect (must be a comparable type)minEntry(String)public AggregationSet groupBy(GroupByAggregator aggregator)
public AggregationSet orderBy(OrderByAggregator aggregator)
public AggregationSet distinct(DistinctAggregator aggregator)
Copyright © GigaSpaces.