public class ExprDotNodeImpl extends ExprNodeBase implements ExprDotNode, ExprNodeInnerNodeProvider, ExprStreamRefNode
FILTERINDEX_NAMED_PARAMETER
Constructor and Description |
---|
ExprDotNodeImpl(List<ExprChainedSpec> chainSpec,
boolean isDuckTyping,
boolean isUDFCache) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ExprNodeVisitor visitor)
Accept the visitor.
|
void |
accept(ExprNodeVisitorWithParent visitor)
Accept the visitor.
|
void |
acceptChildnodes(ExprNodeVisitorWithParent visitor,
ExprNode parent)
Accept a visitor that receives both parent and child node.
|
boolean |
equalsNode(ExprNode node,
boolean ignoreStreamPrefix)
Return true if a expression node semantically equals the current node, or false if not.
|
List<ExprNode> |
getAdditionalNodes() |
FilterExprAnalyzerAffector |
getAffector(boolean isOuterJoin) |
List<ExprChainedSpec> |
getChainSpec() |
Map<String,Object> |
getEventType() |
ExprEvaluator |
getExprEvaluator() |
ExprForge |
getForge() |
ExprPrecedenceEnum |
getPrecedence()
Returns precedence.
|
String |
getRootPropertyNameIfAny() |
Integer |
getStreamReferencedIfAny() |
boolean |
isConstantResult()
Returns true if the expression node's evaluation value doesn't depend on any events data,
as must be determined at validation time, which is bottom-up and therefore
reliably allows each node to determine constant value.
|
String |
isVariableOpGetName(VariableService variableService) |
void |
replaceUnlistedChildNode(ExprNode nodeToReplace,
ExprNode newNode) |
void |
toPrecedenceFreeEPL(StringWriter writer) |
ExprNode |
validate(ExprValidationContext validationContext) |
addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, setChildNode, setChildNodes, toEPL
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChildNode, addChildNodes, getChildNodes, setChildNode, setChildNodes
toEPL
public ExprDotNodeImpl(List<ExprChainedSpec> chainSpec, boolean isDuckTyping, boolean isUDFCache)
public ExprNode validate(ExprValidationContext validationContext) throws ExprValidationException
validate
in interface ExprValidator
ExprValidationException
public FilterExprAnalyzerAffector getAffector(boolean isOuterJoin)
getAffector
in interface FilterExprAnalyzerAffectorProvider
public void accept(ExprNodeVisitor visitor)
ExprNode
The visitor can decide to skip child nodes by returning false in isVisit.
accept
in interface ExprNode
accept
in class ExprNodeBase
visitor
- to visit each node and each child node.public void accept(ExprNodeVisitorWithParent visitor)
ExprNode
The visitor can decide to skip child nodes by returning false in isVisit.
accept
in interface ExprNode
accept
in class ExprNodeBase
visitor
- to visit each node and each child node.public void acceptChildnodes(ExprNodeVisitorWithParent visitor, ExprNode parent)
ExprNode
acceptChildnodes
in interface ExprNode
acceptChildnodes
in class ExprNodeBase
visitor
- to applyparent
- nodepublic void replaceUnlistedChildNode(ExprNode nodeToReplace, ExprNode newNode)
replaceUnlistedChildNode
in interface ExprNode
replaceUnlistedChildNode
in class ExprNodeBase
public List<ExprChainedSpec> getChainSpec()
getChainSpec
in interface ExprDotNode
public ExprEvaluator getExprEvaluator()
public boolean isConstantResult()
ExprNode
isConstantResult
in interface ExprNode
public Integer getStreamReferencedIfAny()
getStreamReferencedIfAny
in interface ExprStreamRefNode
getStreamReferencedIfAny
in interface ExprDotNode
public String getRootPropertyNameIfAny()
getRootPropertyNameIfAny
in interface ExprStreamRefNode
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 List<ExprNode> getAdditionalNodes()
getAdditionalNodes
in interface ExprNodeInnerNodeProvider
public String isVariableOpGetName(VariableService variableService)
isVariableOpGetName
in interface ExprDotNode