| Package | Description |
|---|---|
| io.prestosql.plugin.hive |
| Modifier and Type | Method and Description |
|---|---|
LocationHandle |
HiveLocationService.forExistingTable(SemiTransactionalHiveMetastore metastore,
ConnectorSession session,
Table table) |
LocationHandle |
LocationService.forExistingTable(SemiTransactionalHiveMetastore metastore,
ConnectorSession session,
Table table) |
LocationHandle |
HiveLocationService.forNewTable(SemiTransactionalHiveMetastore metastore,
ConnectorSession session,
String schemaName,
String tableName) |
LocationHandle |
LocationService.forNewTable(SemiTransactionalHiveMetastore metastore,
ConnectorSession session,
String schemaName,
String tableName) |
LocationHandle |
HiveWritableTableHandle.getLocationHandle() |
| 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. |
LocationService.WriteInfo |
HiveLocationService.getQueryWriteInfo(LocationHandle locationHandle) |
LocationService.WriteInfo |
LocationService.getQueryWriteInfo(LocationHandle locationHandle)
targetPath and writePath will be root directory of all partition and table paths
that may be returned by
LocationService.getTableWriteInfo(LocationHandle, boolean) and LocationService.getPartitionWriteInfo(LocationHandle, Optional, String) method. |
LocationService.WriteInfo |
HiveLocationService.getTableWriteInfo(LocationHandle locationHandle,
boolean overwrite) |
LocationService.WriteInfo |
LocationService.getTableWriteInfo(LocationHandle locationHandle,
boolean overwrite) |
| Constructor and Description |
|---|
HiveInsertTableHandle(String schemaName,
String tableName,
List<HiveColumnHandle> inputColumns,
HivePageSinkMetadata pageSinkMetadata,
LocationHandle locationHandle,
Optional<HiveBucketProperty> bucketProperty,
HiveStorageFormat tableStorageFormat,
HiveStorageFormat partitionStorageFormat) |
HiveOutputTableHandle(String schemaName,
String tableName,
List<HiveColumnHandle> inputColumns,
HivePageSinkMetadata pageSinkMetadata,
LocationHandle locationHandle,
HiveStorageFormat tableStorageFormat,
HiveStorageFormat partitionStorageFormat,
List<String> partitionedBy,
Optional<HiveBucketProperty> bucketProperty,
String tableOwner,
Map<String,String> additionalTableParameters) |
HiveWritableTableHandle(String schemaName,
String tableName,
List<HiveColumnHandle> inputColumns,
HivePageSinkMetadata pageSinkMetadata,
LocationHandle locationHandle,
Optional<HiveBucketProperty> bucketProperty,
HiveStorageFormat tableStorageFormat,
HiveStorageFormat partitionStorageFormat) |
HiveWriterFactory(Set<HiveFileWriterFactory> fileWriterFactories,
String schemaName,
String tableName,
boolean isCreateTable,
List<HiveColumnHandle> inputColumns,
HiveStorageFormat tableStorageFormat,
HiveStorageFormat partitionStorageFormat,
Map<String,String> additionalTableParameters,
OptionalInt bucketCount,
List<SortingColumn> sortedBy,
LocationHandle locationHandle,
LocationService locationService,
String queryId,
HivePageSinkMetadataProvider pageSinkMetadataProvider,
TypeManager typeManager,
HdfsEnvironment hdfsEnvironment,
PageSorter pageSorter,
io.airlift.units.DataSize sortBufferSize,
int maxOpenSortFiles,
boolean immutablePartitions,
ConnectorSession session,
NodeManager nodeManager,
io.airlift.event.client.EventClient eventClient,
HiveSessionProperties hiveSessionProperties,
HiveWriterStats hiveWriterStats) |
Copyright © 2012–2020. All rights reserved.