|
||||||||||
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.parse | |
org.apache.hadoop.hive.ql.plan | |
org.apache.hadoop.hive.ql.security | |
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 partition. |
|
ReadEntity(Partition p,
ReadEntity parent)
|
|
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<?>> |
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. |
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)
|
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,
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 | |
---|---|
Set<Partition> |
Hive.getAllPartitionsForPruner(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. |
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,
boolean isPretty)
Describe table. |
void |
MetaDataFormatter.describeTable(DataOutputStream out,
String colPath,
String tableName,
Table tbl,
Partition part,
List<FieldSchema> cols,
boolean isFormatted,
boolean isExt,
boolean isPretty)
Describe table. |
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. |
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()
|
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<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 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 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.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 | |
---|---|
List<Partition> |
PrunedPartitionList.getNotDeniedPartns()
|
Set<Partition> |
PrunedPartitionList.getPartitions()
|
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(FileSystem 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 |
---|
Methods in org.apache.hadoop.hive.ql.security with parameters of type Partition | |
---|---|
void |
DummyHiveMetastoreAuthorizationProvider.authorize(Partition part,
Privilege[] readRequiredPriv,
Privilege[] writeRequiredPriv)
|
void |
DummyHiveMetastoreAuthorizationProvider.authorize(Table table,
Partition part,
List<String> columns,
Privilege[] readRequiredPriv,
Privilege[] writeRequiredPriv)
|
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 |
StorageBasedAuthorizationProvider.authorize(Partition part,
Privilege[] readRequiredPriv,
Privilege[] writeRequiredPriv)
|
void |
BitSetCheckedAuthorizationProvider.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 |
StorageBasedAuthorizationProvider.authorize(Table table,
Partition part,
List<String> columns,
Privilege[] readRequiredPriv,
Privilege[] writeRequiredPriv)
|
void |
BitSetCheckedAuthorizationProvider.authorize(Table table,
Partition part,
List<String> columns,
Privilege[] inputRequiredPriv,
Privilege[] outputRequiredPriv)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |