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

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

public class AggregatorAvgFilter
extends AggregatorAvg

Average that generates double-typed numbers.


Field Summary
 
Fields inherited from class com.espertech.esper.epl.agg.aggregator.AggregatorAvg
numDataPoints, sum
 
Constructor Summary
AggregatorAvgFilter()
           
 
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.AggregatorAvg
clear, getValue, getValueType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatorAvgFilter

public AggregatorAvgFilter()
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 AggregatorAvg
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 AggregatorAvg
Parameters:
parameters - to remove from aggregate

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