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

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

public class AggregatorSumDoubleFilter
extends AggregatorSumDouble

Sum for double values.


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

Constructor Detail

AggregatorSumDoubleFilter

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

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