| 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.onAcidWrite(AcidWriteEvent acidWriteEvent,
Connection dbConn,
SQLGenerator sqlGenerator)
This will be called to perform acid write operation.
|
void |
MetaStoreEventListener.onAllocWriteId(AllocWriteIdEvent allocWriteIdEvent,
Connection dbConn,
SQLGenerator sqlGenerator)
This will be called to alloc a new write id.
|
void |
HMSMetricsListener.onAllocWriteId(AllocWriteIdEvent allocWriteIdEvent,
Connection dbConn,
SQLGenerator sqlGenerator) |
void |
MetaStoreEventListener.onBatchAcidWrite(BatchAcidWriteEvent batchAcidWriteEvent,
Connection dbConn,
SQLGenerator sqlGenerator)
This will be called to perform acid write operation in a batch.
|
void |
MetaStoreEventListener.onCommitCompaction(CommitCompactionEvent commitCompactionEvent,
Connection dbConn,
SQLGenerator sqlGenerator)
This will be called to commit a compaction transaction.
|
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.
|
void |
MetaStoreEventListener.onUpdatePartitionColumnStatInBatch(UpdatePartitionColumnStatEventBatch updatePartColStatEvent,
Connection dbConn,
SQLGenerator sqlGenerator)
This will be called to update batch of partition column stats.The backend RDBMS operations are done using
direct sql mode.
|
| Modifier and Type | Field and Description |
|---|---|
protected static SQLGenerator |
TxnHandler.sqlGenerator |
| Constructor and Description |
|---|
TxnStoreMutex(SQLGenerator sqlGenerator,
MultiDataSourceJdbcResource jdbcResource) |
| Modifier and Type | Method and Description |
|---|---|
SQLGenerator |
MultiDataSourceJdbcResource.getSqlGenerator() |
| Constructor and Description |
|---|
MultiDataSourceJdbcResource(DatabaseProduct databaseProduct,
org.apache.hadoop.conf.Configuration conf,
SQLGenerator sqlGenerator)
Creates a new instance of the
MultiDataSourceJdbcResource class |
| Constructor and Description |
|---|
GetLocksByLockId(long extLockId,
int limit,
SQLGenerator sqlGenerator) |
GetOpenTxnTypeAndLockHandler(SQLGenerator sqlGenerator,
long txnId) |
ShowCompactHandler(ShowCompactRequest request,
SQLGenerator sqlGenerator) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.