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, setSkipListener
public WholePlanRule(String n, boolean mandatory)
public 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