com.espertech.esper.epl.table.strategy
Class ExprTableEvalStrategyGroupByMethodBase

java.lang.Object
  extended by com.espertech.esper.epl.table.strategy.ExprTableEvalStrategyGroupByBase
      extended by com.espertech.esper.epl.table.strategy.ExprTableEvalStrategyGroupByMethodBase
All Implemented Interfaces:
ExprTableAccessEvalStrategy
Direct Known Subclasses:
ExprTableEvalStrategyGroupByMethodMulti, ExprTableEvalStrategyGroupByMethodSingle

public abstract class ExprTableEvalStrategyGroupByMethodBase
extends ExprTableEvalStrategyGroupByBase
implements ExprTableAccessEvalStrategy


Field Summary
 
Fields inherited from class com.espertech.esper.epl.table.strategy.ExprTableEvalStrategyGroupByBase
aggregationState
 
Constructor Summary
protected ExprTableEvalStrategyGroupByMethodBase(java.util.concurrent.locks.Lock lock, java.util.Map<java.lang.Object,ObjectArrayBackedEventBean> aggregationState, int index)
           
 
Method Summary
 EventBean evaluateGetEventBean(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
           
 java.util.Collection<EventBean> evaluateGetROCollectionEvents(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
           
 java.util.Collection evaluateGetROCollectionScalar(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
           
protected  java.lang.Object evaluateInternal(java.lang.Object groupKey, ExprEvaluatorContext context)
           
 java.lang.Object[] evaluateTypableSingle(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
           
 
Methods inherited from class com.espertech.esper.epl.table.strategy.ExprTableEvalStrategyGroupByBase
lockTableRead, lockTableReadAndGet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.espertech.esper.epl.expression.table.ExprTableAccessEvalStrategy
evaluate
 

Constructor Detail

ExprTableEvalStrategyGroupByMethodBase

protected ExprTableEvalStrategyGroupByMethodBase(java.util.concurrent.locks.Lock lock,
                                                 java.util.Map<java.lang.Object,ObjectArrayBackedEventBean> aggregationState,
                                                 int index)
Method Detail

evaluateInternal

protected java.lang.Object evaluateInternal(java.lang.Object groupKey,
                                            ExprEvaluatorContext context)

evaluateTypableSingle

public java.lang.Object[] evaluateTypableSingle(EventBean[] eventsPerStream,
                                                boolean isNewData,
                                                ExprEvaluatorContext context)
Specified by:
evaluateTypableSingle in interface ExprTableAccessEvalStrategy

evaluateGetROCollectionEvents

public java.util.Collection<EventBean> evaluateGetROCollectionEvents(EventBean[] eventsPerStream,
                                                                     boolean isNewData,
                                                                     ExprEvaluatorContext context)
Specified by:
evaluateGetROCollectionEvents in interface ExprTableAccessEvalStrategy

evaluateGetEventBean

public EventBean evaluateGetEventBean(EventBean[] eventsPerStream,
                                      boolean isNewData,
                                      ExprEvaluatorContext context)
Specified by:
evaluateGetEventBean in interface ExprTableAccessEvalStrategy

evaluateGetROCollectionScalar

public java.util.Collection evaluateGetROCollectionScalar(EventBean[] eventsPerStream,
                                                          boolean isNewData,
                                                          ExprEvaluatorContext context)
Specified by:
evaluateGetROCollectionScalar in interface ExprTableAccessEvalStrategy

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