public class AcidEventListener extends MetaStoreEventListener
Constructor and Description |
---|
AcidEventListener(org.apache.hadoop.conf.Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
onAlterDatabase(AlterDatabaseEvent dbEvent) |
void |
onAlterPartition(AlterPartitionEvent partitionEvent) |
void |
onAlterTable(AlterTableEvent tableEvent) |
void |
onDropDatabase(DropDatabaseEvent dbEvent) |
void |
onDropPartition(DropPartitionEvent partitionEvent) |
void |
onDropTable(DropTableEvent tableEvent) |
getConf, onAbortTxn, onAddForeignKey, onAddNotNullConstraint, onAddPartition, onAddPrimaryKey, onAddSchemaVersion, onAddUniqueConstraint, onAllocWriteId, onAlterCatalog, onAlterISchema, onAlterSchemaVersion, onCommitTxn, onConfigChange, onCreateCatalog, onCreateDatabase, onCreateFunction, onCreateISchema, onCreateTable, onDropCatalog, onDropConstraint, onDropFunction, onDropISchema, onDropSchemaVersion, onInsert, onLoadPartitionDone, onOpenTxn, setConf
public AcidEventListener(org.apache.hadoop.conf.Configuration configuration)
public void onDropDatabase(DropDatabaseEvent dbEvent) throws MetaException
onDropDatabase
in class MetaStoreEventListener
dbEvent
- database eventMetaException
public void onDropTable(DropTableEvent tableEvent) throws MetaException
onDropTable
in class MetaStoreEventListener
tableEvent
- table event.MetaException
public void onDropPartition(DropPartitionEvent partitionEvent) throws MetaException
onDropPartition
in class MetaStoreEventListener
partitionEvent
- partition eventMetaException
public void onAlterTable(AlterTableEvent tableEvent) throws MetaException
onAlterTable
in class MetaStoreEventListener
tableEvent
- alter table eventMetaException
public void onAlterPartition(AlterPartitionEvent partitionEvent) throws MetaException
onAlterPartition
in class MetaStoreEventListener
partitionEvent
- partition eventMetaException
public void onAlterDatabase(AlterDatabaseEvent dbEvent) throws MetaException
onAlterDatabase
in class MetaStoreEventListener
dbEvent
- alter database eventMetaException
Copyright © 2022 The Apache Software Foundation. All rights reserved.