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.HiveMetaHook
org.apache.hadoop.hive.metastore.api.MetaException
public 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.HiveMetaHook
org.apache.hadoop.hive.metastore.api.MetaException
public 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.HiveMetaHook
org.apache.hadoop.hive.metastore.api.MetaException
public 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.HiveMetaHook
org.apache.hadoop.hive.metastore.api.MetaException
public 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.HiveMetaHook
org.apache.hadoop.hive.metastore.api.MetaException
public 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.HiveMetaHook
org.apache.hadoop.hive.metastore.api.MetaException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.