Package | Description |
---|---|
org.apache.pig.newplan.logical.optimizer | |
org.apache.pig.newplan.logical.rules | |
org.apache.pig.newplan.optimizer |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<java.util.Set<Rule>> |
LogicalPlanOptimizer.buildRuleSets() |
Modifier and Type | Class and Description |
---|---|
class |
AddForEach |
class |
ColumnMapKeyPrune
This Rule prunes columns and map keys and set to loader.
|
class |
ConstantCalculator |
class |
FilterAboveForeach
This Rule moves Filter Above Foreach.
|
class |
FilterConstantCalculator |
class |
ForEachConstantCalculator |
class |
GroupByConstParallelSetter
Rule: If a LOCogroup is 'group all', set the parallelism to 1,
or in general - if the group-by expression is just a constant
then set parallelism to 1
LogicalExpressionSimplifier could be used to convert an expression
with constants into a single ConstantExpression
|
class |
LimitOptimizer |
class |
LoadTypeCastInserter |
class |
MergeFilter |
class |
MergeForEach |
class |
PartitionFilterOptimizer |
class |
PredicatePushdownOptimizer |
class |
PushDownForEachFlatten
It's generally a good idea to do flattens as late as possible as
they tend to generate more rows (and so more I/O).
|
class |
PushUpFilter |
class |
SplitFilter |
class |
StreamTypeCastInserter |
class |
TypeCastInserter |
class |
WholePlanRule
Super class for all rules that operates on the whole plan.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.util.Set<Rule>> |
PlanOptimizer.ruleSets |
Constructor and Description |
---|
PlanOptimizer(OperatorPlan p,
java.util.List<java.util.Set<Rule>> rs,
int iterations) |
Copyright © 2007-2012 The Apache Software Foundation