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(org.apache.hadoop.hive.metastore.api.Table table,
boolean overwrite)
Called after successfully INSERT [OVERWRITE] statement is executed.
|
abstract void |
preInsertTable(org.apache.hadoop.hive.metastore.api.Table table,
boolean overwrite)
called before commit insert method is called
|
abstract void |
rollbackInsertTable(org.apache.hadoop.hive.metastore.api.Table table,
boolean overwrite)
called in case pre commit or commit insert fail.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcommitCreateTable, commitDropTable, preAlterTable, preCreateTable, preDropTable, rollbackCreateTable, rollbackDropTablepublic abstract void commitInsertTable(org.apache.hadoop.hive.metastore.api.Table table,
boolean overwrite)
throws org.apache.hadoop.hive.metastore.api.MetaException
table - table definitionoverwrite - true if it is INSERT OVERWRITEorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic abstract void preInsertTable(org.apache.hadoop.hive.metastore.api.Table table,
boolean overwrite)
throws org.apache.hadoop.hive.metastore.api.MetaException
table - table definitionoverwrite - true if it is INSERT OVERWRITEorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic abstract void rollbackInsertTable(org.apache.hadoop.hive.metastore.api.Table table,
boolean overwrite)
throws org.apache.hadoop.hive.metastore.api.MetaException
table - table definitionoverwrite - true if it is INSERT OVERWRITEorg.apache.hadoop.hive.metastore.api.MetaExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.