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

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

public class AggregatorSumLongFilter
extends AggregatorSumLong

Sum for long values.


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

Constructor Detail

AggregatorSumLongFilter

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

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