| Modifier and Type | Method and Description |
|---|---|
static void |
HiveWriteUtils.checkTableIsWritable(Table table,
boolean writesToNonManagedTablesEnabled) |
LocationHandle |
HiveLocationService.forExistingTable(SemiTransactionalHiveMetastore metastore,
ConnectorSession session,
Table table) |
LocationHandle |
LocationService.forExistingTable(SemiTransactionalHiveMetastore metastore,
ConnectorSession session,
Table table) |
static List<HiveColumnHandle> |
HiveUtil.getPartitionKeyColumnHandles(Table table) |
static List<HiveColumnHandle> |
HiveUtil.getRegularColumnHandles(Table table) |
static List<HiveColumnHandle> |
HiveUtil.hiveColumnHandles(Table table) |
static boolean |
HiveUtil.isPrestoView(Table table) |
org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.LocatedFileStatus> |
DirectoryLister.list(org.apache.hadoop.fs.FileSystem fs,
Table table,
org.apache.hadoop.fs.Path path) |
org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.LocatedFileStatus> |
CachingDirectoryLister.list(org.apache.hadoop.fs.FileSystem fs,
Table table,
org.apache.hadoop.fs.Path path) |
| Constructor and Description |
|---|
BackgroundHiveSplitLoader(Table table,
Iterable<HivePartitionMetadata> partitions,
TupleDomain<? extends ColumnHandle> compactEffectivePredicate,
Optional<BackgroundHiveSplitLoader.BucketSplitInfo> tableBucketInfo,
ConnectorSession session,
HdfsEnvironment hdfsEnvironment,
NamenodeStats namenodeStats,
DirectoryLister directoryLister,
Executor executor,
int loaderConcurrency,
boolean recursiveDirWalkerEnabled) |
| Modifier and Type | Method and Description |
|---|---|
Table |
Table.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
Optional<Table> |
HivePageSinkMetadata.getTable()
This method returns empty when the table has not been created yet (i.e.
|
Optional<Table> |
HivePageSinkMetadataProvider.getTable() |
Optional<Table> |
RecordingHiveMetastore.getTable(String databaseName,
String tableName) |
Optional<Table> |
CachingHiveMetastore.getTable(String databaseName,
String tableName) |
Optional<Table> |
HiveMetastore.getTable(String databaseName,
String tableName) |
Optional<Table> |
SemiTransactionalHiveMetastore.getTable(String databaseName,
String tableName) |
List<RecordingHiveMetastore.Pair<HiveTableName,Optional<Table>>> |
RecordingHiveMetastore.Recording.getTables() |
| Modifier and Type | Method and Description |
|---|---|
static Table.Builder |
Table.builder(Table table) |
void |
SemiTransactionalHiveMetastore.createTable(ConnectorSession session,
Table table,
PrincipalPrivileges principalPrivileges,
Optional<org.apache.hadoop.fs.Path> currentPath,
boolean ignoreExisting,
PartitionStatistics statistics)
currentLocation needs to be supplied if a writePath exists for the table. |
void |
RecordingHiveMetastore.createTable(Table table,
PrincipalPrivileges principalPrivileges) |
void |
CachingHiveMetastore.createTable(Table table,
PrincipalPrivileges principalPrivileges) |
void |
HiveMetastore.createTable(Table table,
PrincipalPrivileges principalPrivileges) |
static Properties |
MetastoreUtil.getHiveSchema(Partition partition,
Table table) |
static Properties |
MetastoreUtil.getHiveSchema(Table table) |
static String |
MetastoreUtil.getPartitionLocation(Table table,
Optional<Partition> partition) |
static org.apache.hadoop.hive.metastore.ProtectMode |
MetastoreUtil.getProtectMode(Table table) |
void |
RecordingHiveMetastore.replaceTable(String databaseName,
String tableName,
Table newTable,
PrincipalPrivileges principalPrivileges) |
void |
CachingHiveMetastore.replaceTable(String databaseName,
String tableName,
Table newTable,
PrincipalPrivileges principalPrivileges) |
void |
HiveMetastore.replaceTable(String databaseName,
String tableName,
Table newTable,
PrincipalPrivileges principalPrivileges)
This should only be used if the semantic here is drop and add.
|
void |
SemiTransactionalHiveMetastore.replaceView(String databaseName,
String tableName,
Table table,
PrincipalPrivileges principalPrivileges) |
void |
SemiTransactionalHiveMetastore.setPartitionStatistics(Table table,
Map<List<String>,PartitionStatistics> partitionStatisticsMap) |
void |
SemiTransactionalHiveMetastore.setTableStatistics(Table table,
PartitionStatistics tableStatistics) |
| Modifier and Type | Method and Description |
|---|---|
static HivePageSinkMetadata |
HivePageSinkMetadata.deserialize(SchemaTableName schemaTableName,
Optional<Table> table,
List<HivePageSinkMetadata.JsonSerializableEntry<List<String>,Optional<Partition>>> modifiedPartitions) |
| Modifier and Type | Method and Description |
|---|---|
Table |
TableMetadata.toTable(String databaseName,
String tableName,
String location) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Table> |
FileHiveMetastore.getTable(String databaseName,
String tableName) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileHiveMetastore.createTable(Table table,
PrincipalPrivileges principalPrivileges) |
void |
FileHiveMetastore.replaceTable(String databaseName,
String tableName,
Table newTable,
PrincipalPrivileges principalPrivileges) |
| Constructor and Description |
|---|
PartitionMetadata(Table table,
PartitionWithStatistics partitionWithStatistics) |
TableMetadata(Table table) |
TableMetadata(Table table,
Map<String,HiveColumnStatistics> columnStatistics) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Table> |
GlueHiveMetastore.getTable(String databaseName,
String tableName) |
| Modifier and Type | Method and Description |
|---|---|
void |
GlueHiveMetastore.createTable(Table table,
PrincipalPrivileges principalPrivileges) |
void |
GlueHiveMetastore.replaceTable(String databaseName,
String tableName,
Table newTable,
PrincipalPrivileges principalPrivileges) |
| Modifier and Type | Method and Description |
|---|---|
static Table |
GlueToPrestoConverter.convertTable(com.amazonaws.services.glue.model.Table glueTable,
String dbName) |
| Modifier and Type | Method and Description |
|---|---|
static com.amazonaws.services.glue.model.TableInput |
GlueInputConverter.convertTable(Table table) |
| Modifier and Type | Method and Description |
|---|---|
static Table |
ThriftMetastoreUtil.fromMetastoreApiTable(org.apache.hadoop.hive.metastore.api.Table table) |
static Table |
ThriftMetastoreUtil.fromMetastoreApiTable(org.apache.hadoop.hive.metastore.api.Table table,
List<org.apache.hadoop.hive.metastore.api.FieldSchema> schema) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Table> |
BridgingHiveMetastore.getTable(String databaseName,
String tableName) |
| Modifier and Type | Method and Description |
|---|---|
void |
BridgingHiveMetastore.createTable(Table table,
PrincipalPrivileges principalPrivileges) |
void |
BridgingHiveMetastore.replaceTable(String databaseName,
String tableName,
Table newTable,
PrincipalPrivileges principalPrivileges) |
static org.apache.hadoop.hive.metastore.api.Table |
ThriftMetastoreUtil.toMetastoreApiTable(Table table,
PrincipalPrivileges privileges) |
| Constructor and Description |
|---|
HiveFileIterator(Table table,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FileSystem fileSystem,
DirectoryLister directoryLister,
NamenodeStats namenodeStats,
HiveFileIterator.NestedDirectoryPolicy nestedDirectoryPolicy) |
Copyright © 2012–2019. All rights reserved.