0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
Hypertable::CellStoreScanner< IndexT > Class Template Reference

Provides the ability to scan over (query) a cell store. More...

#include <CellStoreScanner.h>

Inheritance diagram for Hypertable::CellStoreScanner< IndexT >:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::CellStoreScanner< IndexT >:
Collaboration graph
[legend]

Public Member Functions

 CellStoreScanner (CellStorePtr &&cellstore, ScanContext *scan_ctx, IndexT *indexp=0)
 
virtual ~CellStoreScanner ()
 
void forward () override
 
bool get (Key &key, ByteString &value) override
 
int64_t get_disk_read () override
 
- Public Member Functions inherited from Hypertable::CellListScanner
 CellListScanner ()
 
 CellListScanner (ScanContext *scan_ctx)
 
virtual ~CellListScanner ()
 
ScanContextscan_context ()
 
void add_disk_read (int64_t amount)
 

Private Attributes

CellStorePtr m_cellstore
 
std::unique_ptr
< CellStoreScannerInterval
m_interval_scanners [3]
 
size_t m_interval_index {}
 
size_t m_interval_max {}
 
DynamicBuffer m_key_buf
 
bool m_keys_only {}
 
bool m_eos {}
 
bool m_decrement_blockindex_refcount {}
 

Additional Inherited Members

- Protected Attributes inherited from Hypertable::CellListScanner
uint64_t m_disk_read {}
 
ScanContextm_scan_context_ptr {}
 

Detailed Description

template<typename IndexT>
class Hypertable::CellStoreScanner< IndexT >

Provides the ability to scan over (query) a cell store.

Template Parameters
IndexTType of block index

Definition at line 46 of file CellStoreScanner.h.

Constructor & Destructor Documentation

template<typename IndexT >
CellStoreScanner::CellStoreScanner ( CellStorePtr &&  cellstore,
ScanContext scan_ctx,
IndexT *  indexp = 0 
)

Fetch ROW deletes

Fetch COLUMN FAMILY deletes

Definition at line 44 of file CellStoreScanner.cc.

template<typename IndexT >
CellStoreScanner::~CellStoreScanner ( )
virtual

Definition at line 153 of file CellStoreScanner.cc.

Member Function Documentation

template<typename IndexT >
void CellStoreScanner::forward ( )
overridevirtual

Implements Hypertable::CellListScanner.

Definition at line 198 of file CellStoreScanner.cc.

template<typename IndexT >
bool CellStoreScanner::get ( Key key,
ByteString value 
)
overridevirtual

Implements Hypertable::CellListScanner.

Definition at line 161 of file CellStoreScanner.cc.

template<typename IndexT >
int64_t CellStoreScanner::get_disk_read ( )
overridevirtual

Implements Hypertable::CellListScanner.

Definition at line 188 of file CellStoreScanner.cc.

Member Data Documentation

template<typename IndexT >
CellStorePtr Hypertable::CellStoreScanner< IndexT >::m_cellstore
private

Definition at line 57 of file CellStoreScanner.h.

template<typename IndexT >
bool Hypertable::CellStoreScanner< IndexT >::m_decrement_blockindex_refcount {}
private

Definition at line 64 of file CellStoreScanner.h.

template<typename IndexT >
bool Hypertable::CellStoreScanner< IndexT >::m_eos {}
private

Definition at line 63 of file CellStoreScanner.h.

template<typename IndexT >
size_t Hypertable::CellStoreScanner< IndexT >::m_interval_index {}
private

Definition at line 59 of file CellStoreScanner.h.

template<typename IndexT >
size_t Hypertable::CellStoreScanner< IndexT >::m_interval_max {}
private

Definition at line 60 of file CellStoreScanner.h.

template<typename IndexT >
std::unique_ptr<CellStoreScannerInterval> Hypertable::CellStoreScanner< IndexT >::m_interval_scanners[3]
private

Definition at line 58 of file CellStoreScanner.h.

template<typename IndexT >
DynamicBuffer Hypertable::CellStoreScanner< IndexT >::m_key_buf
private

Definition at line 61 of file CellStoreScanner.h.

template<typename IndexT >
bool Hypertable::CellStoreScanner< IndexT >::m_keys_only {}
private

Definition at line 62 of file CellStoreScanner.h.


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