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

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

public class AggregationMethodRowAged
extends java.lang.Object

A row in aggregation state, with aging information.


Constructor Summary
AggregationMethodRowAged(long refcount, long lastUpdateTime, AggregationMethod[] methods, AggregationState[] states)
          Ctor.
 
Method Summary
 void decreaseRefcount()
          Decrease number of data points by one.
 long getLastUpdateTime()
          Returns last upd time.
 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.
 void setLastUpdateTime(long lastUpdateTime)
          Set last update time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregationMethodRowAged

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

Parameters:
lastUpdateTime - time of creation
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

getLastUpdateTime

public long getLastUpdateTime()
Returns last upd time.

Returns:
time

getMethods

public AggregationMethod[] getMethods()
Returns aggregation state.

Returns:
state

setLastUpdateTime

public void setLastUpdateTime(long lastUpdateTime)
Set last update time.

Parameters:
lastUpdateTime - time

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