Creates a Communicator.
The low level service client.
The QLDB ledger name.
The initial session token representing the session connection.
Call the sendCommand method of the low level service client.
A SendCommandRequest object containing the request information to be sent to QLDB.
Promise which fulfills with a SendCommandResult object.
Send request to abort the currently active transaction.
Promise which fulfills with the abort transaction response returned from QLDB.
Send request to commit the currently active transaction.
The ID of the transaction.
The digest hash of the transaction to commit.
Promise which fulfills with the commit transaction response returned from QLDB.
Send request to end the independent session represented by the instance of this class.
Promise which fulfills with void.
Send an execute statement request with parameters to QLDB.
The ID of the transaction.
The statement to execute.
The parameters of the statement contained in ValueHolders.
Promise which fulfills with the execute statement response returned from QLDB.
Send fetch result request to QLDB, retrieving the next chunk of data for the result.
The ID of the transaction.
The token to fetch the next page.
Promise which fulfills with the fetch page response returned from QLDB.
Get the QLDB ledger name.
The QLDB ledger name.
Get the low-level service client that communicates with QLDB.
The low-level service client.
Get the session token representing the session connection.
The session token.
Send a request to start a transaction.
Promise which fulfills with the start transaction response returned from QLDB.
Static factory method that creates a Communicator object.
The low level client that communicates with QLDB.
The QLDB ledger name.
Promise which fulfills with a Communicator.
Generated using TypeDoc
A class representing an independent session to a QLDB ledger that handles endpoint requests. This class is used in
QldbDriver
andQldbSessionImpl
. This class is not meant to be used directly by developers.