Modifier and Type | Method and Description |
---|---|
List<CatalogPartitionSpec> |
AbstractJdbcCatalog.listPartitions(ObjectPath tablePath) |
List<CatalogPartitionSpec> |
AbstractJdbcCatalog.listPartitions(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
List<CatalogPartitionSpec> |
AbstractJdbcCatalog.listPartitionsByFilter(ObjectPath tablePath,
List<Expression> filters) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractJdbcCatalog.alterPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogPartition newPartition,
boolean ignoreIfNotExists) |
void |
AbstractJdbcCatalog.alterPartitionColumnStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogColumnStatistics columnStatistics,
boolean ignoreIfNotExists) |
void |
AbstractJdbcCatalog.alterPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogTableStatistics partitionStatistics,
boolean ignoreIfNotExists) |
void |
AbstractJdbcCatalog.createPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogPartition partition,
boolean ignoreIfExists) |
void |
AbstractJdbcCatalog.dropPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
boolean ignoreIfNotExists) |
CatalogPartition |
AbstractJdbcCatalog.getPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
CatalogColumnStatistics |
AbstractJdbcCatalog.getPartitionColumnStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
CatalogTableStatistics |
AbstractJdbcCatalog.getPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
List<CatalogPartitionSpec> |
AbstractJdbcCatalog.listPartitions(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
boolean |
AbstractJdbcCatalog.partitionExists(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
Modifier and Type | Method and Description |
---|---|
List<CatalogPartitionSpec> |
GenericInMemoryCatalog.listPartitions(ObjectPath tablePath) |
List<CatalogPartitionSpec> |
Catalog.listPartitions(ObjectPath tablePath)
Get CatalogPartitionSpec of all partitions of the table.
|
List<CatalogPartitionSpec> |
GenericInMemoryCatalog.listPartitions(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
List<CatalogPartitionSpec> |
Catalog.listPartitions(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec)
Get CatalogPartitionSpec of all partitions that is under the given CatalogPartitionSpec in
the table.
|
List<CatalogPartitionSpec> |
GenericInMemoryCatalog.listPartitionsByFilter(ObjectPath tablePath,
List<Expression> filters) |
List<CatalogPartitionSpec> |
Catalog.listPartitionsByFilter(ObjectPath tablePath,
List<Expression> filters)
Get CatalogPartitionSpec of partitions by expression filters in the table.
|
Modifier and Type | Method and Description |
---|---|
void |
GenericInMemoryCatalog.alterPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogPartition newPartition,
boolean ignoreIfNotExists) |
void |
Catalog.alterPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogPartition newPartition,
boolean ignoreIfNotExists)
Alter a partition.
|
void |
GenericInMemoryCatalog.alterPartitionColumnStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogColumnStatistics columnStatistics,
boolean ignoreIfNotExists) |
void |
Catalog.alterPartitionColumnStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogColumnStatistics columnStatistics,
boolean ignoreIfNotExists)
Update the column statistics of a table partition.
|
void |
GenericInMemoryCatalog.alterPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogTableStatistics partitionStatistics,
boolean ignoreIfNotExists) |
void |
Catalog.alterPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogTableStatistics partitionStatistics,
boolean ignoreIfNotExists)
Update the statistics of a table partition.
|
void |
GenericInMemoryCatalog.createPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogPartition partition,
boolean ignoreIfExists) |
void |
Catalog.createPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogPartition partition,
boolean ignoreIfExists)
Create a partition.
|
void |
GenericInMemoryCatalog.dropPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
boolean ignoreIfNotExists) |
void |
Catalog.dropPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
boolean ignoreIfNotExists)
Drop a partition.
|
Optional<CatalogPartition> |
CatalogManager.getPartition(ObjectIdentifier tableIdentifier,
CatalogPartitionSpec partitionSpec)
Retrieves a partition with a fully qualified table path and partition spec.
|
CatalogPartition |
GenericInMemoryCatalog.getPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
CatalogPartition |
Catalog.getPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec)
Get a partition of the given table.
|
CatalogColumnStatistics |
GenericInMemoryCatalog.getPartitionColumnStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
CatalogColumnStatistics |
Catalog.getPartitionColumnStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec)
Get the column statistics of a partition.
|
CatalogTableStatistics |
GenericInMemoryCatalog.getPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
CatalogTableStatistics |
Catalog.getPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec)
Get the statistics of a partition.
|
List<CatalogPartitionSpec> |
GenericInMemoryCatalog.listPartitions(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
List<CatalogPartitionSpec> |
Catalog.listPartitions(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec)
Get CatalogPartitionSpec of all partitions that is under the given CatalogPartitionSpec in
the table.
|
boolean |
GenericInMemoryCatalog.partitionExists(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
boolean |
Catalog.partitionExists(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec)
Check whether a partition exists or not.
|
Constructor and Description |
---|
PartitionAlreadyExistsException(String catalogName,
ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
PartitionAlreadyExistsException(String catalogName,
ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
Throwable cause) |
PartitionNotExistException(String catalogName,
ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
PartitionNotExistException(String catalogName,
ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
Throwable cause) |
PartitionSpecInvalidException(String catalogName,
List<String> partitionKeys,
ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
PartitionSpecInvalidException(String catalogName,
List<String> partitionKeys,
ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
List<CatalogPartitionSpec> |
HiveCatalog.listPartitions(ObjectPath tablePath) |
List<CatalogPartitionSpec> |
HiveCatalog.listPartitions(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
List<CatalogPartitionSpec> |
HiveCatalog.listPartitionsByFilter(ObjectPath tablePath,
List<Expression> expressions) |
Modifier and Type | Method and Description |
---|---|
void |
HiveCatalog.alterPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogPartition newPartition,
boolean ignoreIfNotExists) |
void |
HiveCatalog.alterPartitionColumnStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogColumnStatistics columnStatistics,
boolean ignoreIfNotExists) |
void |
HiveCatalog.alterPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogTableStatistics partitionStatistics,
boolean ignoreIfNotExists) |
void |
HiveCatalog.createPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogPartition partition,
boolean ignoreIfExists) |
void |
HiveCatalog.dropPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
boolean ignoreIfNotExists) |
org.apache.hadoop.hive.metastore.api.Partition |
HiveCatalog.getHivePartition(org.apache.hadoop.hive.metastore.api.Table hiveTable,
CatalogPartitionSpec partitionSpec) |
CatalogPartition |
HiveCatalog.getPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
CatalogColumnStatistics |
HiveCatalog.getPartitionColumnStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
CatalogTableStatistics |
HiveCatalog.getPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
List<CatalogPartitionSpec> |
HiveCatalog.listPartitions(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
boolean |
HiveCatalog.partitionExists(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
Modifier and Type | Method and Description |
---|---|
CatalogPartitionSpec |
ShowPartitionsOperation.getPartitionSpec() |
Modifier and Type | Method and Description |
---|---|
static String |
OperationUtils.formatPartitionSpec(CatalogPartitionSpec spec) |
Constructor and Description |
---|
ShowPartitionsOperation(ObjectIdentifier tableIdentifier,
CatalogPartitionSpec partitionSpec) |
Modifier and Type | Field and Description |
---|---|
protected CatalogPartitionSpec |
AlterPartitionOperation.partitionSpec |
Modifier and Type | Method and Description |
---|---|
CatalogPartitionSpec |
AlterPartitionOperation.getPartitionSpec() |
Modifier and Type | Method and Description |
---|---|
List<CatalogPartitionSpec> |
AddPartitionsOperation.getPartitionSpecs() |
List<CatalogPartitionSpec> |
DropPartitionsOperation.getPartitionSpecs() |
Constructor and Description |
---|
AlterPartitionOperation(ObjectIdentifier tableIdentifier,
CatalogPartitionSpec partitionSpec) |
AlterPartitionPropertiesOperation(ObjectIdentifier tableIdentifier,
CatalogPartitionSpec partitionSpec,
CatalogPartition catalogPartition) |
Constructor and Description |
---|
AddPartitionsOperation(ObjectIdentifier tableIdentifier,
boolean ifNotExists,
List<CatalogPartitionSpec> partitionSpecs,
List<CatalogPartition> catalogPartitions) |
DropPartitionsOperation(ObjectIdentifier tableIdentifier,
boolean ifExists,
List<CatalogPartitionSpec> partitionSpecs) |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.