Class ExprPlugInSingleRowNodeForgeConst
java.lang.Object
com.espertech.esper.common.internal.epl.expression.funcs.ExprPlugInSingleRowNodeForge
com.espertech.esper.common.internal.epl.expression.funcs.ExprPlugInSingleRowNodeForgeConst
- All Implemented Interfaces:
ExprEvaluator
,ExprEventEvaluatorForge
,ExprForge
,ExprForgeInstrumentable
public class ExprPlugInSingleRowNodeForgeConst
extends ExprPlugInSingleRowNodeForge
implements ExprEvaluator
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator
EPTYPE, EPTYPEARRAY
-
Constructor Summary
ConstructorDescriptionExprPlugInSingleRowNodeForgeConst
(ExprPlugInSingleRowNode parent, ExprDotNodeForgeStaticMethod inner) -
Method Summary
Modifier and TypeMethodDescriptionevaluate
(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) Evaluate event tuple and return result.evaluateCodegen
(EPTypeClass requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) evaluateCodegenUninstrumented
(EPTypeClass requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) eventBeanWithCtxGet
(CodegenExpression beanExpression, CodegenExpression ctxExpression, CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope) boolean
Methods inherited from class com.espertech.esper.common.internal.epl.expression.funcs.ExprPlugInSingleRowNodeForge
getForgeRenderable, getMethodAsParams, isHasMethodInvocationContextParam, isReturnsConstantResult
-
Constructor Details
-
ExprPlugInSingleRowNodeForgeConst
public ExprPlugInSingleRowNodeForgeConst(ExprPlugInSingleRowNode parent, ExprDotNodeForgeStaticMethod inner)
-
-
Method Details
-
getMethod
- Specified by:
getMethod
in classExprPlugInSingleRowNodeForge
-
getExprEvaluator
- Specified by:
getExprEvaluator
in interfaceExprForge
-
getEvaluationType
- Specified by:
getEvaluationType
in interfaceExprForge
-
getForgeConstantType
- Specified by:
getForgeConstantType
in interfaceExprForge
-
evaluate
public Object evaluate(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) Description copied from interface:ExprEvaluator
Evaluate event tuple and return result.- Specified by:
evaluate
in interfaceExprEvaluator
- Parameters:
eventsPerStream
- - event tupleisNewData
- - indicates whether we are dealing with new data (istream) or old data (rstream)context
- context for expression evaluation- Returns:
- evaluation result, a boolean value for OR/AND-type evalution nodes.
-
evaluateCodegenUninstrumented
public CodegenExpression evaluateCodegenUninstrumented(EPTypeClass requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
evaluateCodegenUninstrumented
in interfaceExprForgeInstrumentable
-
evaluateCodegen
public CodegenExpression evaluateCodegen(EPTypeClass requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
evaluateCodegen
in interfaceExprForge
-
eventBeanWithCtxGet
public CodegenExpression eventBeanWithCtxGet(CodegenExpression beanExpression, CodegenExpression ctxExpression, CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope) - Specified by:
eventBeanWithCtxGet
in interfaceExprEventEvaluatorForge
-
isLocalInlinedClass
public boolean isLocalInlinedClass()- Specified by:
isLocalInlinedClass
in classExprPlugInSingleRowNodeForge
-