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

java.lang.Object
  extended by com.espertech.esper.epl.table.strategy.ExprTableEvalStrategyGroupByBase
      extended by com.espertech.esper.epl.table.strategy.ExprTableEvalStrategyGroupByTopLevelBase
All Implemented Interfaces:
ExprTableAccessEvalStrategy
Direct Known Subclasses:
ExprTableEvalStrategyGroupByTopLevelMulti, ExprTableEvalStrategyGroupByTopLevelSingle

public abstract class ExprTableEvalStrategyGroupByTopLevelBase
extends ExprTableEvalStrategyGroupByBase
implements ExprTableAccessEvalStrategy


Field Summary
 
Fields inherited from class com.espertech.esper.epl.table.strategy.ExprTableEvalStrategyGroupByBase
aggregationState
 
Constructor Summary
protected ExprTableEvalStrategyGroupByTopLevelBase(java.util.concurrent.locks.Lock lock, java.util.Map<java.lang.Object,ObjectArrayBackedEventBean> aggregationState, java.util.Map<java.lang.String,TableMetadataColumn> items)
           
 
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, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
           
protected  java.lang.Object[] evaluateTypableSingleInternal(java.lang.Object groupKey, 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, evaluateTypableSingle
 

Constructor Detail

ExprTableEvalStrategyGroupByTopLevelBase

protected ExprTableEvalStrategyGroupByTopLevelBase(java.util.concurrent.locks.Lock lock,
                                                   java.util.Map<java.lang.Object,ObjectArrayBackedEventBean> aggregationState,
                                                   java.util.Map<java.lang.String,TableMetadataColumn> items)
Method Detail

evaluateInternal

protected java.lang.Object evaluateInternal(java.lang.Object groupKey,
                                            EventBean[] eventsPerStream,
                                            boolean isNewData,
                                            ExprEvaluatorContext context)

evaluateTypableSingleInternal

protected java.lang.Object[] evaluateTypableSingleInternal(java.lang.Object groupKey,
                                                           EventBean[] eventsPerStream,
                                                           boolean isNewData,
                                                           ExprEvaluatorContext context)

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