public abstract class WholePlanRule extends Rule
currentPlan, log, name, pattern| Constructor and Description |
|---|
WholePlanRule(String n,
boolean mandatory) |
| Modifier and Type | Method and Description |
|---|---|
protected OperatorPlan |
buildPattern()
Build the pattern that this rule will look for
|
List<OperatorPlan> |
match(OperatorPlan plan)
Search for all the sub-plans that matches the pattern
defined by this rule.
|
getName, getNewTransformer, getPattern, isMandatory, isSkipListener, setSkipListenerpublic WholePlanRule(String n, boolean mandatory)
public List<OperatorPlan> match(OperatorPlan plan)
Rulematch in class Ruleplan - the OperatorPlan to look for matches to the patternprotected OperatorPlan buildPattern()
RulebuildPattern in class RuleCopyright © 2007-2017 The Apache Software Foundation