public class HiveTableCloneExtractor extends Object implements HiveCloneExtractor
HiveCloneExtractor for hive tables.| Modifier and Type | Field and Description |
|---|---|
static HiveTableCloneExtractor |
INSTANCE |
EXTRACTORS| Constructor and Description |
|---|
HiveTableCloneExtractor() |
| Modifier and Type | Method and Description |
|---|---|
List<HivePartitionFiles> |
extractFiles(Map<String,String> catalogOptions,
org.apache.hadoop.hive.metastore.IMetaStoreClient client,
org.apache.hadoop.hive.metastore.api.Table table,
FileIO fileIO,
Identifier identifier,
RowType partitionRowType,
String defaultPartitionName,
PartitionPredicate predicate) |
Map<String,String> |
extractOptions(org.apache.hadoop.hive.metastore.api.Table table) |
List<String> |
extractPartitionKeys(org.apache.hadoop.hive.metastore.api.Table table) |
List<org.apache.hadoop.hive.metastore.api.FieldSchema> |
extractSchema(org.apache.hadoop.hive.metastore.IMetaStoreClient client,
org.apache.hadoop.hive.metastore.api.Table hiveTable,
String database,
String table) |
static Map<String,String> |
getIdentifierPrefixOptions(String formatIdentifier,
Map<String,String> options) |
boolean |
matches(org.apache.hadoop.hive.metastore.api.Table table) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtractorpublic static final HiveTableCloneExtractor INSTANCE
public boolean matches(org.apache.hadoop.hive.metastore.api.Table table)
matches in interface HiveCloneExtractorpublic List<org.apache.hadoop.hive.metastore.api.FieldSchema> extractSchema(org.apache.hadoop.hive.metastore.IMetaStoreClient client, org.apache.hadoop.hive.metastore.api.Table hiveTable, String database, String table) throws Exception
extractSchema in interface HiveCloneExtractorExceptionpublic List<HivePartitionFiles> extractFiles(Map<String,String> catalogOptions, org.apache.hadoop.hive.metastore.IMetaStoreClient client, org.apache.hadoop.hive.metastore.api.Table table, FileIO fileIO, Identifier identifier, RowType partitionRowType, String defaultPartitionName, @Nullable PartitionPredicate predicate) throws Exception
extractFiles in interface HiveCloneExtractorExceptionpublic List<String> extractPartitionKeys(org.apache.hadoop.hive.metastore.api.Table table)
extractPartitionKeys in interface HiveCloneExtractorpublic Map<String,String> extractOptions(org.apache.hadoop.hive.metastore.api.Table table)
extractOptions in interface HiveCloneExtractorCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.