com.espertech.esper.plugin
Interface PlugInAggregationMultiFunctionStateFactory


public interface PlugInAggregationMultiFunctionStateFactory

State factory responsible for allocating a state object for each group when used with group-by.


Method Summary
 AggregationState makeAggregationState(PlugInAggregationMultiFunctionStateContext stateContext)
          Return a new aggregation state holder for a given group (or ungrouped if there is no group-by).
 

Method Detail

makeAggregationState

AggregationState makeAggregationState(PlugInAggregationMultiFunctionStateContext stateContext)
Return a new aggregation state holder for a given group (or ungrouped if there is no group-by).

Parameters:
stateContext - context includes group key
Returns:
state holder, cannot be a null value

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