org.apache.hadoop.hive.ql.parse
Class PrunedPartitionList

java.lang.Object
  extended by org.apache.hadoop.hive.ql.parse.PrunedPartitionList

public class PrunedPartitionList
extends Object

The list of pruned partitions.


Constructor Summary
PrunedPartitionList(Table source, Set<Partition> partitions, boolean hasUnknowns)
           
 
Method Summary
 List<Partition> getNotDeniedPartns()
           
 Set<Partition> getPartitions()
           
 Table getSourceTable()
           
 boolean hasUnknownPartitions()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrunedPartitionList

public PrunedPartitionList(Table source,
                           Set<Partition> partitions,
                           boolean hasUnknowns)
Method Detail

getSourceTable

public Table getSourceTable()

getPartitions

public Set<Partition> getPartitions()
Returns:
partitions

getNotDeniedPartns

public List<Partition> getNotDeniedPartns()
Returns:
all partitions.

hasUnknownPartitions

public boolean hasUnknownPartitions()
Returns:
Whether there are unknown partitions in getPartitions() result.


Copyright © 2014 The Apache Software Foundation. All rights reserved.