public static class ConstantCalculator.ConstantCalculatorTransformer extends Transformer
| Modifier and Type | Class and Description |
|---|---|
static class |
ConstantCalculator.ConstantCalculatorTransformer.ConstantCalculatorExpressionVisitor |
static class |
ConstantCalculator.ConstantCalculatorTransformer.ConstantCalculatorLogicalPlanVisitor |
| Constructor and Description |
|---|
ConstantCalculatorTransformer(List<LogicalRelationalOperator> processedOperators,
PigContext pc) |
| 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 ConstantCalculatorTransformer(List<LogicalRelationalOperator> processedOperators, PigContext pc)
public boolean check(OperatorPlan matched) throws FrontendException
Transformercheck in class Transformermatched - 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.FrontendExceptionpublic void transform(OperatorPlan matched) throws FrontendException
Transformertransform in class Transformermatched - 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.FrontendExceptionpublic OperatorPlan reportChanges()
TransformerreportChanges in class TransformerCopyright © 2007-2017 The Apache Software Foundation