[NOT RECOMMENDED] It is not recommended to use this class directly during transaction execution.
Instead, please use QldbDriver.executeLambda to execute the transaction.
Execute a lambda within a new transaction and commit the transaction, retrying up to the retry limit if an OCC
conflict or retriable exception occurs.
A lambda representing the block of code to be executed within the transaction. This cannot
have any side effects as it may be invoked multiple times, and the result cannot be trusted
until the transaction is committed.
An optional lambda that is invoked when the querylambda is about to be retried due to an
OCC conflict or retriable exception.
Promise which fulfills with the return value of the queryLambda which could be a Result
on the result set of a statement within the lambda.
[NOT RECOMMENDED] It is not recommended to use this class directly during transaction execution. Instead, please use
QldbDriver.executeLambdato execute the transaction.