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, setPlan
public 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
Operator
accept
in class Operator
v
- Visitor to accept.FrontendException
public boolean isEqual(Operator operator) throws FrontendException
Operator
isEqual
in class Operator
FrontendException
Copyright © 2007-2012 The Apache Software Foundation