public abstract class DefaultHiveMetaHook extends Object implements HiveMetaHook
allowedAlterTypes, ALTER_TABLE_OPERATION_TYPE
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
commitCreateTable, commitDropTable, preAlterTable, preCreateTable, preDropTable, 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.