Uses of Class
org.apache.hadoop.hive.ql.metadata.Partition

Packages that use Partition
org.apache.hadoop.hive.ql.exec Hive QL execution tasks, operators, functions and other handlers. 
org.apache.hadoop.hive.ql.hooks   
org.apache.hadoop.hive.ql.index   
org.apache.hadoop.hive.ql.lockmgr Hive Lock Manager interfaces and some custom implmentations 
org.apache.hadoop.hive.ql.metadata   
org.apache.hadoop.hive.ql.metadata.formatting   
org.apache.hadoop.hive.ql.optimizer   
org.apache.hadoop.hive.ql.optimizer.pcr   
org.apache.hadoop.hive.ql.parse   
org.apache.hadoop.hive.ql.plan   
org.apache.hadoop.hive.ql.security.authorization   
 

Uses of Partition in org.apache.hadoop.hive.ql.exec
 

Methods in org.apache.hadoop.hive.ql.exec with parameters of type Partition
static int ArchiveUtils.getArchivingLevel(Partition p)
          Returns archiving level, which is how many fields were set in partial specification ARCHIVE was run for
static String ArchiveUtils.getPartialName(Partition p, int level)
          Get a prefix of the given parition's string representation.
static PartitionDesc Utilities.getPartitionDesc(Partition part)
           
static PartitionDesc Utilities.getPartitionDescFromTableDesc(TableDesc tblDesc, Partition part)
           
static boolean ArchiveUtils.isArchived(Partition p)
          Determines whether a partition has been archived
 

Uses of Partition in org.apache.hadoop.hive.ql.hooks
 

Methods in org.apache.hadoop.hive.ql.hooks that return Partition
 Partition Entity.getP()
           
 Partition Entity.getPartition()
          Get the partition associated with the entity.
 

Methods in org.apache.hadoop.hive.ql.hooks with parameters of type Partition
 void Entity.setP(Partition p)
           
 

Constructors in org.apache.hadoop.hive.ql.hooks with parameters of type Partition
Entity(Partition p)
          Constructor for a partition.
Entity(Partition p, boolean complete)
           
ReadEntity(Partition p)
          Constructor given a partiton.
WriteEntity(Partition p)
          Constructor for a partition.
WriteEntity(Partition p, boolean complete)
           
 

Uses of Partition in org.apache.hadoop.hive.ql.index
 

Methods in org.apache.hadoop.hive.ql.index that return types with arguments of type Partition
 Set<Partition> HiveIndexQueryContext.getQueryPartitions()
           
 

Method parameters in org.apache.hadoop.hive.ql.index with type arguments of type Partition
 List<Task<?>> TableBasedIndexHandler.generateIndexBuildTaskList(Table baseTbl, Index index, List<Partition> indexTblPartitions, List<Partition> baseTblPartitions, Table indexTbl, Set<ReadEntity> inputs, Set<WriteEntity> outputs)
           
 List<Task<?>> TableBasedIndexHandler.generateIndexBuildTaskList(Table baseTbl, Index index, List<Partition> indexTblPartitions, List<Partition> baseTblPartitions, Table indexTbl, Set<ReadEntity> inputs, Set<WriteEntity> outputs)
           
 List<Task<?>> HiveIndexHandler.generateIndexBuildTaskList(Table baseTbl, Index index, List<Partition> indexTblPartitions, List<Partition> baseTblPartitions, Table indexTbl, Set<ReadEntity> inputs, Set<WriteEntity> outputs)
          Requests that the handler generate a plan for building the index; the plan should read the base table and write out the index representation.
 List<Task<?>> HiveIndexHandler.generateIndexBuildTaskList(Table baseTbl, Index index, List<Partition> indexTblPartitions, List<Partition> baseTblPartitions, Table indexTbl, Set<ReadEntity> inputs, Set<WriteEntity> outputs)
          Requests that the handler generate a plan for building the index; the plan should read the base table and write out the index representation.
 void HiveIndexQueryContext.setQueryPartitions(Set<Partition> queryPartitions)
           
 

Uses of Partition in org.apache.hadoop.hive.ql.lockmgr
 

Constructors in org.apache.hadoop.hive.ql.lockmgr with parameters of type Partition
HiveLockObject(Partition par, HiveLockObject.HiveLockObjectData lockData)
           
 

Uses of Partition in org.apache.hadoop.hive.ql.metadata
 

