public abstract class DefaultHiveMetaHook extends Object implements HiveMetaHook
ALLOW_PARTITION_KEY_CHANGE, allowedAlterTypes, ALTER_TABLE_OPERATION_TYPE, ALTERLOCATION, EXTERNAL, ICEBERG, INITIALIZE_ROLLBACK_MIGRATION, MIGRATE_HIVE_TO_ICEBERG, OLD_DB_NAME, OLD_TABLE_NAME, PROPERTIES_SEPARATOR, SET_PROPERTIES, SKIP_METASTORE_ALTER, TABLE_TYPE, TRANSLATED_TO_EXTERNAL, UNSET_PROPERTIES| Constructor and Description |
|---|
DefaultHiveMetaHook() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
commitInsertTable(Table table,
boolean overwrite)
Called after successfully INSERT [OVERWRITE] statement is executed.
|
abstract void |
preInsertTable(Table table,
boolean overwrite)
called before commit insert method is called
|
abstract void |
rollbackInsertTable(Table table,
boolean overwrite)
called in case pre commit or commit insert fail.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcommitAlterTable, commitCreateTable, commitDropTable, createHMSTableInHook, postGetTable, preAlterTable, preCreateTable, preCreateTable, preDropPartitions, preDropTable, preDropTable, preTruncateTable, preTruncateTable, rollbackAlterTable, rollbackCreateTable, rollbackDropTablepublic abstract void commitInsertTable(Table table, boolean overwrite) throws MetaException
table - table definitionoverwrite - true if it is INSERT OVERWRITEMetaExceptionpublic abstract void preInsertTable(Table table, boolean overwrite) throws MetaException
table - table definitionoverwrite - true if it is INSERT OVERWRITEMetaExceptionpublic abstract void rollbackInsertTable(Table table, boolean overwrite) throws MetaException
table - table definitionoverwrite - true if it is INSERT OVERWRITEMetaExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.