com.espertech.esper.epl.agg.aggregator
Class AggregatorMinMaxFilter

java.lang.Object
  extended by com.espertech.esper.epl.agg.aggregator.AggregatorMinMax
      extended by com.espertech.esper.epl.agg.aggregator.AggregatorMinMaxFilter
All Implemented Interfaces:
AggregationMethod

public class AggregatorMinMaxFilter
extends AggregatorMinMax

Min/max aggregator for all values.


Field Summary
 
Fields inherited from class com.espertech.esper.epl.agg.aggregator.AggregatorMinMax
minMaxTypeEnum, refSet, returnType
 
Constructor Summary
AggregatorMinMaxFilter(MinMaxTypeEnum minMaxTypeEnum, java.lang.Class returnType)
           
 
Method Summary
 void enter(java.lang.Object parameters)
          Apply the value as entering aggregation (entering window).
 void leave(java.lang.Object parameters)
          Apply the value as leaving aggregation (leaving window).
 
Methods inherited from class com.espertech.esper.epl.agg.aggregator.AggregatorMinMax
clear, getRefSet, getValue, getValueType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatorMinMaxFilter

public AggregatorMinMaxFilter(MinMaxTypeEnum minMaxTypeEnum,
                              java.lang.Class returnType)
Method Detail

enter

public void enter(java.lang.Object parameters)
Description copied from interface: AggregationMethod
Apply the value as entering aggregation (entering window).

The value can be null since 'null' values may be counted as unique separate values.

Specified by:
enter in interface AggregationMethod
Overrides:
enter in class AggregatorMinMax
Parameters:
parameters - to add to aggregate

leave

public void leave(java.lang.Object parameters)
Description copied from interface: AggregationMethod
Apply the value as leaving aggregation (leaving window).

The value can be null since 'null' values may be counted as unique separate values.

Specified by:
leave in interface AggregationMethod
Overrides:
leave in class AggregatorMinMax
Parameters:
parameters - to remove from aggregate

© 2006-2014 EsperTech Inc.
All rights reserved.
Visit us at espertech.com