The SWC-DB Cells C++ namespace 'SWC::DB::Cells'. More...
Namespaces | |
TSV | |
The SWC-DB Tab-Separated-Values C++ namespace 'SWC::DB::Cells::TSV'. | |
Classes | |
class | Cell |
class | Interval |
class | Mutable |
class | MutableVec |
class | ReqScan |
class | ReqScanTest |
class | Result |
Enumerations | |
enum | Flag : uint8_t { NONE = 0x0, INSERT = 0x1, DELETE_LE = 0x2, DELETE_EQ = 0x3 } |
Functions | |
const char *SWC_CONST_FUNC | to_string (Flag flag) noexcept |
Flag SWC_PURE_FUNC | flag_from (const uint8_t *rptr, uint32_t len) noexcept |
Variables | |
constexpr const int64_t | TIMESTAMP_NULL = INT64_MIN + 1 |
constexpr const int64_t | TIMESTAMP_AUTO = INT64_MIN + 2 |
constexpr const int64_t | TIMESTAMP_MIN = INT64_MIN + 3 |
constexpr const int64_t | TIMESTAMP_MAX = INT64_MAX |
constexpr const uint8_t | TS_DESC = 0x01 |
constexpr const uint8_t | HAVE_ENCODER = 0x02 |
constexpr const uint8_t | REV_IS_TS = 0x04 |
constexpr const uint8_t | HAVE_TIMESTAMP = 0x08 |
constexpr const uint8_t | HAVE_REVISION = 0x10 |
constexpr const uint8_t | OP_EQUAL = 0x01 |
constexpr const uint8_t | MASK_TS_DESC = 0xff - TS_DESC |
constexpr const uint8_t | MASK_HAVE_ENCODER = 0xff - HAVE_ENCODER |
constexpr const uint8_t | MASK_REV_IS_TS = 0xff - REV_IS_TS |
constexpr const uint8_t | MASK_HAVE_TIMESTAMP = 0xff - HAVE_TIMESTAMP |
constexpr const uint8_t | MASK_HAVE_REVISION = 0xff - HAVE_REVISION |
The SWC-DB Cells C++ namespace 'SWC::DB::Cells'.
enum SWC::DB::Cells::Flag : uint8_t |
|
noexcept |
Definition at line 32 of file Cell.cc.
References DELETE_EQ, DELETE_LE, INSERT, SWC::Condition::NONE, and SWC::Condition::str_case_eq().
Referenced by SWC::DB::Cells::TSV::FileReader::read().
|
noexcept |
Definition at line 17 of file Cell.cc.
References DELETE_EQ, DELETE_LE, INSERT, and SWC::Condition::NONE.
Referenced by SWC::DB::Cells::Cell::display(), SWC::DB::Cells::Cell::print(), and SWC::DB::Cells::TSV::FileWriter::write().
|
constexpr |
Definition at line 78 of file Cell.h.
Referenced by SWC::DB::Cells::Cell::have_encoder(), SWC::DB::Cells::TSV::FileReader::read(), and SWC::DB::Cells::Cell::set_value().
|
constexpr |
Definition at line 81 of file Cell.h.
Referenced by SWC::DB::Cells::Cell::Cell(), SWC::DB::Cells::Cell::display(), SWC::DB::Cells::Cell::encoded_length(), SWC::DB::Cells::Cell::equal(), SWC::DB::Cells::Cell::get_counter(), SWC::DB::Cells::Cell::print(), SWC::ThriftBroker::AppHandler::process_results(), SWC::DB::Cells::Cell::read(), SWC::DB::Cells::Cell::set_counter(), SWC::DB::Cells::Cell::set_revision(), and SWC::DB::Cells::Cell::write().
|
constexpr |
Definition at line 80 of file Cell.h.
Referenced by SWC::Ranger::Range::_run_add_queue(), SWC::DB::Cells::Cell::Cell(), SWC::DB::Cells::Cell::encoded_length(), SWC::DB::Cells::Cell::equal(), SWC::DB::Cells::Cell::has_expired(), SWC::DB::Cells::Cell::read(), SWC::DB::Cells::Cell::set_timestamp(), and SWC::DB::Cells::Cell::write().
|
constexpr |
Definition at line 86 of file Cell.h.
Referenced by SWC::DB::Cells::Cell::copy(), SWC::DB::Cells::Cell::set_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating::update_cell_value(), and SWC::DB::Cells::Cell::write().
|
constexpr |
Definition at line 89 of file Cell.h.
Referenced by SWC::DB::Cells::Cell::set_timestamp_with_rev_is_ts().
|
constexpr |
Definition at line 88 of file Cell.h.
Referenced by SWC::DB::Cells::Cell::set_timestamp_auto(), and SWC::DB::Cells::Cell::set_timestamp_null().
|
constexpr |
Definition at line 87 of file Cell.h.
Referenced by SWC::DB::Cells::Cell::set_revision(), SWC::DB::Cells::Cell::set_timestamp_auto(), and SWC::DB::Cells::Cell::set_timestamp_null().
|
constexpr |
Definition at line 85 of file Cell.h.
Referenced by SWC::DB::Cells::Cell::set_time_order_desc().
|
constexpr |
Definition at line 83 of file Cell.h.
Referenced by SWC::DB::Cells::Mutable::_add_counter(), SWC::DB::Cells::Mutable::_finalize_counter(), SWC::DB::Cells::Cell::counter_from_str(), SWC::DB::Cells::Cell::display(), SWC::DB::Cells::Cell::print(), SWC::ThriftBroker::AppHandler::process_results(), SWC::DB::Cells::TSV::FileReader::read(), SWC::client::SQL::Reader::read_ts_and_value(), SWC::DB::Cells::Cell::set_counter(), and SWC::DB::Cells::TSV::FileWriter::write().
|
constexpr |
Definition at line 79 of file Cell.h.
Referenced by SWC::DB::Cells::Cell::Cell(), SWC::DB::Cells::Cell::read(), SWC::DB::Cells::Cell::set_timestamp_auto(), SWC::DB::Cells::Cell::set_timestamp_null(), and SWC::DB::Cells::Cell::set_timestamp_with_rev_is_ts().
|
constexpr |
Definition at line 73 of file Cell.h.
Referenced by SWC::DB::Cells::Mutable::_add_counter(), SWC::DB::Cells::Mutable::_add_plain_version_multi(), SWC::DB::Cells::Mutable::_add_plain_version_single(), SWC::DB::Cells::Mutable::_add_remove(), SWC::DB::Cells::Mutable::_add_unfinalized(), SWC::DB::Cells::Cell::Cell(), SWC::Ranger::Compaction::compact(), SWC::Ranger::CellStore::Readers::get_ts_earliest(), SWC::DB::Cells::Cell::is_removing(), SWC::DB::Cells::Cell::read(), SWC::Thrift::Converter::set(), SWC::DB::Cells::Cell::set_timestamp_auto(), SWC::DB::Cells::Cell::set_timestamp_null(), and SWC::Ranger::Callback::RangeQuerySelectUpdating::update().
|
constexpr |
|
constexpr |
|
constexpr |
Definition at line 72 of file Cell.h.
Referenced by SWC::DB::Cells::Mutable::_add_counter(), SWC::DB::Cells::Mutable::_finalize_counter(), SWC::DB::Cells::Cell::display(), SWC::DB::Cells::Cell::get_counter(), SWC::DB::Cells::Cell::print(), SWC::DB::Cells::TSV::FileReader::read(), SWC::DB::Cells::Cell::set_counter(), SWC::DB::Cells::Cell::set_timestamp_null(), SWC::Ranger::Callback::RangeQuerySelectUpdating::update(), and SWC::DB::Cells::TSV::FileWriter::write().
|
constexpr |
Definition at line 77 of file Cell.h.
Referenced by SWC::DB::Cells::Cell::is_time_order_desc(), and SWC::DB::Cells::Cell::set_time_order_desc().