public class PaimonMetaHook extends Object implements org.apache.hadoop.hive.metastore.HiveMetaHook
HiveMetaHook for paimon. Currently this class is only used to set input and output
formats.| Constructor and Description |
|---|
PaimonMetaHook(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
commitCreateTable(org.apache.hadoop.hive.metastore.api.Table table) |
void |
commitDropTable(org.apache.hadoop.hive.metastore.api.Table table,
boolean b) |
void |
preCreateTable(org.apache.hadoop.hive.metastore.api.Table table) |
void |
preDropTable(org.apache.hadoop.hive.metastore.api.Table table) |
void |
rollbackCreateTable(org.apache.hadoop.hive.metastore.api.Table table) |
void |
rollbackDropTable(org.apache.hadoop.hive.metastore.api.Table table) |
public void preCreateTable(org.apache.hadoop.hive.metastore.api.Table table)
throws org.apache.hadoop.hive.metastore.api.MetaException
preCreateTable in interface org.apache.hadoop.hive.metastore.HiveMetaHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic void rollbackCreateTable(org.apache.hadoop.hive.metastore.api.Table table)
throws org.apache.hadoop.hive.metastore.api.MetaException
rollbackCreateTable in interface org.apache.hadoop.hive.metastore.HiveMetaHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic void commitCreateTable(org.apache.hadoop.hive.metastore.api.Table table)
throws org.apache.hadoop.hive.metastore.api.MetaException
commitCreateTable in interface org.apache.hadoop.hive.metastore.HiveMetaHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic void preDropTable(org.apache.hadoop.hive.metastore.api.Table table)
throws org.apache.hadoop.hive.metastore.api.MetaException
preDropTable in interface org.apache.hadoop.hive.metastore.HiveMetaHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic void rollbackDropTable(org.apache.hadoop.hive.metastore.api.Table table)
throws org.apache.hadoop.hive.metastore.api.MetaException
rollbackDropTable in interface org.apache.hadoop.hive.metastore.HiveMetaHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic void commitDropTable(org.apache.hadoop.hive.metastore.api.Table table,
boolean b)
throws org.apache.hadoop.hive.metastore.api.MetaException
commitDropTable in interface org.apache.hadoop.hive.metastore.HiveMetaHookorg.apache.hadoop.hive.metastore.api.MetaExceptionCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.