|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.agg.aggregator.AggregatorMinMaxEver
public class AggregatorMinMaxEver
Min/max aggregator for all values, not considering events leaving the aggregation (i.e. ever).
Field Summary | |
---|---|
protected java.lang.Comparable |
currentMinMax
|
protected MinMaxTypeEnum |
minMaxTypeEnum
|
Constructor Summary | |
---|---|
AggregatorMinMaxEver(MinMaxTypeEnum minMaxTypeEnum)
Ctor. |
Method Summary | |
---|---|
void |
clear()
Clear out the collection. |
void |
enter(java.lang.Object object)
Apply the value as entering aggregation (entering window). |
java.lang.Comparable |
getCurrentMinMax()
|
java.lang.Object |
getValue()
Returns the current value held. |
void |
leave(java.lang.Object object)
Apply the value as leaving aggregation (leaving window). |
void |
setCurrentMinMax(java.lang.Comparable currentMinMax)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final MinMaxTypeEnum minMaxTypeEnum
protected java.lang.Comparable currentMinMax
Constructor Detail |
---|
public AggregatorMinMaxEver(MinMaxTypeEnum minMaxTypeEnum)
minMaxTypeEnum
- - enum indicating to return minimum or maximum valuesMethod Detail |
---|
public void clear()
AggregationMethod
clear
in interface AggregationMethod
public void enter(java.lang.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(java.lang.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 java.lang.Object getValue()
AggregationMethod
getValue
in interface AggregationMethod
public void setCurrentMinMax(java.lang.Comparable currentMinMax)
public java.lang.Comparable getCurrentMinMax()
|
© 2006-2016 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 |