|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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.listbucketingpruner | |
| org.apache.hadoop.hive.ql.optimizer.pcr | |
| org.apache.hadoop.hive.ql.optimizer.ppr | |
| org.apache.hadoop.hive.ql.parse | |
| org.apache.hadoop.hive.ql.plan | |
| org.apache.hadoop.hive.ql.security.authorization | |
| org.apache.hadoop.hive.ql.stats | |
| 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,
boolean complete)
Constructor for a partition. |
|
ReadEntity(Partition p)
Constructor given a partition. |
|
ReadEntity(Partition p,
ReadEntity parent)
|
|
ReadEntity(Partition p,
ReadEntity parent,
boolean isDirect)
|
|
WriteEntity(Partition p,
WriteEntity.WriteType type)
Constructor for a partition. |
|
| 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.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.createPartitions(AddPartitionDesc addPartitionDesc)
|
List<Partition> |
Hive.dropPartitions(String tblName,
List<DropTableDesc.PartSpec> partSpecs,
boolean deleteData,
boolean ignoreProtection,
boolean ifExists)
|
List<Partition> |
Hive.dropPartitions(String dbName,
String tblName,
List<DropTableDesc.PartSpec> partSpecs,
boolean deleteData,
boolean ignoreProtection,
boolean ifExists)
|
Set<Partition> |
Hive.getAllPartitionsOf(Table tbl)
Get all the partitions; unlike Hive.getPartitions(Table), does not include auth. |
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 partition metadata with the new metadata. |
void |
Hive.alterPartition(String dbName,
String tblName,
Partition newPart)
Updates the existing partition metadata with the new metadata. |
void |
Hive.renamePartition(Table tbl,
Map<String,String> oldPartSpec,
Partition newPart)
Rename a old partition to new partition |
| Method parameters in org.apache.hadoop.hive.ql.metadata with type arguments of type Partition | |
|---|---|
void |
Hive.alterPartitions(String tblName,
List<Partition> newParts)
Updates the existing table metadata with the new metadata. |
boolean |
Hive.getPartitionsByExpr(Table tbl,
ExprNodeGenericFuncDesc expr,
HiveConf conf,
List<Partition> result)
Get a list of Partitions by expr. |
| 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 |
MetaDataFormatter.describeTable(DataOutputStream out,
String colPath,
String tableName,
Table tbl,
Partition part,
List<FieldSchema> cols,
boolean isFormatted,
boolean isExt,
boolean isPretty,
boolean isOutputPadded)
Describe table. |
void |
JsonMetaDataFormatter.describeTable(DataOutputStream out,
String colPath,
String tableName,
Table tbl,
Partition part,
List<FieldSchema> cols,
boolean isFormatted,
boolean isExt,
boolean isPretty,
boolean isOutputPadded)
Describe table. |
static String |
MetaDataFormatUtils.getPartitionInformation(Partition part)
|
void |
MetaDataFormatter.showTableStatus(DataOutputStream out,
Hive db,
HiveConf conf,
List<Table> tbls,
Map<String,String> part,
Partition par)
Show the table status. |
void |
JsonMetaDataFormatter.showTableStatus(DataOutputStream out,
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. |
Map<Partition,List<String>> |
BucketJoinProcCtx.getBigTblPartsToBucketFileNames()
|
Map<Partition,Integer> |
BucketJoinProcCtx.getBigTblPartsToBucketNumber()
|
static Set<Partition> |
GenMapRedUtils.getConfirmedPartitionsForScan(QBParseInfo parseInfo)
|
| Methods in org.apache.hadoop.hive.ql.optimizer with parameters of type Partition | |
|---|---|
protected void |
PrunerOperatorFactory.FilterPruner.addPruningPred(Map<TableScanOperator,Map<String,ExprNodeDesc>> opToPrunner,
TableScanOperator top,
ExprNodeDesc new_pruner_pred,
Partition part)
Add pruning predicate. |
protected long |
SizeBasedBigTableSelectorForAutoSMJ.getSize(HiveConf conf,
Partition 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. |
| Method parameters in org.apache.hadoop.hive.ql.optimizer with type arguments of type Partition | |
|---|---|
void |
BucketJoinProcCtx.setBigTblPartsToBucketFileNames(Map<Partition,List<String>> bigTblPartsToBucketFileNames)
|
void |
BucketJoinProcCtx.setBigTblPartsToBucketNumber(Map<Partition,Integer> bigTblPartsToBucketNumber)
|
| Uses of Partition in org.apache.hadoop.hive.ql.optimizer.listbucketingpruner |
|---|
| Methods in org.apache.hadoop.hive.ql.optimizer.listbucketingpruner that return Partition | |
|---|---|
Partition |
LBOpWalkerCtx.getPart()
|
Partition |
LBExprProcCtx.getPart()
|
| Methods in org.apache.hadoop.hive.ql.optimizer.listbucketingpruner with parameters of type Partition | |
|---|---|
static ExprNodeDesc |
LBExprProcFactory.genPruner(String tabAlias,
ExprNodeDesc pred,
Partition part)
Generates the list bucketing pruner for the expression tree. |
static boolean |
ListBucketingPrunerUtils.isListBucketingPart(Partition part)
check if the partition is list bucketing |
static org.apache.hadoop.fs.Path[] |
ListBucketingPruner.prune(ParseContext ctx,
Partition part,
ExprNodeDesc pruner)
Prunes to the directories which match the skewed keys in where clause. |
| Constructors in org.apache.hadoop.hive.ql.optimizer.listbucketingpruner with parameters of type Partition | |
|---|---|
LBExprProcCtx(String tabAlias,
Partition part)
|
|
LBOpWalkerCtx(Map<TableScanOperator,Map<String,ExprNodeDesc>> opToPartToLBPruner,
Partition part)
Constructor. |
|
| 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 | |
|---|---|
static PcrExprProcFactory.NodeInfoWrapper |
PcrExprProcFactory.walkExprTree(String tabAlias,
ArrayList<Partition> parts,
List<VirtualColumn> vcs,
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)
|
|
PcrExprProcCtx(String tabAlias,
List<Partition> partList,
List<VirtualColumn> vcs)
|
|
| Uses of Partition in org.apache.hadoop.hive.ql.optimizer.ppr |
|---|
| Methods in org.apache.hadoop.hive.ql.optimizer.ppr with parameters of type Partition | |
|---|---|
static Object |
PartExprEvalUtils.evalExprWithPart(ExprNodeDesc expr,
Partition p,
List<VirtualColumn> vcs,
StructObjectInspector rowObjectInspector)
Evaluate expression with partition columns |
| 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)
|
protected Partition |
BaseSemanticAnalyzer.getPartition(Table table,
Map<String,String> partSpec,
boolean throwException)
|
| Methods in org.apache.hadoop.hive.ql.parse that return types with arguments of type Partition | |
|---|---|
List<Partition> |
PrunedPartitionList.getNotDeniedPartns()
|
Set<Partition> |
PrunedPartitionList.getPartitions()
|
protected List<Partition> |
BaseSemanticAnalyzer.getPartitions(Table table,
Map<String,String> partSpec,
boolean throwException)
|
| 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)
|
| Constructor parameters in org.apache.hadoop.hive.ql.parse with type arguments of type Partition | |
|---|---|
PrunedPartitionList(Table source,
Set<Partition> partitions,
boolean hasUnknowns)
|
|
| 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 |
|---|
| Subclasses of Partition in org.apache.hadoop.hive.ql.security.authorization | |
|---|---|
static class |
AuthorizationPreEventListener.PartitionWrapper
|
| Methods in org.apache.hadoop.hive.ql.security.authorization with parameters of type Partition | |
|---|---|
void |
StorageBasedAuthorizationProvider.authorize(Partition part,
Privilege[] readRequiredPriv,
Privilege[] writeRequiredPriv)
|
void |
HiveAuthorizationProvider.authorize(Partition part,
Privilege[] readRequiredPriv,
Privilege[] writeRequiredPriv)
Authorization privileges against a hive partition object. |
void |
BitSetCheckedAuthorizationProvider.authorize(Partition part,
Privilege[] inputRequiredPriv,
Privilege[] outputRequiredPriv)
|
void |
StorageBasedAuthorizationProvider.authorize(Table table,
Partition part,
List<String> columns,
Privilege[] readRequiredPriv,
Privilege[] writeRequiredPriv)
|
void |
HiveAuthorizationProvider.authorize(Table table,
Partition part,
List<String> columns,
Privilege[] readRequiredPriv,
Privilege[] writeRequiredPriv)
Authorization privileges against a list of columns. |
void |
BitSetCheckedAuthorizationProvider.authorize(Table table,
Partition part,
List<String> columns,
Privilege[] inputRequiredPriv,
Privilege[] outputRequiredPriv)
|
| Uses of Partition in org.apache.hadoop.hive.ql.stats |
|---|
| Method parameters in org.apache.hadoop.hive.ql.stats with type arguments of type Partition | |
|---|---|
static List<Long> |
StatsUtils.getBasicStatForPartitions(Table table,
List<Partition> parts,
String statType)
Get basic stats of partitions |
static List<Long> |
StatsUtils.getFileSizeForPartitions(HiveConf conf,
List<Partition> parts)
Find the bytes on disks occupied by list of partitions |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||