|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.expression.ExprMinMaxAggrNode.MinMaxAggregator
public static class ExprMinMaxAggrNode.MinMaxAggregator
Min/max aggregator for all values.
Constructor Summary | |
---|---|
ExprMinMaxAggrNode.MinMaxAggregator(MinMaxTypeEnum minMaxTypeEnum,
java.lang.Class returnType)
Ctor. |
Method Summary | |
---|---|
void |
enter(java.lang.Object object)
Apply the value as entering aggregation (entering window). |
java.lang.Object |
getValue()
Returns the current value held. |
java.lang.Class |
getValueType()
Returns the type of the current value. |
void |
leave(java.lang.Object object)
Apply the value as leaving aggregation (leaving window). |
Aggregator |
newAggregator()
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 ExprMinMaxAggrNode.MinMaxAggregator(MinMaxTypeEnum minMaxTypeEnum, java.lang.Class returnType)
minMaxTypeEnum
- - enum indicating to return minimum or maximum valuesreturnType
- - is the value type returned by aggregatorMethod Detail |
---|
public void enter(java.lang.Object object)
Aggregator
The value can be null since 'null' values may be counted as unique separate values.
enter
in interface Aggregator
object
- to add to aggregatepublic void leave(java.lang.Object object)
Aggregator
The value can be null since 'null' values may be counted as unique separate values.
leave
in interface Aggregator
object
- to remove from aggregatepublic java.lang.Object getValue()
Aggregator
getValue
in interface Aggregator
public java.lang.Class getValueType()
Aggregator
getValueType
in interface Aggregator
public Aggregator newAggregator()
Aggregator
newAggregator
in interface Aggregator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |