public class ExprSubstitutionNode extends ExprNodeBase implements ExprForge, ExprNodeDeployTimeConst
Constructor and Description |
---|
ExprSubstitutionNode(String optionalName,
ClassIdentifierWArray optionalType) |
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, checkValidated, checkValidatedException, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
public ExprSubstitutionNode(String optionalName, ClassIdentifierWArray 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)
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(Class requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
evaluateCodegen
in interface ExprForge
public CodegenExpression codegenGetDeployTimeConstValue(CodegenClassScope classScope)
codegenGetDeployTimeConstValue
in interface ExprNodeDeployTimeConst
public Class getEvaluationType()
getEvaluationType
in interface ExprForge
public ExprForgeConstantType getForgeConstantType()
getForgeConstantType
in interface ExprForge
public ExprNodeRenderable getForgeRenderable()
getForgeRenderable
in interface ExprForge
public ClassIdentifierWArray getOptionalType()
public Class getResolvedType()
Copyright © 2005–2018. All rights reserved.