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