GigaSpaces XAP 10.0.1 API

com.gigaspaces.query.aggregators
Class AverageAggregator

java.lang.Object
  extended by com.gigaspaces.query.aggregators.SpaceEntriesAggregator<T>
      extended by com.gigaspaces.query.aggregators.AbstractPathAggregator<AverageAggregator.AverageTuple>
          extended by com.gigaspaces.query.aggregators.AverageAggregator
All Implemented Interfaces:
Externalizable, Serializable, Cloneable

public class AverageAggregator
extends AbstractPathAggregator<AverageAggregator.AverageTuple>

Since:
10.0
Author:
Niv Ingberg
See Also:
Serialized Form

Nested Class Summary
static class AverageAggregator.AverageTuple
           
 
Constructor Summary
AverageAggregator()
           
 
Method Summary
 void aggregate(SpaceEntriesAggregatorContext context)
           
 void aggregateIntermediateResult(AverageAggregator.AverageTuple partitionResult)
           
 String getDefaultAlias()
           
 Object getFinalResult()
           
 AverageAggregator.AverageTuple getIntermediateResult()
           
 
Methods inherited from class com.gigaspaces.query.aggregators.AbstractPathAggregator
getPath, getPathValue, readExternal, setPath, writeExternal
 
Methods inherited from class com.gigaspaces.query.aggregators.SpaceEntriesAggregator
as, clone, getAlias, setRawEntryConverter, toObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AverageAggregator

public AverageAggregator()
Method Detail

getDefaultAlias

public String getDefaultAlias()
Specified by:
getDefaultAlias in class SpaceEntriesAggregator<AverageAggregator.AverageTuple>

aggregate

public void aggregate(SpaceEntriesAggregatorContext context)
Specified by:
aggregate in class SpaceEntriesAggregator<AverageAggregator.AverageTuple>

aggregateIntermediateResult

public void aggregateIntermediateResult(AverageAggregator.AverageTuple partitionResult)
Specified by:
aggregateIntermediateResult in class SpaceEntriesAggregator<AverageAggregator.AverageTuple>

getIntermediateResult

public AverageAggregator.AverageTuple getIntermediateResult()
Specified by:
getIntermediateResult in class SpaceEntriesAggregator<AverageAggregator.AverageTuple>

getFinalResult

public Object getFinalResult()
Overrides:
getFinalResult in class SpaceEntriesAggregator<AverageAggregator.AverageTuple>

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.