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 java.lang.Object implements org.apache.hadoop.hive.metastore.HiveMetaHook
-
-
Constructor Summary
Constructors Constructor Description HiveIcebergMetaHook(org.apache.hadoop.conf.Configuration conf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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)
-
-
-
Method Detail
-
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
-
-