|
Clio
develop
The XRP Ledger API server.
|
Prepared statements holder. More...
#include <Schema.hpp>


Public Member Functions | |
| Statements (SettingsProviderType const &settingsProvider, Handle const &handle) | |
| Construct a new Statements object. | |
Public Attributes | |
| PreparedStatement | insertObject |
| Insert a ledger object version into objects. | |
| PreparedStatement | insertTransaction |
| Insert a transaction with its metadata into transactions. | |
| PreparedStatement | insertLedgerTransaction |
| Insert a ledger sequence to transaction hash link into ledger_transactions. | |
| PreparedStatement | insertSuccessor |
| Insert a key to successor link at a ledger sequence into successor. | |
| PreparedStatement | insertDiff |
| Insert a key changed in a ledger into diff. | |
| PreparedStatement | insertAccountTx |
| Insert an account to transaction link into account_tx. | |
| PreparedStatement | insertNFT |
| Insert an NFT state (owner, burned flag) at a ledger sequence into nf_tokens. | |
| PreparedStatement | insertIssuerNFT |
| Insert an issuer/taxon to NFT ID link into issuer_nf_tokens_v2. | |
| PreparedStatement | insertNFTURI |
| Insert an NFT URI at a ledger sequence into nf_token_uris. | |
| PreparedStatement | insertNFTTx |
| Insert an NFT to transaction link into nf_token_transactions. | |
| PreparedStatement | insertMPTokenIssuanceTx |
| Insert an MPT issuance to tx link into mptoken_issuance_transactions. | |
| PreparedStatement | insertAccountMPTokenIssuanceTx |
| Insert an MPT issuance/account to transaction link into account_mptoken_issuance_transactions. | |
| PreparedStatement | insertMPTHolder |
| Insert an MPT ID to holder link into mp_token_holders. | |
| PreparedStatement | insertLedgerHeader |
| Insert a serialized ledger header by sequence into ledgers. | |
| PreparedStatement | insertLedgerHash |
| Insert a ledger hash to sequence mapping into ledger_hashes. | |
| PreparedStatement | deleteLedgerRange |
| Set the minimum (non-latest) sequence in ledger_range. | |
| PreparedStatement | insertMigratorStatus |
| Insert the status of a migrator into migrator_status. | |
| PreparedStatement | updateClioNodeMessage |
| Update the message of a Clio node in nodes_chat. | |
| PreparedStatement | selectSuccessor |
| Select the successor of a key as of a ledger sequence from successor. | |
| PreparedStatement | selectDiff |
| Select the keys changed in a ledger from diff. | |
| PreparedStatement | selectObject |
| Select the latest version of an object as of a ledger sequence from objects. | |
| PreparedStatement | selectTransaction |
| Select a transaction with its metadata, sequence and date by hash. | |
| PreparedStatement | selectAllTransactionHashesInLedger |
| Select all transaction hashes in a ledger. | |
| PreparedStatement | getToken |
| Select the partition token of an object key from objects. | |
| PreparedStatement | selectAccountTx |
| Select a page of account transactions before a cursor (newest first). | |
| PreparedStatement | selectAccountTxForward |
| Select a page of account transactions after a cursor (oldest first). | |
| PreparedStatement | selectNFT |
| Select the state of an NFT as of a ledger sequence from nf_tokens. | |
| PreparedStatement | selectNFTURI |
| Select the URI of an NFT as of a ledger sequence from nf_token_uris. | |
| PreparedStatement | selectNFTTx |
| Select a page of NFT transactions before a cursor (newest first). | |
| PreparedStatement | selectNFTTxForward |
| Select a page of NFT transactions from a cursor (oldest first). | |
| PreparedStatement | selectMPTokenIssuanceTx |
| Select a page of MPT issuance transactions before a cursor (newest first). | |
| PreparedStatement | selectMPTokenIssuanceTxForward |
| Select a page of MPT issuance transactions from a cursor (oldest first). | |
| PreparedStatement | selectAccountMPTokenIssuanceTx |
| Select a page of an account's MPT issuance txs before a cursor (newest first). | |
| PreparedStatement | selectAccountMPTokenIssuanceTxForward |
| Select a page of an account's MPT issuance txs from a cursor (oldest first). | |
| PreparedStatement | selectNFTIDsByIssuerTaxon |
| Select a page of NFT IDs for an issuer and taxon after a token ID. | |
| PreparedStatement | selectMPTHolders |
| Select a page of holders of an MPT after a given holder. | |
| PreparedStatement | selectLedgerByHash |
| Select the ledger sequence for a ledger hash from ledger_hashes. | |
| PreparedStatement | selectLedgerBySeq |
| Select the serialized ledger header by sequence from ledgers. | |
| PreparedStatement | selectLatestLedger |
| Select the latest ledger sequence from ledger_range. | |
| PreparedStatement | selectLedgerRange |
| Select both the min and max sequences from ledger_range. | |
| PreparedStatement | selectMigratorStatus |
| Select the status of a migrator by name from migrator_status. | |
| PreparedStatement | selectClioNodesData |
| Select the IDs and messages of all Clio nodes from nodes_chat. | |
Protected Attributes | |
| std::reference_wrapper< SettingsProviderType const > | settingsProvider_ |
| std::reference_wrapper< Handle const > | handle_ |
Prepared statements holder.
|
inline |
Construct a new Statements object.
| settingsProvider | The settings provider |
| handle | The handle to the DB |
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::deleteLedgerRange |
Set the minimum (non-latest) sequence in ledger_range.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::getToken |
Select the partition token of an object key from objects.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertAccountMPTokenIssuanceTx |
Insert an MPT issuance/account to transaction link into account_mptoken_issuance_transactions.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertAccountTx |
Insert an account to transaction link into account_tx.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertDiff |
Insert a key changed in a ledger into diff.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertIssuerNFT |
Insert an issuer/taxon to NFT ID link into issuer_nf_tokens_v2.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertLedgerHash |
Insert a ledger hash to sequence mapping into ledger_hashes.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertLedgerHeader |
Insert a serialized ledger header by sequence into ledgers.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertLedgerTransaction |
Insert a ledger sequence to transaction hash link into ledger_transactions.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertMigratorStatus |
Insert the status of a migrator into migrator_status.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertMPTHolder |
Insert an MPT ID to holder link into mp_token_holders.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertMPTokenIssuanceTx |
Insert an MPT issuance to tx link into mptoken_issuance_transactions.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertNFT |
Insert an NFT state (owner, burned flag) at a ledger sequence into nf_tokens.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertNFTTx |
Insert an NFT to transaction link into nf_token_transactions.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertNFTURI |
Insert an NFT URI at a ledger sequence into nf_token_uris.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertObject |
Insert a ledger object version into objects.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertSuccessor |
Insert a key to successor link at a ledger sequence into successor.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::insertTransaction |
Insert a transaction with its metadata into transactions.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectAccountMPTokenIssuanceTx |
Select a page of an account's MPT issuance txs before a cursor (newest first).
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectAccountMPTokenIssuanceTxForward |
Select a page of an account's MPT issuance txs from a cursor (oldest first).
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectAccountTx |
Select a page of account transactions before a cursor (newest first).
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectAccountTxForward |
Select a page of account transactions after a cursor (oldest first).
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectAllTransactionHashesInLedger |
Select all transaction hashes in a ledger.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectClioNodesData |
Select the IDs and messages of all Clio nodes from nodes_chat.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectDiff |
Select the keys changed in a ledger from diff.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectLatestLedger |
Select the latest ledger sequence from ledger_range.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectLedgerByHash |
Select the ledger sequence for a ledger hash from ledger_hashes.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectLedgerBySeq |
Select the serialized ledger header by sequence from ledgers.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectLedgerRange |
Select both the min and max sequences from ledger_range.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectMigratorStatus |
Select the status of a migrator by name from migrator_status.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectMPTHolders |
Select a page of holders of an MPT after a given holder.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectMPTokenIssuanceTx |
Select a page of MPT issuance transactions before a cursor (newest first).
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectMPTokenIssuanceTxForward |
Select a page of MPT issuance transactions from a cursor (oldest first).
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectNFT |
Select the state of an NFT as of a ledger sequence from nf_tokens.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectNFTIDsByIssuerTaxon |
Select a page of NFT IDs for an issuer and taxon after a token ID.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectNFTTx |
Select a page of NFT transactions before a cursor (newest first).
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectNFTTxForward |
Select a page of NFT transactions from a cursor (oldest first).
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectNFTURI |
Select the URI of an NFT as of a ledger sequence from nf_token_uris.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectObject |
Select the latest version of an object as of a ledger sequence from objects.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectSuccessor |
Select the successor of a key as of a ledger sequence from successor.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::selectTransaction |
Select a transaction with its metadata, sequence and date by hash.
| PreparedStatement data::cassandra::Schema< SettingsProviderType >::Statements::updateClioNodeMessage |
Update the message of a Clio node in nodes_chat.