public interface LocationHelper
Modifier and Type | Method and Description |
---|---|
void |
createPathIfRequired(Path dbPath,
FileIO fileIO) |
void |
dropPathIfRequired(Path path,
FileIO fileIO) |
String |
getDatabaseLocation(org.apache.hadoop.hive.metastore.api.Database database) |
String |
getTableLocation(org.apache.hadoop.hive.metastore.api.Table table) |
void |
specifyDatabaseLocation(Path path,
org.apache.hadoop.hive.metastore.api.Database database) |
void |
specifyTableLocation(org.apache.hadoop.hive.metastore.api.Table table,
String location) |
void createPathIfRequired(Path dbPath, FileIO fileIO) throws IOException
IOException
void dropPathIfRequired(Path path, FileIO fileIO) throws IOException
IOException
void specifyTableLocation(org.apache.hadoop.hive.metastore.api.Table table, String location)
String getTableLocation(org.apache.hadoop.hive.metastore.api.Table table)
void specifyDatabaseLocation(Path path, org.apache.hadoop.hive.metastore.api.Database database)
String getDatabaseLocation(org.apache.hadoop.hive.metastore.api.Database database)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.