public class ExprCurrentEvaluationContextNode extends ExprNodeBase implements ExprEvaluator, ExprForge
EPTYPE, EPTYPEARRAY
Constructor and Description |
---|
ExprCurrentEvaluationContextNode()
Ctor.
|
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, checkValidated, checkValidatedException, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
public ExprEvaluator getExprEvaluator()
getExprEvaluator
in interface ExprForge
public ExprNodeRenderable getForgeRenderable()
getForgeRenderable
in interface ExprForge
public CodegenExpression evaluateCodegen(EPTypeClass requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
evaluateCodegen
in interface ExprForge
public ExprForgeConstantType getForgeConstantType()
getForgeConstantType
in interface ExprForge
public EPTypeClass getEvaluationType()
getEvaluationType
in interface ExprForge
public ExprNode validate(ExprValidationContext validationContext) throws ExprValidationException
validate
in interface ExprValidator
ExprValidationException
public boolean isConstantResult()
public Object evaluate(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext)
ExprEvaluator
evaluate
in interface ExprEvaluator
eventsPerStream
- - event tupleisNewData
- - indicates whether we are dealing with new data (istream) or old data (rstream)exprEvaluatorContext
- context for expression evaluationpublic static EPLExpressionEvaluationContext exprCurrentEvaluationContextMake(ExprEvaluatorContext exprEvaluatorContext)
exprEvaluatorContext
- ctxpublic void toPrecedenceFreeEPL(StringWriter writer, ExprNodeRenderableFlags flags)
toPrecedenceFreeEPL
in class ExprNodeBase
public ExprPrecedenceEnum getPrecedence()
ExprNode
getPrecedence
in interface ExprNode
public boolean equalsNode(ExprNode node, boolean ignoreStreamPrefix)
ExprNode
Concrete implementations should compare the type and any additional information that impact the evaluation of a node.
equalsNode
in interface ExprNode
node
- to compare toignoreStreamPrefix
- when the equals-comparison can ignore prefix of event propertiesCopyright © 2005–2021. All rights reserved.