|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.parse.PartitionPruner
public class PartitionPruner
Nested Class Summary | |
---|---|
static class |
PartitionPruner.PrunedPartitionList
list of the partitions satisfying the pruning criteria - contains both confirmed and unknown partitions |
Constructor Summary | |
---|---|
PartitionPruner(String tableAlias,
QBMetaData metaData)
Creates a new instance of PartitionPruner |
Method Summary | |
---|---|
void |
addExpression(ASTNode expr)
Add an expression |
void |
addJoinOnExpression(ASTNode expr)
Add an expression from the JOIN condition. |
boolean |
containsPartitionCols()
|
Table |
getTable()
|
boolean |
hasPartitionPredicate(ASTNode expr)
|
static boolean |
mightBeUnknown(exprNodeDesc desc)
|
PartitionPruner.PrunedPartitionList |
prune()
From the table metadata prune the partitions to return the partitions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartitionPruner(String tableAlias, QBMetaData metaData)
Method Detail |
---|
public boolean containsPartitionCols()
public static boolean mightBeUnknown(exprNodeDesc desc)
public boolean hasPartitionPredicate(ASTNode expr)
public void addExpression(ASTNode expr) throws SemanticException
SemanticException
public void addJoinOnExpression(ASTNode expr) throws SemanticException
SemanticException
public PartitionPruner.PrunedPartitionList prune() throws HiveException
HiveException
public Table getTable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |