Class ExprCaseNodeForgeEvalTypable
java.lang.Object
com.espertech.esper.common.internal.epl.expression.funcs.ExprCaseNodeForgeEvalTypable
- All Implemented Interfaces:
ExprEvaluator
,ExprTypableReturnEval
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator
EPTYPE, EPTYPEARRAY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CodegenExpression
codegenTypeableSingle
(ExprCaseNodeForge forge, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) evaluate
(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) Evaluate event tuple and return result.Object[][]
evaluateTypableMulti
(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) Object[]
evaluateTypableSingle
(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
-
Constructor Details
-
ExprCaseNodeForgeEvalTypable
-
-
Method Details
-
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.
-
evaluateTypableSingle
public Object[] evaluateTypableSingle(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
evaluateTypableSingle
in interfaceExprTypableReturnEval
-
codegenTypeableSingle
public static CodegenExpression codegenTypeableSingle(ExprCaseNodeForge forge, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) -
evaluateTypableMulti
public Object[][] evaluateTypableMulti(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
evaluateTypableMulti
in interfaceExprTypableReturnEval
-