40 m_cell_cache_mutex(cellcache->m_mutex) {
62 CellCache::CellMap::iterator iter;
76 current.
load(iter->first);
80 m_deletes.insert(CellCache::CellMap::value_type(iter->first, iter->second));
95 current.
load(iter->first);
100 m_deletes.insert(CellCache::CellMap::value_type(iter->first, iter->second));
SerializedKey start_serkey
size_t m_entry_cache_next
static const uint32_t FLAG_DELETE_ROW
std::string String
A String is simply a typedef to std::string.
CellCache::CellMap::iterator m_cur_iter
const char * value_regexp
CellCachePtr m_cell_cache_ptr
Scan context information.
A dynamic, resizable and reference counted memory buffer.
static const uint32_t FLAG_DELETE_COLUMN_FAMILY
A class managing one or more serializable ByteStrings.
bool has_start_cf_qualifier
void grow(size_t new_size, bool nocopy=false)
Grows the buffer and copies the data unless nocopy is true.
Logging routines and macros.
CellCacheScanner(CellCachePtr cellcache, ScanContext *scan_ctx)
std::vector< CellCacheEntry > m_entry_cache
Compatibility Macros for C/C++.
bool load(const SerializedKey &key)
Parses the opaque key and loads the components into the member variables.
CellCacheMap::iterator m_delete_iter
std::mutex & m_cell_cache_mutex
ScanContext * m_scan_context_ptr
const uint8_t * ptr
The pointer to the serialized data.
void create_key_and_append(DynamicBuffer &dst_buf, const Key &key, bool time_order_asc)
static const int64_t TIMESTAMP_MAX
void clear()
Clears the buffer.
virtual bool get(Key &key, ByteString &value)
Provides access to internal components of opaque key.
uint32_t column_qualifier_len
uint8_t * base
Pointer to the allocated memory buffer.
static int32_t cell_cache_scanner_cache_size
uint8_t column_family_code
CellCacheEntry m_cur_entry
CellCache::CellMap::iterator m_start_iter
std::shared_ptr< CellCache > CellCachePtr
Shared smart pointer to CellCache.
CellCache::CellMap::iterator m_end_iter