GigaSpaces XAP 10.0.1 API

com.gigaspaces.query.aggregators
Class SumAggregator

java.lang.Object
  extended by com.gigaspaces.query.aggregators.SpaceEntriesAggregator<T>
      extended by com.gigaspaces.query.aggregators.AbstractPathAggregator<com.gigaspaces.internal.utils.math.MutableNumber>
          extended by com.gigaspaces.query.aggregators.SumAggregator
All Implemented Interfaces:
Externalizable, Serializable, Cloneable

public class SumAggregator
extends AbstractPathAggregator<com.gigaspaces.internal.utils.math.MutableNumber>

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

Constructor Summary
SumAggregator()
           
 
Method Summary
 void aggregate(SpaceEntriesAggregatorContext context)
           
 void aggregateIntermediateResult(com.gigaspaces.internal.utils.math.MutableNumber partitionResult)
           
 String getDefaultAlias()
           
 Object getFinalResult()
           
 com.gigaspaces.internal.utils.math.MutableNumber 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

SumAggregator

public SumAggregator()
Method Detail

getDefaultAlias

public String getDefaultAlias()
Specified by:
getDefaultAlias in class SpaceEntriesAggregator<com.gigaspaces.internal.utils.math.MutableNumber>

aggregate

public void aggregate(SpaceEntriesAggregatorContext context)
Specified by:
aggregate in class SpaceEntriesAggregator<com.gigaspaces.internal.utils.math.MutableNumber>

getIntermediateResult

public com.gigaspaces.internal.utils.math.MutableNumber getIntermediateResult()
Specified by:
getIntermediateResult in class SpaceEntriesAggregator<com.gigaspaces.internal.utils.math.MutableNumber>

aggregateIntermediateResult

public void aggregateIntermediateResult(com.gigaspaces.internal.utils.math.MutableNumber partitionResult)
Specified by:
aggregateIntermediateResult in class SpaceEntriesAggregator<com.gigaspaces.internal.utils.math.MutableNumber>

getFinalResult

public Object getFinalResult()
Overrides:
getFinalResult in class SpaceEntriesAggregator<com.gigaspaces.internal.utils.math.MutableNumber>

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.