com.espertech.esper.epl.agg.service
Class AggregationMethodPairRow

java.lang.Object
  extended by com.espertech.esper.epl.agg.service.AggregationMethodPairRow

public class AggregationMethodPairRow
extends java.lang.Object

A row in aggregation state.


Constructor Summary
AggregationMethodPairRow(long refcount, AggregationMethod[] methods, AggregationState[] states)
          Ctor.
 
Method Summary
 void decreaseRefcount()
          Decrease number of data points by one.
 AggregationMethod[] getMethods()
          Returns aggregation state.
 long getRefcount()
          Returns number of data points.
 AggregationState[] getStates()
          Returns the states for first/last/window aggregation functions.
 void increaseRefcount()
          Increase number of data points by one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregationMethodPairRow

public AggregationMethodPairRow(long refcount,
                                AggregationMethod[] methods,
                                AggregationState[] states)
Ctor.

Parameters:
refcount - number of items in state
methods - aggregations
states - for first/last/window type access
Method Detail

getRefcount

public long getRefcount()
Returns number of data points.

Returns:
data points

getMethods

public AggregationMethod[] getMethods()
Returns aggregation state.

Returns:
state

increaseRefcount

public void increaseRefcount()
Increase number of data points by one.


decreaseRefcount

public void decreaseRefcount()
Decrease number of data points by one.


getStates

public AggregationState[] getStates()
Returns the states for first/last/window aggregation functions.

Returns:
states

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