@FunctionalInterface public interface ExecutorNoReturn
The transaction commits after the function finishes executing all statements and if no exception is thrown inside the function.
If an exception is thrown then the transaction will be aborted.
The function will receive a TransactionExecutor to execute PartiQL statements.
| Modifier and Type | Method and Description |
|---|---|
void |
execute(TransactionExecutor executor)
Executes the operation using the specified
TransactionExecutor. |
void execute(TransactionExecutor executor)
TransactionExecutor.executor - The executor to use in executing any statements against QLDB.