|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pig.newplan.PlanVisitor
org.apache.pig.newplan.PColFilterExtractor
@Deprecated public class PColFilterExtractor
This Visitor works on the filter condition of a LOFilter which immediately follows a LOLoad that interacts with a metadata system (currently OWL) to read table data. The visitor looks for conditions on partition columns in the filter condition and extracts those conditions out of the filter condition. The condition on partition cols will be used to prune partitions of the table.
Field Summary |
---|
Fields inherited from class org.apache.pig.newplan.PlanVisitor |
---|
currentWalker, DEFAULT_SCOPE, plan |
Constructor Summary | |
---|---|
PColFilterExtractor(OperatorPlan plan,
List<String> partitionCols)
Deprecated. |
Method Summary | |
---|---|
boolean |
canPushDown()
Deprecated. |
Expression |
getExpression(LogicalExpression op)
Deprecated. |
Expression |
getPColCondition()
Deprecated. |
boolean |
isFilterRemovable()
Deprecated. |
void |
visit()
Deprecated. Entry point for visiting the plan. |
protected void |
visit(ProjectExpression project)
Deprecated. |
Methods inherited from class org.apache.pig.newplan.PlanVisitor |
---|
getPlan, popWalker, pushWalker |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PColFilterExtractor(OperatorPlan plan, List<String> partitionCols)
plan
- logical plan corresponding the filter's comparison conditionpartitionCols
- list of partition columns of the table which is
being loaded in the LOAD statement which is input to the filterMethod Detail |
---|
public void visit() throws FrontendException
PlanVisitor
visit
in class PlanVisitor
VisitorException
- if an error is encountered while visiting.
FrontendException
protected void visit(ProjectExpression project) throws FrontendException
FrontendException
public Expression getPColCondition()
public boolean isFilterRemovable()
public Expression getExpression(LogicalExpression op) throws FrontendException
FrontendException
public boolean canPushDown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |