The adapter for the objects table. This class is responsible for reading the objects from the FullTableScanner and converting the blobs to the STObject.
More...
#include <ObjectsAdapter.hpp>
|
using | OnStateRead = std::function<void(std::uint32_t, std::optional<ripple::SLE>)> |
|
The adapter for the objects table. This class is responsible for reading the objects from the FullTableScanner and converting the blobs to the STObject.
◆ ObjectsAdapter()
migration::cassandra::impl::ObjectsAdapter::ObjectsAdapter |
( |
std::shared_ptr< CassandraMigrationBackend > | backend, |
|
|
OnStateRead | onStateRead ) |
|
inlineexplicit |
Construct a new Objects Adapter object.
- Parameters
-
backend | The backend to use |
onStateRead | The callback to call when a state is read |
◆ onRowRead()
void migration::cassandra::impl::ObjectsAdapter::onRowRead |
( |
TableObjectsDesc::Row const & | row | ) |
|
|
override |
Called when a row is read.
- Parameters
-
The documentation for this class was generated from the following files:
- /__w/clio/clio/src/migration/cassandra/impl/ObjectsAdapter.hpp
- /__w/clio/clio/src/migration/cassandra/impl/ObjectsAdapter.cpp