Subclasses of Partition in org.apache.hadoop.hive.ql.metadata
 class DummyPartition
          A Hive Table Partition: is a fundamental storage unit within a Table.
 

Methods in org.apache.hadoop.hive.ql.metadata that return Partition
 Partition Hive.createPartition(Table tbl, Map<String,String> partSpec)
          Creates a partition.
 Partition Hive.createPartition(Table tbl, Map<String,String> partSpec, org.apache.hadoop.fs.Path location, Map<String,String> partParams, String inputFormat, String outputFormat, int numBuckets, List<FieldSchema> cols, String serializationLib, Map<String,String> serdeParams, List<String> bucketCols, List<Order> sortCols)
          Creates a partition
 Partition Hive.getPartition(Table tbl, Map<String,String> partSpec, boolean forceCreate)
           
 Partition Hive.getPartition(Table tbl, Map<String,String> partSpec, boolean forceCreate, String partPath, boolean inheritTableSpecs)
          Returns partition metadata
 

Methods in org.apache.hadoop.hive.ql.metadata that return types with arguments of type Partition
 List<Partition> Hive.getPartitions(Table tbl)
          get all the partitions that the table has
 List<Partition> Hive.getPartitions(Table tbl, Map<String,String> partialPartSpec)
          get all the partitions of the table that matches the given partial specification.
 List<Partition> Hive.getPartitions(Table tbl, Map<String,String> partialPartSpec, short limit)
          get all the partitions of the table that matches the given partial specification.
 List<Partition> Hive.getPartitionsByFilter(Table tbl, String filter)
          Get a list of Partitions by filter.
 List<Partition> Hive.getPartitionsByNames(Table tbl, List<String> partNames)
          Get all partitions of the table that matches the list of given partition names.
 List<Partition> Hive.getPartitionsByNames(Table tbl, Map<String,String> partialPartSpec)
          get all the partitions of the table that matches the given partial specification.
 

Methods in org.apache.hadoop.hive.ql.metadata with parameters of type Partition
 void Hive.alterPartition(String tblName, Partition newPart)
          Updates the existing table metadata with the new metadata.
 void Hive.renamePartition(Table tbl, Map<String,String> oldPartSpec, Partition newPart)
          Rename a old partition to new partition
 

Uses of Partition in org.apache.hadoop.hive.ql.metadata.formatting
 

Methods in org.apache.hadoop.hive.ql.metadata.formatting with parameters of type Partition
 void JsonMetaDataFormatter.describeTable(DataOutputStream out, String colPath, String tableName, Table tbl, Partition part, List<FieldSchema> cols, boolean isFormatted, boolean isExt)
          Describe table.
 void MetaDataFormatter.describeTable(DataOutputStream out, String colPath, String tableName, Table tbl, Partition part, List<FieldSchema> cols, boolean isFormatted, boolean isExt)
          Describe table.
 void TextMetaDataFormatter.describeTable(DataOutputStream outStream, String colPath, String tableName, Table tbl, Partition part, List<FieldSchema> cols, boolean isFormatted, boolean isExt)
           
static String MetaDataFormatUtils.getPartitionInformation(Partition part)
           
 void JsonMetaDataFormatter.showTableStatus(DataOutputStream out, Hive db, HiveConf conf, List<Table> tbls, Map<String,String> part, Partition par)
           
 void MetaDataFormatter.showTableStatus(DataOutputStream out, Hive db, HiveConf conf, List<Table> tbls, Map<String,String> part, Partition par)
          Show the table status.
 void TextMetaDataFormatter.showTableStatus(DataOutputStream outStream, Hive db, HiveConf conf, List<Table> tbls, Map<String,String> part, Partition par)
           
 

Uses of Partition in org.apache.hadoop.hive.ql.optimizer
 

Methods in org.apache.hadoop.hive.ql.optimizer that return types with arguments of type Partition
static Set<Partition> IndexUtils.checkPartitionsCoveredByIndex(TableScanOperator tableScan, ParseContext pctx, Map<Table,List<Index>> indexes)
          Check the partitions used by the table scan to make sure they also exist in the index table.
 

Methods in org.apache.hadoop.hive.ql.optimizer with parameters of type Partition
static SamplePruner.LimitPruneRetStatus SamplePruner.limitPrune(Partition part, long sizeLimit, int fileLimit, Collection<org.apache.hadoop.fs.Path> retPathList)
          Try to generate a list of subset of files in the partition to reach a size limit with number of files less than fileLimit
