| Package | Description |
|---|---|
| com.facebook.presto.hive | |
| com.facebook.presto.hive.metastore | |
| com.facebook.presto.hive.metastore.file |
| Modifier and Type | Method and Description |
|---|---|
Optional<Partition> |
HivePartitionMetadata.getPartition() |
| Modifier and Type | Method and Description |
|---|---|
static void |
HiveWriteUtils.checkPartitionIsWritable(String partitionName,
Partition partition) |
org.apache.hadoop.fs.Path |
LocationService.targetPath(LocationHandle locationHandle,
Partition partition,
String partitionName)
Target path for the specified existing partition.
|
org.apache.hadoop.fs.Path |
HiveLocationService.targetPath(LocationHandle locationHandle,
Partition partition,
String partitionName) |
| Modifier and Type | Method and Description |
|---|---|
Partition |
Partition.Builder.build() |
static Partition |
MetastoreUtil.fromMetastoreApiPartition(org.apache.hadoop.hive.metastore.api.Partition partition) |
Partition |
SemiTransactionalHiveMetastore.PartitionAndMore.getPartition() |
| Modifier and Type | Method and Description |
|---|---|
List<HivePageSinkMetadata.JsonSerializableEntry<List<String>,Optional<Partition>>> |
HivePageSinkMetadata.getJsonSerializableModifiedPartitions() |
Map<List<String>,Optional<Partition>> |
HivePageSinkMetadata.getModifiedPartitions() |
Optional<Partition> |
HivePageSinkMetadataProvider.getPartition(List<String> partitionValues) |
Optional<Partition> |
SemiTransactionalHiveMetastore.getPartition(String databaseName,
String tableName,
List<String> partitionValues) |
Optional<Partition> |
ExtendedHiveMetastore.getPartition(String databaseName,
String tableName,
List<String> partitionValues) |
Optional<Partition> |
CachingHiveMetastore.getPartition(String databaseName,
String tableName,
List<String> partitionValues) |
Optional<Partition> |
BridgingHiveMetastore.getPartition(String databaseName,
String tableName,
List<String> partitionValues) |
Map<String,Optional<Partition>> |
SemiTransactionalHiveMetastore.getPartitionsByNames(String databaseName,
String tableName,
List<String> partitionNames) |
Map<String,Optional<Partition>> |
ExtendedHiveMetastore.getPartitionsByNames(String databaseName,
String tableName,
List<String> partitionNames) |
Map<String,Optional<Partition>> |
CachingHiveMetastore.getPartitionsByNames(String databaseName,
String tableName,
List<String> partitionNames) |
Map<String,Optional<Partition>> |
BridgingHiveMetastore.getPartitionsByNames(String databaseName,
String tableName,
List<String> partitionNames) |
| Modifier and Type | Method and Description |
|---|---|
void |
SemiTransactionalHiveMetastore.addPartition(ConnectorSession session,
String databaseName,
String tableName,
Partition partition,
org.apache.hadoop.fs.Path currentLocation) |
void |
ExtendedHiveMetastore.alterPartition(String databaseName,
String tableName,
Partition partition) |
void |
CachingHiveMetastore.alterPartition(String databaseName,
String tableName,
Partition partition) |
void |
BridgingHiveMetastore.alterPartition(String databaseName,
String tableName,
Partition partition) |
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) |
SemiTransactionalHiveMetastore.PartitionAndMore |
SemiTransactionalHiveMetastore.PartitionAndMore.jsonCreator(Partition partition,
org.apache.hadoop.fs.Path currentLocation) |
static org.apache.hadoop.hive.metastore.api.Partition |
MetastoreUtil.toMetastoreApiPartition(Partition partition) |
| Modifier and Type | Method and Description |
|---|---|
void |
ExtendedHiveMetastore.addPartitions(String databaseName,
String tableName,
List<Partition> partitions)
Adds partitions to the table in a single atomic task.
|
void |
CachingHiveMetastore.addPartitions(String databaseName,
String tableName,
List<Partition> partitions) |
void |
BridgingHiveMetastore.addPartitions(String databaseName,
String tableName,
List<Partition> partitions) |
static HivePageSinkMetadata |
HivePageSinkMetadata.deserialize(SchemaTableName schemaTableName,
Optional<Table> table,
List<HivePageSinkMetadata.JsonSerializableEntry<List<String>,Optional<Partition>>> modifiedPartitions) |
| Constructor and Description |
|---|
PartitionAndMore(Partition partition,
org.apache.hadoop.fs.Path currentLocation,
Optional<List<String>> fileNames) |
| Constructor and Description |
|---|
HivePageSinkMetadata(SchemaTableName schemaTableName,
Optional<Table> table,
Map<List<String>,Optional<Partition>> modifiedPartitions) |
| 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(String databaseName,
String tableName,
List<String> partitionValues) |
Map<String,Optional<Partition>> |
FileHiveMetastore.getPartitionsByNames(String databaseName,
String tableName,
List<String> partitionNames) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileHiveMetastore.alterPartition(String databaseName,
String tableName,
Partition partition) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileHiveMetastore.addPartitions(String databaseName,
String tableName,
List<Partition> partitions) |
| Constructor and Description |
|---|
PartitionMetadata(Table table,
Partition partition) |
Copyright © 2012-2017. All Rights Reserved.