| Modifier and Type | Method and Description |
|---|---|
Optional<Partition> |
HivePartitionMetadata.getPartition() |
Optional<Partition> |
HiveMetastoreClosure.getPartition(HiveIdentity identity,
String databaseName,
String tableName,
List<String> partitionValues) |
Map<String,Optional<Partition>> |
HiveMetastoreClosure.getPartitionsByNames(HiveIdentity identity,
String databaseName,
String tableName,
List<String> partitionNames) |
| Modifier and Type | Method and Description |
|---|---|
LocationService.WriteInfo |
HiveLocationService.getPartitionWriteInfo(LocationHandle locationHandle,
Optional<Partition> partition,
String partitionName) |
LocationService.WriteInfo |
LocationService.getPartitionWriteInfo(LocationHandle locationHandle,
Optional<Partition> partition,
String partitionName)
If
partition is present, returns WriteInfo for appending existing partition;
otherwise, returns WriteInfo for writing new partition or overwriting existing partition. |
| Modifier and Type | Method and Description |
|---|---|
Partition |
Partition.Builder.build() |
Partition |
PartitionWithStatistics.getPartition() |
| Modifier and Type | Method and Description |
|---|---|
void |
SemiTransactionalHiveMetastore.addPartition(ConnectorSession session,
String databaseName,
String tableName,
Partition partition,
org.apache.hadoop.fs.Path currentLocation,
PartitionStatistics statistics) |
static Partition.Builder |
Partition.builder(Partition partition) |
static Properties |
MetastoreUtil.getHiveSchema(Partition partition,
Table table) |
static org.apache.hadoop.hive.metastore.ProtectMode |
MetastoreUtil.getProtectMode(Partition partition) |
static String |
MetastoreUtil.makePartitionName(Table table,
Partition partition) |
| Modifier and Type | Method and Description |
|---|---|
static HivePageSinkMetadata |
HivePageSinkMetadata.deserialize(SchemaTableName schemaTableName,
Optional<Table> table,
List<HivePageSinkMetadata.JsonSerializableEntry<List<String>,Optional<Partition>>> modifiedPartitions) |
static String |
MetastoreUtil.getPartitionLocation(Table table,
Optional<Partition> partition) |
Map<String,PartitionStatistics> |
RecordingHiveMetastore.getPartitionStatistics(HiveIdentity identity,
Table table,
List<Partition> partitions) |
Map<String,PartitionStatistics> |
HiveMetastore.getPartitionStatistics(HiveIdentity identity,
Table table,
List<Partition> partitions) |
| Constructor and Description |
|---|
PartitionWithStatistics(Partition partition,
String partitionName,
PartitionStatistics statistics) |
| Modifier and Type | Method and Description |
|---|---|
static Partition |
ProtoUtils.fromProto(alluxio.grpc.table.layout.hive.PartitionInfo info) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Partition> |
AlluxioHiveMetastore.getPartition(HiveIdentity identity,
Table table,
List<String> partitionValues) |
Map<String,Optional<Partition>> |
AlluxioHiveMetastore.getPartitionsByNames(HiveIdentity identity,
Table table,
List<String> partitionNames) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,PartitionStatistics> |
AlluxioHiveMetastore.getPartitionStatistics(HiveIdentity identity,
Table table,
List<Partition> partitions) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Partition> |
CachingHiveMetastore.getPartition(HiveIdentity identity,
Table table,
List<String> partitionValues) |
Map<String,Optional<Partition>> |
CachingHiveMetastore.getPartitionsByNames(HiveIdentity identity,
Table table,
List<String> partitionNames) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,PartitionStatistics> |
CachingHiveMetastore.getPartitionStatistics(HiveIdentity identity,
Table table,
List<Partition> partitions) |
| Modifier and Type | Method and Description |
|---|---|
Partition |
PartitionMetadata.toPartition(String databaseName,
String tableName,
List<String> values,
String location) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Partition> |
FileHiveMetastore.getPartition(HiveIdentity identity,
Table table,
List<String> partitionValues) |
Map<String,Optional<Partition>> |
FileHiveMetastore.getPartitionsByNames(HiveIdentity identity,
Table table,
List<String> partitionNames) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,PartitionStatistics> |
FileHiveMetastore.getPartitionStatistics(HiveIdentity identity,
Table table,
List<Partition> partitions) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Partition> |
GlueHiveMetastore.getPartition(HiveIdentity identity,
Table table,
List<String> partitionValues) |
Map<String,Optional<Partition>> |
GlueHiveMetastore.getPartitionsByNames(HiveIdentity identity,
Table table,
List<String> partitionNames)
Ex: Partition keys = ['a', 'b']
Partition names = ['a=1/b=2', 'a=2/b=2']
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,HiveColumnStatistics> |
DisabledGlueColumnStatisticsProvider.getPartitionColumnStatistics(Partition partition) |
Map<String,HiveColumnStatistics> |
GlueColumnStatisticsProvider.getPartitionColumnStatistics(Partition partition) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,PartitionStatistics> |
GlueHiveMetastore.getPartitionStatistics(HiveIdentity identity,
Table table,
List<Partition> partitions) |
| Modifier and Type | Method and Description |
|---|---|
static Partition |
GlueToPrestoConverter.convertPartition(com.amazonaws.services.glue.model.Partition gluePartition,
Map<String,String> tableParameters) |
| Modifier and Type | Method and Description |
|---|---|
static com.amazonaws.services.glue.model.PartitionInput |
GlueInputConverter.convertPartition(Partition partition) |
| Modifier and Type | Method and Description |
|---|---|
static Partition |
ThriftMetastoreUtil.fromMetastoreApiPartition(org.apache.hadoop.hive.metastore.api.Partition partition) |
static Partition |
ThriftMetastoreUtil.fromMetastoreApiPartition(org.apache.hadoop.hive.metastore.api.Partition partition,
List<org.apache.hadoop.hive.metastore.api.FieldSchema> schema) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Partition> |
BridgingHiveMetastore.getPartition(HiveIdentity identity,
Table table,
List<String> partitionValues) |
Map<String,Optional<Partition>> |
BridgingHiveMetastore.getPartitionsByNames(HiveIdentity identity,
Table table,
List<String> partitionNames) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.hive.metastore.api.Partition |
ThriftMetastoreUtil.toMetastoreApiPartition(Partition partition) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,PartitionStatistics> |
BridgingHiveMetastore.getPartitionStatistics(HiveIdentity identity,
Table table,
List<Partition> partitions) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
S3SelectPushdown.shouldEnablePushdownForTable(ConnectorSession session,
Table table,
String path,
Optional<Partition> optionalPartition) |
| Modifier and Type | Method and Description |
|---|---|
static void |
HiveWriteUtils.checkPartitionIsWritable(String partitionName,
Partition partition) |
Copyright © 2012–2020. All rights reserved.