static org.apache.hadoop.fs.Path[] SamplePruner.prune(Partition part, FilterDesc.sampleDesc sampleDescr)
          Prunes to get all the files in the partition that satisfy the TABLESAMPLE clause.
 

Uses of Partition in org.apache.hadoop.hive.ql.optimizer.pcr
 

Methods in org.apache.hadoop.hive.ql.optimizer.pcr that return types with arguments of type Partition
 List<Partition> PcrExprProcCtx.getPartList()
           
 

Method parameters in org.apache.hadoop.hive.ql.optimizer.pcr with type arguments of type Partition
 void PcrExprProcCtx.setPartList(List<Partition> partList)
           
static PcrExprProcFactory.NodeInfoWrapper PcrExprProcFactory.walkExprTree(String tabAlias, ArrayList<Partition> parts, ExprNodeDesc pred)
          Remove partition conditions when necessary from the the expression tree.
 

Constructor parameters in org.apache.hadoop.hive.ql.optimizer.pcr with type arguments of type Partition
PcrExprProcCtx(String tabAlias, List<Partition> partList)
           
 

Uses of Partition in org.apache.hadoop.hive.ql.parse
 

Fields in org.apache.hadoop.hive.ql.parse declared as Partition
 Partition BaseSemanticAnalyzer.tableSpec.partHandle
           
 

Fields in org.apache.hadoop.hive.ql.parse with type parameters of type Partition
 List<Partition> BaseSemanticAnalyzer.tableSpec.partitions
           
 

Methods in org.apache.hadoop.hive.ql.parse that return Partition
 Partition QBMetaData.getDestPartitionForAlias(String alias)
           
 

Methods in org.apache.hadoop.hive.ql.parse that return types with arguments of type Partition
 Set<Partition> PrunedPartitionList.getConfirmedPartns()
          get confirmed partitions.
 Set<Partition> PrunedPartitionList.getDeniedPartns()
          get denied partitions.
 Set<Partition> PrunedPartitionList.getUnknownPartns()
          get unknown partitions.
 

Methods in org.apache.hadoop.hive.ql.parse with parameters of type Partition
 void QBMetaData.setDestForAlias(String alias, Partition part)
           
 

Method parameters in org.apache.hadoop.hive.ql.parse with type arguments of type Partition
static void EximUtil.createExportDump(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path metadataPath, Table tableHandle, List<Partition> partitions)
           
 void PrunedPartitionList.setConfirmedPartns(Set<Partition> confirmedPartns)
          set confirmed partitions.
 void PrunedPartitionList.setUnknownPartns(Set<Partition> unknownPartns)
          set unknown partitions.
 

Constructor parameters in org.apache.hadoop.hive.ql.parse with type arguments of type Partition
PrunedPartitionList(Set<Partition> confirmedPartns, Set<Partition> unknownPartns, Set<Partition> deniedPartns)
           
PrunedPartitionList(Set<Partition> confirmedPartns, Set<Partition> unknownPartns, Set<Partition> deniedPartns)
           
PrunedPartitionList(Set<Partition> confirmedPartns, Set<Partition> unknownPartns, Set<Partition> deniedPartns)
           
 

Uses of Partition in org.apache.hadoop.hive.ql.plan
 

Constructors in org.apache.hadoop.hive.ql.plan with parameters of type Partition
PartitionDesc(Partition part)
           
PartitionDesc(Partition part, TableDesc tblDesc)
           
 

Uses of Partition in org.apache.hadoop.hive.ql.security.authorization
 

Methods in org.apache.hadoop.hive.ql.security.authorization with parameters of type Partition
 void HiveAuthorizationProvider.authorize(Partition part, Privilege[] readRequiredPriv, Privilege[] writeRequiredPriv)
          Authorization privileges against a hive partition object.
 void DefaultHiveAuthorizationProvider.authorize(Partition part, Privilege[] inputRequiredPriv, Privilege[] outputRequiredPriv)
           
 void HiveAuthorizationProvider.authorize(Table table, Partition part, List<String> columns, Privilege[] readRequiredPriv, Privilege[] writeRequiredPriv)
          Authorization privileges against a list of columns.
 void DefaultHiveAuthorizationProvider.authorize(Table table, Partition part, List<String> columns, Privilege[] inputRequiredPriv, Privilege[] outputRequiredPriv)
           
 



Copyright © 2011 The Apache Software Foundation