The SWC-DB Serial Value Cell C++ namespace 'SWC::DB::Cell::Serial::Value'. More...
Classes | |
struct | Field |
struct | Field_BYTES |
struct | Field_DOUBLE |
struct | Field_INT64 |
struct | Field_KEY |
struct | Field_LIST_BYTES |
struct | Field_LIST_INT64 |
struct | Fields |
struct | FieldsUpdaterMap |
struct | FieldsWriter |
class | FieldUpdate |
class | FieldUpdate_Ext |
class | FieldUpdate_LIST |
class | FieldUpdate_LIST_ITEMS |
class | FieldUpdate_MATH |
struct | FieldUpdateOP |
Fields Reader with FieldsWriter & FieldUpdate serialization. More... | |
Typedefs | |
typedef Core::Vector< const FieldUpdateOP * > | FieldUpdateOpPtrs |
typedef FieldUpdate_LIST_ITEMS< FieldUpdate_MATH, int64_t > | FieldUpdate_LIST_INT64 |
typedef FieldUpdate_LIST_ITEMS< FieldUpdate_LIST, std::string > | FieldUpdate_LIST_BYTES |
Enumerations | |
enum | Type : uint8_t { UNKNOWN = 0x00, INT64 = 0x01, DOUBLE = 0x02, BYTES = 0x03, KEY = 0x04, LIST_INT64 = 0x05, LIST_BYTES = 0x06 } |
Functions | |
const char *SWC_CONST_FUNC | to_string (Type typ) noexcept |
SWC_CAN_INLINE Type | read_type (const uint8_t **bufp, size_t *remainp) |
SWC_CAN_INLINE uint24_t | read_field_id (const uint8_t **bufp, size_t *remainp) |
SWC_CAN_INLINE void | skip_type_and_id (const uint8_t **bufp, size_t *remainp) |
The SWC-DB Serial Value Cell C++ namespace 'SWC::DB::Cell::Serial::Value'.
typedef FieldUpdate_LIST_ITEMS<FieldUpdate_LIST, std::string> SWC::DB::Cell::Serial::Value::FieldUpdate_LIST_BYTES |
Definition at line 763 of file CellValueSerialFieldUpdate.h.
typedef FieldUpdate_LIST_ITEMS<FieldUpdate_MATH, int64_t> SWC::DB::Cell::Serial::Value::FieldUpdate_LIST_INT64 |
Definition at line 761 of file CellValueSerialFieldUpdate.h.
typedef Core::Vector<const FieldUpdateOP*> SWC::DB::Cell::Serial::Value::FieldUpdateOpPtrs |
Definition at line 191 of file CellValueSerialFields.h.
enum SWC::DB::Cell::Serial::Value::Type : uint8_t |
Enumerator | |
---|---|
UNKNOWN | |
INT64 | |
DOUBLE | |
BYTES | |
KEY | |
LIST_INT64 | |
LIST_BYTES |
Definition at line 33 of file CellValueSerialField.h.
SWC_CAN_INLINE uint24_t SWC::DB::Cell::Serial::Value::read_field_id | ( | const uint8_t ** | bufp, |
size_t * | remainp | ||
) |
Definition at line 56 of file CellValueSerialField.h.
References SWC::Serialization::decode_vi24().
Referenced by skip_type_and_id().
SWC_CAN_INLINE Type SWC::DB::Cell::Serial::Value::read_type | ( | const uint8_t ** | bufp, |
size_t * | remainp | ||
) |
Definition at line 51 of file CellValueSerialField.h.
References SWC::Serialization::decode_i8().
Referenced by SWC::DB::Cell::Serial::Value::FieldsUpdaterMap::decode(), SWC::DB::Cell::Serial::Value::Fields::display(), SWC::DB::Specs::Serial::Value::Fields::Fields(), SWC::DB::Specs::Serial::Value::Fields::is_matching(), SWC::Thrift::Converter::set(), skip_type_and_id(), SWC::Utils::shell::Statistics::StatsDefinition::StatsDefinition(), and SWC::Ranger::Callback::RangeQuerySelectUpdating_Serial::update_cell_value().
SWC_CAN_INLINE void SWC::DB::Cell::Serial::Value::skip_type_and_id | ( | const uint8_t ** | bufp, |
size_t * | remainp | ||
) |
Definition at line 61 of file CellValueSerialField.h.
References read_field_id(), and read_type().
Referenced by SWC::Ranger::Range::check_meta(), SWC::DB::Cells::Cell::display(), SWC::Manager::ColumnHealthCheck::ColumnMerger::RangesMerger::handle(), SWC::Manager::ColumnHealthCheck::ColumnMerger::run(), SWC::Ranger::Callback::RangeLocateScan::selector(), and SWC::Ranger::Callback::RangeLocateScanCommit::selector().
|
noexcept |
Definition at line 15 of file CellValueSerialField.cc.
References BYTES, DOUBLE, INT64, KEY, LIST_BYTES, and LIST_INT64.