22 #ifndef Hypertable_Lib_ScanCells_h
23 #define Hypertable_Lib_ScanCells_h
60 void set_eos(
bool eos =
true) { m_eos = eos; }
64 return m_cells->size();
75 for (
const auto &v : m_scanblocks) {
76 mem_used += v->memory_used();
96 void add(
Cell &cell,
bool own =
true);
108 bool load(
SchemaPtr &schema,
const std::string &end_row,
bool end_inclusive,
110 int64_t *bytes_scanned,
Key *lastkey);
116 for (
const auto &v : m_scanblocks) {
117 if (v->get_skipped_rows())
118 return (v->get_skipped_rows());
127 for (
const auto &v : m_scanblocks) {
128 if (v->get_skipped_cells())
129 return (v->get_skipped_cells());
147 #endif // Hypertable_Lib_ScanCells_h
ProfileDataScanner & profile_data()
Returns reference to profile data.
size_t memory_used() const
ProfileDataScanner m_profile_data
std::vector< Cell, CellAlloc > Cells
void get_cell_unchecked(Cell &cc, size_t ii)
int get_skipped_cells()
get number of cells that were skipped because of a CELL_OFFSET predicate
int get_skipped_rows()
get number of rows that were skipped because of an OFFSET predicate
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
void add(const Key &key, uint8_t flag, const void *value, uint32_t value_len, TableMutatorAsync *value_index_mutator, TableMutatorAsync *qualifier_index_mutator)
std::shared_ptr< ScanCells > ScanCellsPtr
Smart pointer to ScanCells.
std::set< const char *, LtCstr > CstrSet
STL Set managing c-style strings.
Declarations for ProfileDataScanner.
std::shared_ptr< CellsBuilder > CellsBuilderPtr
Smart pointer to CellsBuilder.
Tracks row and cell limits used to enforce scan limit predicates.
Provides access to internal components of opaque key.
vector< ScanBlockPtr > m_scanblocks
Declarations for ScanBlock.
Declaration of ScanLimitState This file contains the type declaration for ScanLimitState, a class to track limits during a scan.
std::shared_ptr< Schema > SchemaPtr
Smart pointer to Schema.
Encapsulates decomposed key and value.
void set_eos(bool eos=true)
String extensions and helpers: sets, maps, append operators etc.
This class takes allows vector access to a set of cells contained in an EventPtr without any copying...