Package org.apache.iceberg.mr.hive
Class HiveIcebergMetaHook
java.lang.Object
org.apache.iceberg.mr.hive.HiveIcebergMetaHook
- All Implemented Interfaces:
org.apache.hadoop.hive.metastore.HiveMetaHook
public class HiveIcebergMetaHook
extends Object
implements org.apache.hadoop.hive.metastore.HiveMetaHook
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
commitCreateTable
(org.apache.hadoop.hive.metastore.api.Table hmsTable) void
commitDropTable
(org.apache.hadoop.hive.metastore.api.Table hmsTable, boolean deleteData) void
preCreateTable
(org.apache.hadoop.hive.metastore.api.Table hmsTable) void
preDropTable
(org.apache.hadoop.hive.metastore.api.Table hmsTable) void
rollbackCreateTable
(org.apache.hadoop.hive.metastore.api.Table hmsTable) void
rollbackDropTable
(org.apache.hadoop.hive.metastore.api.Table hmsTable)
-
Constructor Details
-
HiveIcebergMetaHook
public HiveIcebergMetaHook(org.apache.hadoop.conf.Configuration conf)
-
-
Method Details
-
preCreateTable
public void preCreateTable(org.apache.hadoop.hive.metastore.api.Table hmsTable) - Specified by:
preCreateTable
in interfaceorg.apache.hadoop.hive.metastore.HiveMetaHook
-
rollbackCreateTable
public void rollbackCreateTable(org.apache.hadoop.hive.metastore.api.Table hmsTable) - Specified by:
rollbackCreateTable
in interfaceorg.apache.hadoop.hive.metastore.HiveMetaHook
-
commitCreateTable
public void commitCreateTable(org.apache.hadoop.hive.metastore.api.Table hmsTable) - Specified by:
commitCreateTable
in interfaceorg.apache.hadoop.hive.metastore.HiveMetaHook
-
preDropTable
public void preDropTable(org.apache.hadoop.hive.metastore.api.Table hmsTable) - Specified by:
preDropTable
in interfaceorg.apache.hadoop.hive.metastore.HiveMetaHook
-
rollbackDropTable
public void rollbackDropTable(org.apache.hadoop.hive.metastore.api.Table hmsTable) - Specified by:
rollbackDropTable
in interfaceorg.apache.hadoop.hive.metastore.HiveMetaHook
-
commitDropTable
public void commitDropTable(org.apache.hadoop.hive.metastore.api.Table hmsTable, boolean deleteData) - Specified by:
commitDropTable
in interfaceorg.apache.hadoop.hive.metastore.HiveMetaHook
-