com.gigaspaces.query.aggregators
Class AverageAggregator.AverageTuple
java.lang.Object
com.gigaspaces.query.aggregators.AverageAggregator.AverageTuple
- All Implemented Interfaces:
- Externalizable, Serializable
- Enclosing class:
- AverageAggregator
public static class AverageAggregator.AverageTuple
- extends Object
- implements Externalizable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AverageAggregator.AverageTuple
public AverageAggregator.AverageTuple()
AverageAggregator.AverageTuple
public AverageAggregator.AverageTuple(Number sum)
add
public AverageAggregator.AverageTuple add(Number deltaSum,
long deltaCount)
getAverage
public Number getAverage()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © GigaSpaces.