Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
migration::cassandra::impl::FullTableScanner< TableAdapter > Class Template Reference

The full table scanner. It will split the full table scan into multiple ranges and read the data in given executor. More...

#include <FullTableScanner.hpp>

Classes

struct  FullTableScannerSettings
 The full table scanner settings. More...
 

Public Member Functions

template<typename ExecutionContextType = util::async::CoroExecutionContext>
 FullTableScanner (FullTableScannerSettings settings, TableAdapter &&reader)
 Construct a new Full Table Scanner object, it will run in a sync or async context according to the parameter. The scan process will immediately start.
 
void wait ()
 Wait for all workers to finish.
 

Detailed Description

template<CanReadByTokenRange TableAdapter>
class migration::cassandra::impl::FullTableScanner< TableAdapter >

The full table scanner. It will split the full table scan into multiple ranges and read the data in given executor.

Template Parameters
TableAdapterThe table adapter type

Constructor & Destructor Documentation

◆ FullTableScanner()

template<CanReadByTokenRange TableAdapter>
template<typename ExecutionContextType = util::async::CoroExecutionContext>
migration::cassandra::impl::FullTableScanner< TableAdapter >::FullTableScanner ( FullTableScannerSettings settings,
TableAdapter && reader )
inline

Construct a new Full Table Scanner object, it will run in a sync or async context according to the parameter. The scan process will immediately start.

Template Parameters
ExecutionContextTypeThe execution context type
Parameters
settingsThe full table scanner settings
readerThe table adapter

The documentation for this class was generated from the following file: