public class ExprSubstitutionNode extends ExprNodeBase implements ExprForge, ExprNodeDeployTimeConst
Constructor and Description |
---|
ExprSubstitutionNode(String optionalName,
ClassDescriptor optionalType) |
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, checkValidated, checkValidatedException, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
public ExprSubstitutionNode(String optionalName, ClassDescriptor optionalType)
public ExprNode validate(ExprValidationContext validationContext) throws ExprValidationException
validate
in interface ExprValidator
ExprValidationException
public String getOptionalName()
public Object evaluate(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext)
public ExprEvaluator getExprEvaluator()
getExprEvaluator
in interface ExprForge
public 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 propertiespublic CodegenExpression evaluateCodegen(EPTypeClass requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
evaluateCodegen
in interface ExprForge
public CodegenExpression codegenGetDeployTimeConstValue(CodegenClassScope classScope)
codegenGetDeployTimeConstValue
in interface ExprNodeDeployTimeConst
public EPTypeClass getEvaluationType()
getEvaluationType
in interface ExprForge
public ExprForgeConstantType getForgeConstantType()
getForgeConstantType
in interface ExprForge
public ExprNodeRenderable getForgeRenderable()
getForgeRenderable
in interface ExprForge
public ClassDescriptor getOptionalType()
public EPTypeClass getResolvedType()
public void renderForFilterPlan(StringBuilder out)
renderForFilterPlan
in interface ExprNodeDeployTimeConst
Copyright © 2005–2021. All rights reserved.