public class PatternNode extends Operator
| Constructor and Description |
|---|
PatternNode(OperatorPlan p) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PlanVisitor v)
Accept a visitor at this node in the graph.
|
java.lang.Class<?> |
getClassName() |
java.lang.Object |
getMatch() |
boolean |
isEqual(Operator operator)
This is like a shallow equals comparison.
|
boolean |
isLeafNode() |
boolean |
isSourceNode() |
void |
setClassName(java.lang.Class<?> className) |
void |
setLeafNode(boolean isLeafNode)
Set isLeafNode to true if the node must be a source
|
void |
setMatch(java.lang.Object match) |
void |
setSourceNode(boolean isSourceNode)
Set isSourceNode to true if the node must be a source
|
java.lang.String |
toString() |
annotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlanpublic PatternNode(OperatorPlan p)
public boolean isLeafNode()
public void setLeafNode(boolean isLeafNode)
isLeafNode - public boolean isSourceNode()
public void setSourceNode(boolean isSourceNode)
isSourceNode - public java.lang.Class<?> getClassName()
public void setClassName(java.lang.Class<?> className)
className - the className to setpublic java.lang.Object getMatch()
public void setMatch(java.lang.Object match)
match - the match to setpublic void accept(PlanVisitor v) throws FrontendException
Operatoraccept in class Operatorv - Visitor to accept.FrontendExceptionpublic boolean isEqual(Operator operator) throws FrontendException
OperatorisEqual in class OperatorFrontendExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007-2025 The Apache Software Foundation