Class PropertyDotNonLambdaFragmentForge
java.lang.Object
com.espertech.esper.common.internal.epl.enummethod.dot.PropertyDotNonLambdaFragmentForge
- All Implemented Interfaces:
ExprEvaluator
,ExprForge
,ExprNodeRenderable
public class PropertyDotNonLambdaFragmentForge
extends Object
implements ExprForge, ExprEvaluator, ExprNodeRenderable
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator
EPTYPE, EPTYPEARRAY
-
Constructor Summary
ConstructorDescriptionPropertyDotNonLambdaFragmentForge
(int streamId, EventPropertyGetterSPI getter, boolean array) -
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) void
toEPL
(StringWriter writer, ExprPrecedenceEnum parentPrecedence, ExprNodeRenderableFlags flags)
-
Constructor Details
-
PropertyDotNonLambdaFragmentForge
public PropertyDotNonLambdaFragmentForge(int streamId, EventPropertyGetterSPI getter, boolean array)
-
-
Method Details
-
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.
-
evaluateCodegen
public CodegenExpression evaluateCodegen(EPTypeClass requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
evaluateCodegen
in interfaceExprForge
-
getForgeRenderable
- Specified by:
getForgeRenderable
in interfaceExprForge
-
toEPL
public void toEPL(StringWriter writer, ExprPrecedenceEnum parentPrecedence, ExprNodeRenderableFlags flags) - Specified by:
toEPL
in interfaceExprNodeRenderable
-