pyqldb.session.base_qldb_session.
BaseQldbSession
[source]¶An abstract base class representing a session to a specific ledger within QLDB.
execute_lambda
(query_lambda, retry_indicator)[source]¶Implicitly start a transaction, execute the lambda function, and commit the transaction, retrying up to the retry limit if an OCC conflict or retriable exception occurs. This method must be overridden.
execute_statement
(statement, parameters, retry_indicator)[source]¶Implicitly start a transaction, execute the statement, and commit the transaction, retrying up to the retry limit if an OCC conflict or retriable exception occurs. This method must be overridden.
ledger_name
¶Get the ledger name. This method must be overridden.
list_tables
()[source]¶Get the list of table names in the ledger. This method must be overridden.
session_token
¶Get the session token. This method must be overridden.