public class MergeForEach.MergeForEachTransformer extends Transformer
Constructor and Description |
---|
MergeForEach.MergeForEachTransformer() |
Modifier and Type | Method and Description |
---|---|
boolean |
check(OperatorPlan matched)
check if the transform should be done.
|
OperatorPlan |
reportChanges()
Report what parts of the tree were transformed.
|
void |
transform(OperatorPlan matched)
Transform the tree
|
public MergeForEach.MergeForEachTransformer()
public boolean check(OperatorPlan matched) throws FrontendException
Transformer
check
in class Transformer
matched
- the sub-set of the plan that matches the pattern. This
subset has the same graph as the pattern, but the operators
point to the same objects as the plan to be matched.FrontendException
public OperatorPlan reportChanges()
Transformer
reportChanges
in class Transformer
public void transform(OperatorPlan matched) throws FrontendException
Transformer
transform
in class Transformer
matched
- the sub-set of the plan that matches the pattern. This
subset has the same graph as the pattern, but the operators
point to the same objects as the plan to be matched.FrontendException
Copyright © 2007-2012 The Apache Software Foundation