public class GroupByAggregator extends SpaceEntriesAggregator<GroupByResult> implements Externalizable
Constructor and Description |
---|
GroupByAggregator()
Required for Externalizable
|
Modifier and Type | Method and Description |
---|---|
void |
aggregate(SpaceEntriesAggregatorContext context) |
void |
aggregateIntermediateResult(GroupByResult partitionResult) |
String |
getDefaultAlias() |
Object |
getFinalResult() |
GroupByResult |
getIntermediateResult() |
protected List<SpaceEntriesAggregator> |
getSelectAggregators() |
GroupByAggregator |
groupBy(String... paths) |
GroupByAggregator |
having(GroupByFilter filter) |
void |
readExternal(ObjectInput in) |
GroupByAggregator |
select(SpaceEntriesAggregator... aggregators) |
GroupByAggregator |
selectAverage(String path) |
GroupByAggregator |
selectCount() |
GroupByAggregator |
selectCount(String path) |
GroupByAggregator |
selectMaxEntry(String path) |
GroupByAggregator |
selectMaxValue(String path) |
GroupByAggregator |
selectMinEntry(String path) |
GroupByAggregator |
selectMinValue(String path) |
GroupByAggregator |
selectSum(String path) |
protected void |
setRawEntryConverter(RawEntryConverter rawEntryConverter) |
void |
writeExternal(ObjectOutput out) |
as, clone, getAlias, toObject
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
Copyright © GigaSpaces.