Package | Description |
---|---|
org.apache.hadoop.hive.metastore | |
org.apache.hive.hcatalog.listener |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
MetaStoreListenerNotifier.notifyEventWithDirectSql(List<? extends MetaStoreEventListener> listeners,
EventMessage.EventType eventType,
ListenerEvent event,
Connection dbConn,
SQLGenerator sqlGenerator)
Notify a list of listeners about a specific metastore event to be executed within a txn.
|
void |
MetaStoreEventListener.onAbortTxn(AbortTxnEvent abortTxnEvent,
Connection dbConn,
SQLGenerator sqlGenerator)
This will be called to abort a transaction.
|
void |
MetaStoreEventListener.onAllocWriteId(AllocWriteIdEvent allocWriteIdEvent,
Connection dbConn,
SQLGenerator sqlGenerator)
This will be called to alloc a new write id.
|
void |
MetaStoreEventListener.onCommitTxn(CommitTxnEvent commitTxnEvent,
Connection dbConn,
SQLGenerator sqlGenerator)
This will be called to commit a transaction.
|
void |
MetaStoreEventListener.onOpenTxn(OpenTxnEvent openTxnEvent,
Connection dbConn,
SQLGenerator sqlGenerator)
This will be called when a new transaction is started.
|
Modifier and Type | Method and Description |
---|---|
void |
DbNotificationListener.onAbortTxn(AbortTxnEvent abortTxnEvent,
Connection dbConn,
SQLGenerator sqlGenerator) |
void |
DbNotificationListener.onAllocWriteId(AllocWriteIdEvent allocWriteIdEvent,
Connection dbConn,
SQLGenerator sqlGenerator) |
void |
DbNotificationListener.onCommitTxn(CommitTxnEvent commitTxnEvent,
Connection dbConn,
SQLGenerator sqlGenerator) |
void |
DbNotificationListener.onOpenTxn(OpenTxnEvent openTxnEvent,
Connection dbConn,
SQLGenerator sqlGenerator) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.