public abstract class DefaultHiveMetaHook extends Object implements HiveMetaHook
ALLOW_PARTITION_KEY_CHANGE, allowedAlterTypes, ALTER_TABLE_OPERATION_TYPE, ALTERLOCATION, INITIALIZE_ROLLBACK_MIGRATION, MIGRATE_HIVE_TO_ICEBERG, PROPERTIES_SEPARATOR, SET_PROPERTIES, SKIP_METASTORE_ALTER, 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, wait
commitAlterTable, commitCreateTable, commitDropTable, createHMSTableInHook, preAlterTable, preCreateTable, preDropTable, preDropTable, preTruncateTable, rollbackAlterTable, rollbackCreateTable, rollbackDropTable
public abstract void commitInsertTable(Table table, boolean overwrite) throws MetaException
table
- table definitionoverwrite
- true if it is INSERT OVERWRITEMetaException
public abstract void preInsertTable(Table table, boolean overwrite) throws MetaException
table
- table definitionoverwrite
- true if it is INSERT OVERWRITEMetaException
public abstract void rollbackInsertTable(Table table, boolean overwrite) throws MetaException
table
- table definitionoverwrite
- true if it is INSERT OVERWRITEMetaException
Copyright © 2022 The Apache Software Foundation. All rights reserved.