42 ScanSpec &scan_spec,
size_t target_node_count)
43 : m_scan_spec(scan_spec), m_eod(false) {
47 ns->get_table_splits(name,
m_splits);
51 for (
size_t i=0; i<
m_splits.size(); ++i)
90 if ((*m_scanner_iter)->next(cell)) {
109 scanner.reset(
m_table->create_scanner(tmp_scan_spec) );
132 while (dumper.
next(cell))
std::list< TableScannerPtr >::iterator m_scanner_iter
pair< int64_t, int64_t > time_interval
std::vector< uint32_t > m_ordering
static uint32_t number32(uint32_t maximum=0)
Returns a random 32-bit unsigned integer.
std::shared_ptr< TableScanner > TableScannerPtr
Smart pointer to TableScanner.
Represents a row interval.
std::shared_ptr< Namespace > NamespacePtr
Shared smart pointer to Namespace.
Scan predicate and control specification.
Compatibility Macros for C/C++.
bool next(Cell &cell)
Get the next cell.
std::list< TableScannerPtr > m_scanners
void copy(TableDumper &, CellsBuilder &)
TableDumper(NamespacePtr &ns, const std::string &name, ScanSpec &scan_spec, size_t target_node_count=20)
Constructs a TableDumper object.
Random number generator for int32, int64, double and ascii arrays.
RowIntervals row_intervals
A String class based on std::string.
void add(const Cell &cell, bool own=true)
Encapsulates decomposed key and value.
TableSplitsContainer m_splits
Error codes, Exception handling, error logging.