Class ExprNewStructNodeForge
java.lang.Object
com.espertech.esper.common.internal.epl.expression.ops.ExprNewStructNodeForge
- All Implemented Interfaces:
ExprForge
,ExprForgeInstrumentable
,ExprTypableReturnForge
public class ExprNewStructNodeForge
extends Object
implements ExprTypableReturnForge, ExprForgeInstrumentable
-
Constructor Summary
ConstructorDescriptionExprNewStructNodeForge
(ExprNewStructNode parent, boolean isAllConstants, LinkedHashMap eventType) -
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.boolean
Return true for multi-row return, return false for return of single row only
-
Constructor Details
-
ExprNewStructNodeForge
public ExprNewStructNodeForge(ExprNewStructNode parent, boolean isAllConstants, LinkedHashMap eventType)
-
-
Method Details
-
getExprEvaluator
- Specified by:
getExprEvaluator
in interfaceExprForge
-
getTypableReturnEvaluator
-
evaluateCodegen
public CodegenExpression evaluateCodegen(EPTypeClass requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
evaluateCodegen
in interfaceExprForge
-
evaluateCodegenUninstrumented
public CodegenExpression evaluateCodegenUninstrumented(EPTypeClass requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
evaluateCodegenUninstrumented
in interfaceExprForgeInstrumentable
-
getEvaluationType
- Specified by:
getEvaluationType
in interfaceExprForge
-
isAllConstants
public boolean isAllConstants() -
getEventType
-
getForgeRenderable
- Specified by:
getForgeRenderable
in interfaceExprForge
-
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
-
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
-
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
-