public class HiveCloneUtils extends Object
Constructor and Description |
---|
HiveCloneUtils() |
Modifier and Type | Method and Description |
---|---|
static Schema |
hiveTableToPaimonSchema(HiveCatalog hiveCatalog,
Identifier identifier) |
static List<HivePartitionFiles> |
listFiles(HiveCatalog hiveCatalog,
Identifier identifier,
RowType partitionRowType,
String defaultPartitionName,
PartitionPredicate predicate) |
static List<Identifier> |
listTables(HiveCatalog hiveCatalog) |
static List<Identifier> |
listTables(HiveCatalog hiveCatalog,
String database) |
public static List<Identifier> listTables(HiveCatalog hiveCatalog) throws Exception
Exception
public static List<Identifier> listTables(HiveCatalog hiveCatalog, String database) throws Exception
Exception
public static Schema hiveTableToPaimonSchema(HiveCatalog hiveCatalog, Identifier identifier) throws Exception
Exception
public static List<HivePartitionFiles> listFiles(HiveCatalog hiveCatalog, Identifier identifier, RowType partitionRowType, String defaultPartitionName, @Nullable PartitionPredicate predicate) throws Exception
Exception
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.