public class GroupByAggregator extends SpaceEntriesAggregator<GroupByResult> implements SmartExternalizable
Constructor and Description |
---|
GroupByAggregator()
Required for Externalizable
|
as, clone, getAlias, toObject
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public String getDefaultAlias()
getDefaultAlias
in class SpaceEntriesAggregator<GroupByResult>
public GroupByAggregator groupBy(String... paths)
public GroupByAggregator having(GroupByFilter filter)
protected List<SpaceEntriesAggregator> getSelectAggregators()
public GroupByAggregator select(SpaceEntriesAggregator... aggregators)
public GroupByAggregator selectCount()
public GroupByAggregator selectCount(String path)
public GroupByAggregator selectSum(String path)
public GroupByAggregator selectAverage(String path)
public GroupByAggregator selectMaxValue(String path)
public GroupByAggregator selectMaxEntry(String path)
public GroupByAggregator selectMinValue(String path)
public GroupByAggregator selectMinEntry(String path)
public void aggregate(SpaceEntriesAggregatorContext context)
aggregate
in class SpaceEntriesAggregator<GroupByResult>
public void aggregateIntermediateResult(GroupByResult partitionResult)
aggregateIntermediateResult
in class SpaceEntriesAggregator<GroupByResult>
public GroupByResult getIntermediateResult()
getIntermediateResult
in class SpaceEntriesAggregator<GroupByResult>
public Object getFinalResult()
getFinalResult
in class SpaceEntriesAggregator<GroupByResult>
protected void setRawEntryConverter(RawEntryConverter rawEntryConverter)
setRawEntryConverter
in class SpaceEntriesAggregator<GroupByResult>
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public List<SpaceEntriesAggregator> getAggregators()
public String[] getGroupByPaths()
Copyright © GigaSpaces.