|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.agg.StddevAggregator
public class StddevAggregator
Standard deviation always generates double-typed numbers.
Constructor Summary | |
---|---|
StddevAggregator()
|
Method Summary | |
---|---|
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 StddevAggregator()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |