com.espertech.esper.epl.enummethod.dot
Class ExprDotEvalEnumMethodBase

java.lang.Object
  extended by com.espertech.esper.epl.enummethod.dot.ExprDotEvalEnumMethodBase
All Implemented Interfaces:
ExpressionResultCacheStackEntry, ExprDotEvalEnumMethod, ExprDotEval
Direct Known Subclasses:
ExprDotEvalAggregate, ExprDotEvalAllOfAnyOf, ExprDotEvalAverage, ExprDotEvalCountOf, ExprDotEvalDistinct, ExprDotEvalFirstLastOf, ExprDotEvalGroupBy, ExprDotEvalMinByMaxBy, ExprDotEvalMinMax, ExprDotEvalMostLeastFrequent, ExprDotEvalNoOp, ExprDotEvalOrderByAscDesc, ExprDotEvalReverse, ExprDotEvalSelectFrom, ExprDotEvalSequenceEqual, ExprDotEvalSetExceptUnionIntersect, ExprDotEvalSumOf, ExprDotEvalTakeAndTakeLast, ExprDotEvalTakeWhileAndLast, ExprDotEvalToMap, ExprDotEvalWhere

public abstract class ExprDotEvalEnumMethodBase
extends java.lang.Object
implements ExprDotEvalEnumMethod, ExpressionResultCacheStackEntry


Constructor Summary
protected ExprDotEvalEnumMethodBase()
           
 
Method Summary
 java.lang.Object evaluate(java.lang.Object target, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext)
           
abstract  EventType[] getAddStreamTypes(java.lang.String enumMethodUsedName, java.util.List<java.lang.String> goesToNames, EventType inputEventType, java.lang.Class collectionComponentType, java.util.List<ExprDotEvalParam> bodiesAndParameters, EventAdapterService eventAdapterService)
           
abstract  EnumEval getEnumEval(MethodResolutionService methodResolutionService, EventAdapterService eventAdapterService, StreamTypeService streamTypeService, java.lang.String statementId, java.lang.String enumMethodUsedName, java.util.List<ExprDotEvalParam> bodiesAndParameters, EventType inputEventType, java.lang.Class collectionComponentType, int numStreamsIncoming, boolean disablePropertyExpressionEventCollCache)
           
 EnumMethodEnum getEnumMethodEnum()
           
 EPType getTypeInfo()
           
 void init(java.lang.Integer streamOfProviderIfApplicable, EnumMethodEnum enumMethodEnum, java.lang.String enumMethodUsedName, EPType typeInfo, java.util.List<ExprNode> parameters, ExprValidationContext validationContext)
           
 void setTypeInfo(EPType typeInfo)
           
 java.lang.String toString()
           
 void visit(ExprDotEvalVisitor visitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExprDotEvalEnumMethodBase

protected ExprDotEvalEnumMethodBase()
Method Detail

getAddStreamTypes

public abstract EventType[] getAddStreamTypes(java.lang.String enumMethodUsedName,
                                              java.util.List<java.lang.String> goesToNames,
                                              EventType inputEventType,
                                              java.lang.Class collectionComponentType,
                                              java.util.List<ExprDotEvalParam> bodiesAndParameters,
                                              EventAdapterService eventAdapterService)

getEnumEval

public abstract EnumEval getEnumEval(MethodResolutionService methodResolutionService,
                                     EventAdapterService eventAdapterService,
                                     StreamTypeService streamTypeService,
                                     java.lang.String statementId,
                                     java.lang.String enumMethodUsedName,
                                     java.util.List<ExprDotEvalParam> bodiesAndParameters,
                                     EventType inputEventType,
                                     java.lang.Class collectionComponentType,
                                     int numStreamsIncoming,
                                     boolean disablePropertyExpressionEventCollCache)
                              throws ExprValidationException
Throws:
ExprValidationException

getEnumMethodEnum

public EnumMethodEnum getEnumMethodEnum()

visit

public void visit(ExprDotEvalVisitor visitor)
Specified by:
visit in interface ExprDotEval

init

public void init(java.lang.Integer streamOfProviderIfApplicable,
                 EnumMethodEnum enumMethodEnum,
                 java.lang.String enumMethodUsedName,
                 EPType typeInfo,
                 java.util.List<ExprNode> parameters,
                 ExprValidationContext validationContext)
          throws ExprValidationException
Specified by:
init in interface ExprDotEvalEnumMethod
Throws:
ExprValidationException

setTypeInfo

public void setTypeInfo(EPType typeInfo)

getTypeInfo

public EPType getTypeInfo()
Specified by:
getTypeInfo in interface ExprDotEval

evaluate

public java.lang.Object evaluate(java.lang.Object target,
                                 EventBean[] eventsPerStream,
                                 boolean isNewData,
                                 ExprEvaluatorContext exprEvaluatorContext)
Specified by:
evaluate in interface ExprDotEval

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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