The adapter for the transactions table. This class is responsible for reading the transactions from the FullTableScanner and converting the blobs to the STTx and TxMeta.
More...
#include <TransactionsAdapter.hpp>
|
using | OnTransactionRead = std::function<void(ripple::STTx, ripple::TxMeta)> |
|
The adapter for the transactions table. This class is responsible for reading the transactions from the FullTableScanner and converting the blobs to the STTx and TxMeta.
◆ TransactionsAdapter()
migration::cassandra::impl::TransactionsAdapter::TransactionsAdapter |
( |
std::shared_ptr< CassandraMigrationBackend > | backend, |
|
|
OnTransactionRead | onTxRead ) |
|
inlineexplicit |
Construct a new Transactions Adapter object.
- Parameters
-
backend | The backend |
onTxRead | The callback to call when a transaction is read |
◆ onRowRead()
void migration::cassandra::impl::TransactionsAdapter::onRowRead |
( |
TableTransactionsDesc::Row const & | row | ) |
|
|
override |
The callback when a row is read.
- Parameters
-
The documentation for this class was generated from the following files:
- /__w/clio/clio/src/migration/cassandra/impl/TransactionsAdapter.hpp
- /__w/clio/clio/src/migration/cassandra/impl/TransactionsAdapter.cpp