com.espertech.esper.epl.expression.dot
Class ExprDotNodeUtility

java.lang.Object
  extended by com.espertech.esper.epl.expression.dot.ExprDotNodeUtility

public class ExprDotNodeUtility
extends java.lang.Object


Constructor Summary
ExprDotNodeUtility()
           
 
Method Summary
static java.lang.Object evaluateChain(ExprDotEval[] evaluators, java.lang.Object inner, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
           
static java.lang.Object evaluateChainWithWrap(ExprDotStaticMethodWrap resultWrapLambda, java.lang.Object result, EventType optionalResultSingleEventType, java.lang.Class resultType, ExprDotEval[] chainEval, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext)
           
static ExprDotNodeRealizedChain getChainEvaluators(java.lang.Integer streamOfProviderIfApplicable, EPType inputType, java.util.List<ExprChainedSpec> chainSpec, ExprValidationContext validationContext, boolean isDuckTyping, ExprDotNodeFilterAnalyzerInput inputDesc)
           
static ExprDotEnumerationSource getEnumerationSource(ExprNode inputExpression, StreamTypeService streamTypeService, EventAdapterService eventAdapterService, java.lang.String statementId, boolean hasEnumerationMethod, boolean disablePropertyExpressionEventCollCache)
           
static ExprDotEnumerationSourceForProps getPropertyEnumerationSource(java.lang.String propertyName, int streamId, EventType streamType, boolean allowEnumType, boolean disablePropertyExpressionEventCollCache)
           
static EventType[] getSingleLambdaParamEventType(java.lang.String enumMethodUsedName, java.util.List<java.lang.String> goesToNames, EventType inputEventType, java.lang.Class collectionComponentType, EventAdapterService eventAdapterService)
           
static boolean isDatetimeOrEnumMethod(java.lang.String name)
           
static ObjectArrayEventType makeTransientOAType(java.lang.String enumMethod, java.lang.String propertyName, java.lang.Class type, EventAdapterService eventAdapterService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprDotNodeUtility

public ExprDotNodeUtility()
Method Detail

isDatetimeOrEnumMethod

public static boolean isDatetimeOrEnumMethod(java.lang.String name)

getChainEvaluators

public static ExprDotNodeRealizedChain getChainEvaluators(java.lang.Integer streamOfProviderIfApplicable,
                                                          EPType inputType,
                                                          java.util.List<ExprChainedSpec> chainSpec,
                                                          ExprValidationContext validationContext,
                                                          boolean isDuckTyping,
                                                          ExprDotNodeFilterAnalyzerInput inputDesc)
                                                   throws ExprValidationException
Throws:
ExprValidationException

makeTransientOAType

public static ObjectArrayEventType makeTransientOAType(java.lang.String enumMethod,
                                                       java.lang.String propertyName,
                                                       java.lang.Class type,
                                                       EventAdapterService eventAdapterService)

getSingleLambdaParamEventType

public static EventType[] getSingleLambdaParamEventType(java.lang.String enumMethodUsedName,
                                                        java.util.List<java.lang.String> goesToNames,
                                                        EventType inputEventType,
                                                        java.lang.Class collectionComponentType,
                                                        EventAdapterService eventAdapterService)

evaluateChain

public static java.lang.Object evaluateChain(ExprDotEval[] evaluators,
                                             java.lang.Object inner,
                                             EventBean[] eventsPerStream,
                                             boolean isNewData,
                                             ExprEvaluatorContext context)

evaluateChainWithWrap

public static java.lang.Object evaluateChainWithWrap(ExprDotStaticMethodWrap resultWrapLambda,
                                                     java.lang.Object result,
                                                     EventType optionalResultSingleEventType,
                                                     java.lang.Class resultType,
                                                     ExprDotEval[] chainEval,
                                                     EventBean[] eventsPerStream,
                                                     boolean newData,
                                                     ExprEvaluatorContext exprEvaluatorContext)

getEnumerationSource

public static ExprDotEnumerationSource getEnumerationSource(ExprNode inputExpression,
                                                            StreamTypeService streamTypeService,
                                                            EventAdapterService eventAdapterService,
                                                            java.lang.String statementId,
                                                            boolean hasEnumerationMethod,
                                                            boolean disablePropertyExpressionEventCollCache)
                                                     throws ExprValidationException
Throws:
ExprValidationException

getPropertyEnumerationSource

public static ExprDotEnumerationSourceForProps getPropertyEnumerationSource(java.lang.String propertyName,
                                                                            int streamId,
                                                                            EventType streamType,
                                                                            boolean allowEnumType,
                                                                            boolean disablePropertyExpressionEventCollCache)

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