Class ExprCaseNodeForge
java.lang.Object
com.espertech.esper.common.internal.epl.expression.funcs.ExprCaseNodeForge
- All Implemented Interfaces:
ExprForge
,ExprForgeInstrumentable
,ExprTypableReturnForge
public class ExprCaseNodeForge
extends Object
implements ExprTypableReturnForge, ExprForgeInstrumentable
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionevaluateCodegen
(EPTypeClass requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) evaluateCodegenUninstrumented
(EPTypeClass requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) evaluateTypableMultiCodegen
(CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) evaluateTypableSingleCodegen
(CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) Return null to indicate no row-type result available, or a map of property names and types to indicate a row-type result is available.Return true for multi-row return, return false for return of single row onlyboolean
-
Field Details
-
mapResultType
-
-
Method Details
-
getWhenThenNodeList
-
getOptionalCompareExprNode
-
getOptionalElseExprNode
-
getForgeRenderable
- Specified by:
getForgeRenderable
in interfaceExprForge
-
getEvaluationType
- Specified by:
getEvaluationType
in interfaceExprForge
-
isMustCoerce
public boolean isMustCoerce() -
getCoercer
-
getExprEvaluator
- Specified by:
getExprEvaluator
in interfaceExprForge
-
getTypableReturnEvaluator
-
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
-
evaluateTypableSingleCodegen
public CodegenExpression evaluateTypableSingleCodegen(CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
evaluateTypableSingleCodegen
in interfaceExprTypableReturnForge
-
evaluateTypableMultiCodegen
public CodegenExpression evaluateTypableMultiCodegen(CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
evaluateTypableMultiCodegen
in interfaceExprTypableReturnForge
-
getForgeConstantType
- Specified by:
getForgeConstantType
in interfaceExprForge
-
isMultirow
Description copied from interface:ExprTypableReturnForge
Return true for multi-row return, return false for return of single row only- Specified by:
isMultirow
in interfaceExprTypableReturnForge
- Returns:
- multi-row flag
-
getRowProperties
Description copied from interface:ExprTypableReturnForge
Return null to indicate no row-type result available, or a map of property names and types to indicate a row-type result is available.- Specified by:
getRowProperties
in interfaceExprTypableReturnForge
- Returns:
- map of property names and types or null
- Throws:
ExprValidationException
- if the expression is invalid
-