GigaSpaces XAP 10.0.1 API

com.gigaspaces.query.aggregators
Class AverageAggregator.AverageTuple

java.lang.Object
  extended by 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

Constructor Summary
AverageAggregator.AverageTuple()
           
AverageAggregator.AverageTuple(Number sum)
           
 
Method Summary
 AverageAggregator.AverageTuple add(Number deltaSum, long deltaCount)
           
 Number getAverage()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AverageAggregator.AverageTuple

public AverageAggregator.AverageTuple()

AverageAggregator.AverageTuple

public AverageAggregator.AverageTuple(Number sum)
Method Detail

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

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.