Scan context information.
More...
#include <ScanContext.h>
Scan context information.
Definition at line 52 of file ScanContext.h.
Hypertable::ScanContext::ScanContext |
( |
int64_t |
rev, |
|
|
const ScanSpec * |
ss, |
|
|
const RangeSpec * |
range, |
|
|
SchemaPtr & |
schema, |
|
|
std::set< uint8_t > * |
columns = 0 |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
rev | scan revision |
ss | scan specification |
range | range specification |
schema | smart pointer to schema object |
columns | Vector of column identifiers |
Definition at line 88 of file ScanContext.h.
Hypertable::ScanContext::ScanContext |
( |
int64_t |
rev, |
|
|
SchemaPtr & |
schema |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
rev | scan revision |
schema | smart pointer to schema object |
Definition at line 100 of file ScanContext.h.
Hypertable::ScanContext::ScanContext |
( |
int64_t |
rev = TIMESTAMP_MAX | ) |
|
|
inline |
Hypertable::ScanContext::ScanContext |
( |
SchemaPtr & |
schema | ) |
|
|
inline |
Constructor.
- Parameters
-
schema | smart pointer to schema object |
Definition at line 121 of file ScanContext.h.
Hypertable::ScanContext::~ScanContext |
( |
| ) |
|
|
inline |
Hypertable::ScanContext::ScanContext |
( |
const ScanContext & |
| ) |
|
|
private |
Disable copy ctor and assignment op.
void Hypertable::ScanContext::deep_copy_specs |
( |
| ) |
|
|
inline |
void ScanContext::initialize |
( |
int64_t |
rev, |
|
|
const ScanSpec * |
ss, |
|
|
const RangeSpec * |
range, |
|
|
SchemaPtr & |
sp, |
|
|
std::set< uint8_t > * |
columns = 0 |
|
) |
| |
|
private |
Initializes the scan context.
Sets up the family_mask filter that allows for quick lookups to see if a family is included in the scan. Also sets up cell_predicates entries for the column families that are included in the scan which contains cell garbage collection info for each family (e.g. cutoff timestamp and number of copies to keep). Also sets up end_row to be the last possible key in spec->end_row.
- Parameters
-
rev | scan revision |
ss | scan specification |
range | range specifier |
sp | shared pointer to schema object |
columns | Pointer to column family ID set to be populated |
Create Start Key and End Key
Get row, value regexps and row set
Definition at line 47 of file ScanContext.cc.
bool Hypertable::ScanContext::end_inclusive |
Key Hypertable::ScanContext::end_key |
String Hypertable::ScanContext::end_qualifier |
String Hypertable::ScanContext::end_row |
bool Hypertable::ScanContext::family_mask[256] |
bool Hypertable::ScanContext::has_cell_interval |
bool Hypertable::ScanContext::has_start_cf_qualifier |
const RangeSpec* Hypertable::ScanContext::range |
bool Hypertable::ScanContext::restricted_range |
int64_t Hypertable::ScanContext::revision |
RE2* Hypertable::ScanContext::row_regexp |
bool Hypertable::ScanContext::single_row |
const ScanSpec* Hypertable::ScanContext::spec |
bool Hypertable::ScanContext::start_inclusive |
Key Hypertable::ScanContext::start_key |
String Hypertable::ScanContext::start_qualifier |
String Hypertable::ScanContext::start_row |
pair<int64_t, int64_t> Hypertable::ScanContext::time_interval |
uint32_t Hypertable::ScanContext::timeout_ms |
RE2* Hypertable::ScanContext::value_regexp |
The documentation for this class was generated from the following files:
- /home/doug/src/hypertable/src/cc/Hypertable/RangeServer/ScanContext.h
- /home/doug/src/hypertable/src/cc/Hypertable/RangeServer/ScanContext.cc