public abstract class DefaultHiveMetaHook extends Object implements HiveMetaHook
Constructor and Description |
---|
DefaultHiveMetaHook() |
Modifier and Type | Method and Description |
---|---|
abstract void |
commitInsertTable(Table table,
boolean overwrite)
Called after successfully after 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, 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 © 2017 The Apache Software Foundation. All rights reserved.