public class AllocateTableWriteIdsFunction extends Object implements TransactionalFunction<AllocateTableWriteIdsResponse>
| Constructor and Description |
|---|
AllocateTableWriteIdsFunction(AllocateTableWriteIdsRequest rqst,
List<TransactionalMetaStoreEventListener> transactionalListeners) |
| Modifier and Type | Method and Description |
|---|---|
AllocateTableWriteIdsResponse |
execute(MultiDataSourceJdbcResource jdbcResource)
Implementations typically should execute transsactional database calls inside.
|
public AllocateTableWriteIdsFunction(AllocateTableWriteIdsRequest rqst, List<TransactionalMetaStoreEventListener> transactionalListeners)
public AllocateTableWriteIdsResponse execute(MultiDataSourceJdbcResource jdbcResource) throws MetaException
TransactionalFunctionexecute in interface TransactionalFunction<AllocateTableWriteIdsResponse>jdbcResource - A MultiDataSourceJdbcResource instance responsible for providing all the necessary resources
to be able to perform transactional database calls.MetaException - Thrown in case of application error within the functionCopyright © 2024 The Apache Software Foundation. All rights reserved.