public class DropTableService
extends java.lang.Object
| Constructor and Description |
|---|
DropTableService() |
| Modifier and Type | Method and Description |
|---|---|
void |
dropTable(com.hotels.hcommon.hive.metastore.client.api.CloseableMetaStoreClient client,
java.lang.String databaseName,
java.lang.String tableName)
Removes all parameters from a table before dropping the table.
|
void |
dropTableAndData(com.hotels.hcommon.hive.metastore.client.api.CloseableMetaStoreClient client,
java.lang.String databaseName,
java.lang.String tableName,
DataManipulator dataManipulator)
Drops the table and its associated data.
|
public void dropTable(com.hotels.hcommon.hive.metastore.client.api.CloseableMetaStoreClient client,
java.lang.String databaseName,
java.lang.String tableName)
throws java.lang.Exception
java.lang.Exception - if the table can't be deleted.public void dropTableAndData(com.hotels.hcommon.hive.metastore.client.api.CloseableMetaStoreClient client,
java.lang.String databaseName,
java.lang.String tableName,
DataManipulator dataManipulator)
throws java.lang.Exception
java.lang.Exception - if the table or its data can't be deleted.Copyright © 2016–2022 Expedia Group. All rights reserved.