public class HudiHiveCloneExtractor extends HiveTableCloneExtractor
HiveCloneExtractor
for Hudi tables.INSTANCE
EXTRACTORS
Constructor and Description |
---|
HudiHiveCloneExtractor() |
Modifier and Type | Method and Description |
---|---|
List<HivePartitionFiles> |
extractFiles(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) |
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) |
boolean |
matches(org.apache.hadoop.hive.metastore.api.Table table) |
extractOptions, extractPartitionKeys, getIdentifierPrefixOptions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtractor
public boolean matches(org.apache.hadoop.hive.metastore.api.Table table)
matches
in interface HiveCloneExtractor
matches
in class HiveTableCloneExtractor
public 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 HiveCloneExtractor
extractSchema
in class HiveTableCloneExtractor
Exception
public List<HivePartitionFiles> extractFiles(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)
extractFiles
in interface HiveCloneExtractor
extractFiles
in class HiveTableCloneExtractor
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.