public class AverageAggregator extends AbstractPathAggregator<AverageAggregator.AverageTuple>
Modifier and Type | Class and Description |
---|---|
static class |
AverageAggregator.AverageTuple |
Constructor and Description |
---|
AverageAggregator() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(SpaceEntriesAggregatorContext context) |
void |
aggregateIntermediateResult(AverageAggregator.AverageTuple partitionResult) |
String |
getDefaultAlias() |
Object |
getFinalResult() |
AverageAggregator.AverageTuple |
getIntermediateResult() |
String |
getName() |
void |
readExternal(ObjectInput in) |
AverageAggregator |
setWidest(boolean widest) |
void |
writeExternal(ObjectOutput out) |
getFunctionCallColumn, getPath, getPathValue, setFunctionCallColumn, setPath
as, clone, getAlias, setRawEntryConverter, toObject
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public String getDefaultAlias()
getDefaultAlias
in class SpaceEntriesAggregator<AverageAggregator.AverageTuple>
public void aggregate(SpaceEntriesAggregatorContext context)
aggregate
in class SpaceEntriesAggregator<AverageAggregator.AverageTuple>
public void aggregateIntermediateResult(AverageAggregator.AverageTuple partitionResult)
aggregateIntermediateResult
in class SpaceEntriesAggregator<AverageAggregator.AverageTuple>
public AverageAggregator.AverageTuple getIntermediateResult()
getIntermediateResult
in class SpaceEntriesAggregator<AverageAggregator.AverageTuple>
public Object getFinalResult()
getFinalResult
in class SpaceEntriesAggregator<AverageAggregator.AverageTuple>
public String getName()
getName
in class AbstractPathAggregator<AverageAggregator.AverageTuple>
public AverageAggregator setWidest(boolean widest)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractPathAggregator<AverageAggregator.AverageTuple>
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractPathAggregator<AverageAggregator.AverageTuple>
IOException
ClassNotFoundException
Copyright © GigaSpaces.