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.
|
Class<?> |
getClassName() |
Object |
getMatch() |
boolean |
isEqual(Operator operator)
This is like a shallow equals comparison.
|
boolean |
isLeafNode() |
boolean |
isSourceNode() |
void |
setClassName(Class<?> className) |
void |
setLeafNode(boolean isLeafNode)
Set isLeafNode to true if the node must be a source
|
void |
setMatch(Object match) |
void |
setSourceNode(boolean isSourceNode)
Set isSourceNode to true if the node must be a source
|
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 Class<?> getClassName()
public void setClassName(Class<?> className)
className - the className to setpublic Object getMatch()
public void setMatch(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 OperatorFrontendExceptionCopyright © 2007-2017 The Apache Software Foundation