|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gigaspaces.query.aggregators.AggregationSet
public class AggregationSet
The set of aggregations to run for matches entries of the aggregate operation.
Constructor Summary | |
---|---|
AggregationSet()
|
Method Summary | |
---|---|
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 |
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 |
sum(String path)
Sums values of paths of matching entries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AggregationSet()
Method Detail |
---|
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)
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |