com.espertech.esper.plugin
Class PlugInAggregationMultiFunctionStateContext

java.lang.Object
  extended by com.espertech.esper.plugin.PlugInAggregationMultiFunctionStateContext

public class PlugInAggregationMultiFunctionStateContext
extends java.lang.Object

Context for use with PlugInAggregationMultiFunctionStateFactory provides contextual information at the time an aggregation state is allocated.


Constructor Summary
PlugInAggregationMultiFunctionStateContext(int agentInstanceId, java.lang.Object groupKey)
          Ctor.
 
Method Summary
 int getAgentInstanceId()
          Returns the agent instance id.
 java.lang.Object getGroupKey()
          Returns the group key or null if no group-by criteria are defined
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlugInAggregationMultiFunctionStateContext

public PlugInAggregationMultiFunctionStateContext(int agentInstanceId,
                                                  java.lang.Object groupKey)
Ctor.

Parameters:
agentInstanceId - agent instance id
groupKey - group key, or null if there are no group-by criteria
Method Detail

getAgentInstanceId

public int getAgentInstanceId()
Returns the agent instance id.

Returns:
context partition id

getGroupKey

public java.lang.Object getGroupKey()
Returns the group key or null if no group-by criteria are defined

Returns:
group key

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