|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.agg.NumIntegerSumAggregator
public class NumIntegerSumAggregator
Sum for any number value.
Constructor Summary | |
---|---|
NumIntegerSumAggregator()
|
Method Summary | |
---|---|
void |
clear()
Clear out the collection. |
void |
enter(Object object)
Apply the value as entering aggregation (entering window). |
Object |
getValue()
Returns the current value held. |
Class |
getValueType()
Returns the type of the current value. |
void |
leave(Object object)
Apply the value as leaving aggregation (leaving window). |
AggregationMethod |
newAggregator(MethodResolutionService methodResolutionService)
Make a new, initalized aggregation state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumIntegerSumAggregator()
Method Detail |
---|
public void clear()
AggregationMethod
clear
in interface AggregationMethod
public void enter(Object object)
AggregationMethod
The value can be null since 'null' values may be counted as unique separate values.
enter
in interface AggregationMethod
object
- to add to aggregatepublic void leave(Object object)
AggregationMethod
The value can be null since 'null' values may be counted as unique separate values.
leave
in interface AggregationMethod
object
- to remove from aggregatepublic Object getValue()
AggregationMethod
getValue
in interface AggregationMethod
public Class getValueType()
AggregationMethod
getValueType
in interface AggregationMethod
public AggregationMethod newAggregator(MethodResolutionService methodResolutionService)
AggregationMethod
newAggregator
in interface AggregationMethod
methodResolutionService
- for use in creating new aggregation method instances as a factory
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |