|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.parse.ASTPartitionPruner
public class ASTPartitionPruner
Constructor Summary | |
---|---|
ASTPartitionPruner()
|
|
ASTPartitionPruner(String tableAlias,
QBMetaData metaData,
HiveConf conf)
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. |
Table |
getTable()
|
boolean |
hasPartitionPredicate(ASTNode expr)
|
static boolean |
mightBeUnknown(exprNodeDesc desc)
|
boolean |
onlyContainsPartitionCols()
|
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 ASTPartitionPruner()
public ASTPartitionPruner(String tableAlias, QBMetaData metaData, HiveConf conf)
Method Detail |
---|
public boolean onlyContainsPartitionCols()
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 PrunedPartitionList prune() throws HiveException
HiveException
public Table getTable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |