| 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) and LocationService.getPartitionWriteInfo(LocationHandle, Optional, String) method. |
LocationService.WriteInfo |
HiveLocationService.getTableWriteInfo(LocationHandle locationHandle) |
LocationService.WriteInfo |
LocationService.getTableWriteInfo(LocationHandle locationHandle) |
| Constructor and Description |
|---|
HiveInsertTableHandle(String schemaName,
String tableName,
List<HiveColumnHandle> inputColumns,
String filePrefix,
HivePageSinkMetadata pageSinkMetadata,
LocationHandle locationHandle,
Optional<HiveBucketProperty> bucketProperty,
HiveStorageFormat tableStorageFormat,
HiveStorageFormat partitionStorageFormat) |
HiveOutputTableHandle(String schemaName,
String tableName,
List<HiveColumnHandle> inputColumns,
String filePrefix,
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,
String filePrefix,
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,
OptionalInt bucketCount,
List<SortingColumn> sortedBy,
LocationHandle locationHandle,
LocationService locationService,
String filePrefix,
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,
OrcFileWriterFactory orcFileWriterFactory) |
Copyright © 2012–2019. All rights reserved.