#include <swcdb/db/Cells/Cell.h>
Public Types | |
typedef std::shared_ptr< Cell > | Ptr |
Public Member Functions | |
constexpr SWC_CAN_INLINE | Cell () noexcept |
SWC_CAN_INLINE | Cell (const Cell &other) |
SWC_CAN_INLINE | Cell (const Cell &other, bool no_value) |
constexpr SWC_CAN_INLINE | Cell (Cell &&other) noexcept |
Cell (const uint8_t **bufp, size_t *remainp, bool own) | |
Cell & | operator= (const Cell &)=delete |
SWC_CAN_INLINE Cell & | operator= (Cell &&other) noexcept |
void | move (Cell &other) noexcept |
void | copy (const Cell &other, bool no_value=false) |
SWC_CAN_INLINE | ~Cell () noexcept |
SWC_CAN_INLINE void | _free () noexcept |
SWC_CAN_INLINE void | free () noexcept |
constexpr SWC_CAN_INLINE void | set_time_order_desc (bool desc) noexcept |
constexpr SWC_CAN_INLINE bool | is_time_order_desc () const noexcept |
constexpr SWC_CAN_INLINE void | set_timestamp (int64_t ts) noexcept |
constexpr SWC_CAN_INLINE void | set_timestamp_null () noexcept |
constexpr SWC_CAN_INLINE void | set_timestamp_auto () noexcept |
constexpr SWC_CAN_INLINE void | set_timestamp_with_rev_is_ts (int64_t ts) noexcept |
constexpr SWC_CAN_INLINE void | set_revision (int64_t ts) noexcept |
SWC_CAN_INLINE void | set_value (uint8_t *v, uint32_t len, bool owner) |
SWC_CAN_INLINE void | set_value (const char *v, uint32_t len, bool owner) |
SWC_CAN_INLINE void | set_value (const char *v, bool owner) |
SWC_CAN_INLINE void | set_value (const std::string &v, bool owner) |
void | set_value (Types::Encoder encoder, const uint8_t *v, uint32_t len) |
SWC_CAN_INLINE void | set_value (Types::Encoder encoder, const std::string &v) |
Types::Encoder | get_value (StaticBuffer &v, bool owner) const |
void | get_value (std::string &v) const |
void | set_counter (uint8_t op, int64_t v, Types::Column typ=Types::Column::COUNTER_I64, int64_t rev=TIMESTAMP_NULL) |
constexpr SWC_CAN_INLINE int64_t | get_counter () const |
constexpr SWC_CAN_INLINE uint8_t | get_counter (int64_t &count) const |
constexpr SWC_CAN_INLINE int64_t | get_counter (uint8_t &op, int64_t &rev) const |
void | read (const uint8_t **bufp, size_t *remainp, bool owner) |
constexpr SWC_CAN_INLINE size_t | encoded_length (bool no_value=false) const noexcept |
void | write (DynamicBuffer &dst_buf, bool no_value=false) const |
bool SWC_PURE_FUNC | equal (const Cell &other) const noexcept |
constexpr SWC_CAN_INLINE bool | removal () const noexcept |
constexpr SWC_CAN_INLINE bool | is_removing (const int64_t &ts) const noexcept |
constexpr SWC_CAN_INLINE int64_t | get_timestamp () const noexcept |
constexpr SWC_CAN_INLINE int64_t | get_revision () const noexcept |
SWC_CAN_INLINE bool | has_expired (const int64_t ttl) const noexcept |
constexpr SWC_CAN_INLINE bool | have_encoder () const noexcept |
void | display (std::ostream &out, Types::Column typ=Types::Column::PLAIN, uint8_t flags=0, bool meta=false) const |
SWC_CAN_INLINE std::string | to_string (Types::Column typ=Types::Column::PLAIN) const |
void | print (std::ostream &out, Types::Column typ) const |
Static Public Member Functions | |
static int | counter_from_str (const uint8_t **ptrp, size_t *remainp, uint8_t &op, int64_t &value) noexcept |
Public Attributes | |
DB::Cell::Key | key |
bool | own |
uint8_t | flag |
uint8_t | control |
uint32_t | vlen |
uint8_t * | value |
Private Member Functions | |
SWC_CAN_INLINE uint8_t * | _value (const uint8_t *v) |
Private Attributes | |
int64_t | timestamp |
int64_t | revision |
typedef std::shared_ptr<Cell> SWC::DB::Cells::Cell::Ptr |
|
inlineexplicitconstexprnoexcept |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicitconstexprnoexcept |
|
explicit |
Definition at line 381 of file Cell.h.
References _value(), control, SWC::DB::Cell::Key::decode(), SWC::Serialization::decode_i64(), SWC::Serialization::decode_i8(), SWC::Serialization::decode_vi32(), SWC::DB::Cells::HAVE_REVISION, SWC::DB::Cells::HAVE_TIMESTAMP, key, own, SWC::DB::Cells::REV_IS_TS, revision, SWC::Error::SERIALIZATION_INPUT_OVERRUN, SWC_THROWF, timestamp, SWC::DB::Cells::TIMESTAMP_AUTO, SWC::DB::Cell::Key::to_string(), value, and vlen.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 156 of file Cell.h.
Referenced by free(), read(), set_counter(), set_value(), and ~Cell().
|
inlineprivate |
SWC_CAN_INLINE void SWC::DB::Cells::Cell::copy | ( | const Cell & | other, |
bool | no_value = false |
||
) |
Definition at line 424 of file Cell.h.
References control, SWC::DB::Cell::Key::copy(), flag, free(), key, SWC::DB::Cells::MASK_HAVE_ENCODER, revision, set_value(), timestamp, value, and vlen.
Referenced by SWC::DB::Cells::Mutable::_adjust_copy().
|
staticnoexcept |
Definition at line 540 of file Cell.h.
References SWC::Error::OK, and SWC::DB::Cells::OP_EQUAL.
Referenced by SWC::client::SQL::Reader::read_ts_and_value().
void SWC::DB::Cells::Cell::display | ( | std::ostream & | out, |
Types::Column | typ = Types::Column::PLAIN , |
||
uint8_t | flags = 0 , |
||
bool | meta = false |
||
) | const |
Definition at line 111 of file Cell.cc.
References SWC::Core::Buffer< T >::base, SWC::DB::BINARY, SWC::DB::DATETIME, SWC::DB::Cell::Key::decode(), SWC::Serialization::decode_vi64(), SWC::DB::Cell::Serial::Value::Fields::display(), SWC::DB::Cell::Key::display(), flag, flags, SWC::Time::fmt_ns(), get_counter(), get_timestamp(), get_value(), SWC::DB::Cells::HAVE_REVISION, SWC::DB::Cells::INSERT, SWC::DB::Types::is_counter(), key, SWC::DB::Cells::OP_EQUAL, SWC::DB::Types::SERIAL, SWC::Core::Buffer< T >::size, SWC::DB::Cell::Serial::Value::skip_type_and_id(), SWC::DB::TIMESTAMP, timestamp, SWC::DB::Cells::TIMESTAMP_NULL, SWC::DB::Cells::to_string(), and vlen.
|
inlineconstexprnoexcept |
Definition at line 285 of file Cell.h.
References control, SWC::DB::Cell::Key::encoded_length(), SWC::Serialization::encoded_length_vi32(), SWC::DB::Cells::HAVE_REVISION, SWC::DB::Cells::HAVE_TIMESTAMP, key, and vlen.
Referenced by SWC::DB::Cells::Mutable::_adjust_copy(), SWC::DB::Cells::Result::add(), SWC::Ranger::Callback::RangeLocateScan::add_cell_and_more(), SWC::DB::Cells::TSV::FileReader::read(), SWC::DB::Cells::Result::takeout_begin(), SWC::DB::Cells::Result::takeout_end(), SWC::Utils::LoadGenerator::update_data(), and write().
|
noexcept |
Definition at line 100 of file Cell.cc.
References SWC::DB::Cells::HAVE_REVISION, SWC::DB::Cells::HAVE_TIMESTAMP, and SWC::Condition::mem_eq().
|
inlinenoexcept |
|
inlineconstexpr |
Definition at line 260 of file Cell.h.
References SWC::Serialization::decode_vi64(), and value.
Referenced by SWC::DB::Cells::Mutable::_add_counter(), SWC::DB::Cells::Mutable::_finalize_counter(), display(), SWC::DB::Specs::Value::is_matching_counter(), print(), and SWC::DB::Cells::TSV::FileWriter::write().
|
inlineconstexpr |
Definition at line 266 of file Cell.h.
References SWC::Serialization::decode_vi64(), and value.
|
inlineconstexpr |
Definition at line 273 of file Cell.h.
References SWC::Serialization::decode_vi64(), SWC::DB::Cells::HAVE_REVISION, SWC::DB::Cells::TIMESTAMP_NULL, and value.
|
inlineconstexprnoexcept |
Definition at line 322 of file Cell.h.
References revision.
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::Mutable::_finalize_counter(), and print().
|
inlineconstexprnoexcept |
Definition at line 317 of file Cell.h.
References timestamp.
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::Mutable::_finalize_counter(), display(), SWC::Ranger::CompactRange::InBlock::finalize_interval(), SWC::DB::Specs::Interval::is_matching(), SWC::DB::Specs::IntervalUpdate::operator=(), print(), SWC::client::SQL::QuerySelect::read_update(), SWC::DB::Cells::Mutable::scan_version_multi(), SWC::Ranger::CompactRange::selector(), SWC::Ranger::CompactRange::InBlock::set_offset(), SWC::DB::Cells::TSV::FileWriter::write(), and SWC::DB::Cells::Mutable::write_and_free().
Types::Encoder SWC::DB::Cells::Cell::get_value | ( | StaticBuffer & | v, |
bool | owner | ||
) | const |
Definition at line 77 of file Cell.cc.
References SWC::Core::Buffer< T >::base, SWC::Core::Encoder::decode(), SWC::Serialization::decode_i8(), SWC::Serialization::decode_vi32(), SWC::Core::Encoder::DEFAULT, encoder, SWC::Error::ENCODER_DECODE, SWC::Core::Buffer< T >::free(), have_encoder(), key, SWC::Error::OK, SWC::Core::Buffer< T >::reallocate(), SWC::Core::Buffer< T >::set(), SWC::Core::Buffer< T >::size, SWC_THROWF, SWC::DB::Cell::Key::to_string(), SWC::Core::Encoder::to_string(), value, and vlen.
Referenced by display(), get_value(), SWC::DB::Specs::IntervalUpdate::IntervalUpdate(), SWC::DB::Specs::Serial::Value::Fields::is_matching(), SWC::DB::Specs::Value::is_matching_plain(), SWC::DB::Specs::IntervalUpdate::operator=(), print(), SWC::Ranger::Callback::RangeLocateScan::selector(), SWC::Ranger::Callback::RangeLocateScanCommit::selector(), SWC::Thrift::Converter::set(), SWC::Utils::shell::Statistics::StatsDefinition::StatsDefinition(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Append::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Insert::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Overwrite::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Prepend::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Serial::update_cell_value(), and SWC::DB::Cells::TSV::FileWriter::write().
SWC_CAN_INLINE void SWC::DB::Cells::Cell::get_value | ( | std::string & | v | ) | const |
Definition at line 440 of file Cell.h.
References SWC::Core::Buffer< T >::base, get_value(), SWC::Core::Buffer< T >::size, and vlen.
|
inlinenoexcept |
Definition at line 327 of file Cell.h.
References control, SWC::DB::Cells::HAVE_TIMESTAMP, SWC::Time::now_ns(), and timestamp.
Referenced by SWC::DB::Cells::Mutable::scan_after(), SWC::DB::Cells::Mutable::scan_test_use(), SWC::DB::Cells::Mutable::scan_version_multi(), and SWC::DB::Cells::Mutable::scan_version_single().
|
inlineconstexprnoexcept |
Definition at line 334 of file Cell.h.
References control, and SWC::DB::Cells::HAVE_ENCODER.
Referenced by get_value(), print(), and SWC::DB::Cells::TSV::FileWriter::write().
|
inlineconstexprnoexcept |
Definition at line 308 of file Cell.h.
References SWC::DB::Cells::DELETE_EQ, SWC::DB::Cells::DELETE_LE, flag, timestamp, and SWC::DB::Cells::TIMESTAMP_AUTO.
Referenced by SWC::DB::Cells::Mutable::_add_remove().
|
inlineconstexprnoexcept |
Definition at line 177 of file Cell.h.
References control, and SWC::DB::Cells::TS_DESC.
Referenced by SWC::DB::Cells::Mutable::_add_plain_version_multi(), SWC::DB::Specs::Interval::is_matching(), SWC::DB::Cells::Mutable::scan_version_multi(), SWC::Ranger::CompactRange::selector(), and SWC::DB::Cells::TSV::FileWriter::write().
|
noexcept |
Definition at line 409 of file Cell.h.
Referenced by operator=().
|
inlinenoexcept |
void SWC::DB::Cells::Cell::print | ( | std::ostream & | out, |
Types::Column | typ | ||
) | const |
Definition at line 187 of file Cell.cc.
References SWC::Core::Buffer< T >::base, control, SWC::DB::Cell::Serial::Value::Fields::display(), flag, SWC::Time::fmt_ns(), get_counter(), get_revision(), get_timestamp(), get_value(), have_encoder(), SWC::DB::Cells::HAVE_REVISION, SWC::DB::Cells::INSERT, SWC::DB::Types::is_counter(), key, SWC::DB::Cells::OP_EQUAL, SWC::DB::Cell::Key::print(), SWC::DB::Types::SERIAL, SWC::Core::Buffer< T >::size, SWC::DB::Cells::TIMESTAMP_NULL, SWC::DB::Cells::to_string(), and vlen.
Referenced by SWC::DB::Cells::MutableVec::check_sequence(), and to_string().
SWC_CAN_INLINE void SWC::DB::Cells::Cell::read | ( | const uint8_t ** | bufp, |
size_t * | remainp, | ||
bool | owner | ||
) |
Definition at line 484 of file Cell.h.
References _free(), _value(), control, SWC::DB::Cell::Key::decode(), SWC::Serialization::decode_i64(), SWC::Serialization::decode_i8(), SWC::Serialization::decode_vi32(), flag, SWC::DB::Cells::HAVE_REVISION, SWC::DB::Cells::HAVE_TIMESTAMP, key, own, SWC::DB::Cells::REV_IS_TS, revision, SWC::Error::SERIALIZATION_INPUT_OVERRUN, SWC_THROWF, timestamp, SWC::DB::Cells::TIMESTAMP_AUTO, SWC::DB::Cell::Key::to_string(), value, and vlen.
Referenced by SWC::Ranger::CompactRange::InBlock::finalize_interval().
|
inlineconstexprnoexcept |
Definition at line 303 of file Cell.h.
References flag, and SWC::DB::Cells::INSERT.
Referenced by SWC::DB::Cells::Mutable::add_raw().
SWC_CAN_INLINE void SWC::DB::Cells::Cell::set_counter | ( | uint8_t | op, |
int64_t | v, | ||
Types::Column | typ = Types::Column::COUNTER_I64 , |
||
int64_t | rev = TIMESTAMP_NULL |
||
) |
Definition at line 450 of file Cell.h.
References _free(), SWC::Serialization::encode_vi64(), SWC::Serialization::encoded_length_vi64(), SWC::DB::Cells::HAVE_REVISION, SWC::DB::Cells::OP_EQUAL, own, SWC::DB::Cells::TIMESTAMP_NULL, value, and vlen.
Referenced by SWC::DB::Cells::Mutable::_add_counter(), SWC::DB::Cells::Mutable::_finalize_counter(), SWC::DB::Cells::TSV::FileReader::read(), SWC::client::SQL::Reader::read_ts_and_value(), SWC::Thrift::Converter::set(), SWC::ThriftBroker::AppHandler::set(), and SWC::Utils::LoadGenerator::update_data().
|
inlineconstexprnoexcept |
Definition at line 216 of file Cell.h.
References control, SWC::DB::Cells::HAVE_REVISION, SWC::DB::Cells::MASK_REV_IS_TS, and revision.
Referenced by SWC::DB::Cells::Mutable::_finalize_counter().
|
inlineconstexprnoexcept |
Definition at line 169 of file Cell.h.
References control, SWC::DB::Cells::MASK_TS_DESC, and SWC::DB::Cells::TS_DESC.
Referenced by SWC::Common::Query::Update::Metric::Item_Net< SWC::Comm::Protocol::FsBroker::Commands >::definitions(), SWC::Common::Query::Update::Metric::Item_Mem::definitions(), SWC::Common::Query::Update::Metric::Item_CPU::definitions(), SWC::Common::Query::Update::Metric::Item_FS::definitions(), SWC::FsBroker::Metric::Item_Fds::definitions(), SWC::Ranger::Range::on_change(), SWC::DB::Cells::TSV::FileReader::read(), SWC::client::SQL::QueryUpdate::read_cell(), SWC::Common::Query::Update::Metric::Item_Net< SWC::Comm::Protocol::FsBroker::Commands >::report(), SWC::Common::Query::Update::Metric::Item_Mem::report(), SWC::Common::Query::Update::Metric::Item_CPU::report(), SWC::Common::Query::Update::Metric::Item_FS::report(), SWC::client::Query::Update::Handlers::Metric::Item_MinMaxAvgCount::report(), SWC::client::Query::Update::Handlers::Metric::Item_Count::report(), SWC::client::Query::Update::Handlers::Metric::Item_Volume::report(), SWC::client::Query::Update::Handlers::Metric::Item_CountVolume::report(), SWC::ThriftBroker::AppHandler::set(), SWC::DB::RgrData::set_delete_cell(), SWC::DB::RgrData::set_insert_cell(), and SWC::Utils::LoadGenerator::update_data().
|
inlineconstexprnoexcept |
Definition at line 182 of file Cell.h.
References control, SWC::DB::Cells::HAVE_TIMESTAMP, and timestamp.
Referenced by SWC::DB::Cells::Mutable::_finalize_counter(), SWC::DB::Cells::TSV::FileReader::read(), SWC::client::SQL::Reader::read_ts_and_value(), SWC::Common::Query::Update::Metric::Item_Net< SWC::Comm::Protocol::FsBroker::Commands >::report(), SWC::Common::Query::Update::Metric::Item_Mem::report(), SWC::Common::Query::Update::Metric::Item_CPU::report(), SWC::Common::Query::Update::Metric::Item_FS::report(), SWC::client::Query::Update::Handlers::Metric::Item_MinMaxAvgCount::report(), SWC::client::Query::Update::Handlers::Metric::Item_Count::report(), SWC::client::Query::Update::Handlers::Metric::Item_Volume::report(), SWC::client::Query::Update::Handlers::Metric::Item_CountVolume::report(), SWC::ThriftBroker::AppHandler::set(), and set_timestamp_with_rev_is_ts().
|
inlineconstexprnoexcept |
Definition at line 198 of file Cell.h.
References control, SWC::DB::Cells::MASK_HAVE_TIMESTAMP, SWC::DB::Cells::MASK_REV_IS_TS, SWC::DB::Cells::REV_IS_TS, revision, timestamp, and SWC::DB::Cells::TIMESTAMP_AUTO.
Referenced by SWC::client::SQL::Reader::read_ts_and_value().
|
inlineconstexprnoexcept |
Definition at line 188 of file Cell.h.
References control, SWC::DB::Cells::MASK_HAVE_TIMESTAMP, SWC::DB::Cells::MASK_REV_IS_TS, SWC::DB::Cells::REV_IS_TS, revision, timestamp, SWC::DB::Cells::TIMESTAMP_AUTO, and SWC::DB::Cells::TIMESTAMP_NULL.
Referenced by SWC::client::SQL::QuerySelect::read_update().
|
inlineconstexprnoexcept |
Definition at line 208 of file Cell.h.
References control, SWC::DB::Cells::MASK_HAVE_REVISION, SWC::DB::Cells::REV_IS_TS, revision, set_timestamp(), and timestamp.
Referenced by SWC::DB::Cells::Mutable::_finalize_counter().
|
inline |
Definition at line 235 of file Cell.h.
References set_value().
|
inline |
Definition at line 230 of file Cell.h.
References set_value().
|
inline |
Definition at line 240 of file Cell.h.
References set_value().
|
inline |
Definition at line 247 of file Cell.h.
References encoder, and set_value().
void SWC::DB::Cells::Cell::set_value | ( | Types::Encoder | encoder, |
const uint8_t * | v, | ||
uint32_t | len | ||
) |
Definition at line 48 of file Cell.cc.
References _free(), _value(), SWC::Core::Buffer< T >::base, control, SWC::Core::Encoder::encode(), SWC::Serialization::encode_i8(), SWC::Serialization::encode_vi32(), SWC::Serialization::encoded_length_vi32(), encoder, SWC::Core::BufferDyn< BufferT >::fill(), SWC::DB::Cells::HAVE_ENCODER, SWC::DB::Cells::MASK_HAVE_ENCODER, SWC::Error::OK, own, value, and vlen.
|
inline |
Definition at line 223 of file Cell.h.
References _free(), _value(), own, value, and vlen.
Referenced by copy(), SWC::Common::Query::Update::Metric::Item_Net< SWC::Comm::Protocol::FsBroker::Commands >::definitions(), SWC::Common::Query::Update::Metric::Item_Mem::definitions(), SWC::Common::Query::Update::Metric::Item_CPU::definitions(), SWC::Common::Query::Update::Metric::Item_FS::definitions(), SWC::FsBroker::Metric::Item_Fds::definitions(), SWC::Ranger::Range::on_change(), SWC::client::SQL::Reader::read_ts_and_value(), SWC::Common::Query::Update::Metric::Item_Net< SWC::Comm::Protocol::FsBroker::Commands >::report(), SWC::Common::Query::Update::Metric::Item_Mem::report(), SWC::Common::Query::Update::Metric::Item_CPU::report(), SWC::Common::Query::Update::Metric::Item_FS::report(), SWC::client::Query::Update::Handlers::Metric::Item_MinMaxAvgCount::report(), SWC::client::Query::Update::Handlers::Metric::Item_Count::report(), SWC::client::Query::Update::Handlers::Metric::Item_Volume::report(), SWC::client::Query::Update::Handlers::Metric::Item_CountVolume::report(), SWC::ThriftBroker::AppHandler::set(), SWC::DB::RgrData::set_insert_cell(), set_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Append::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Insert::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Overwrite::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Prepend::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Serial::update_cell_value(), and SWC::Utils::LoadGenerator::update_data().
|
inline |
SWC_CAN_INLINE void SWC::DB::Cells::Cell::write | ( | DynamicBuffer & | dst_buf, |
bool | no_value = false |
||
) | const |
Definition at line 513 of file Cell.h.
References SWC::Core::BufferDyn< BufferT >::add_unchecked(), control, SWC::DB::Cell::Key::encode(), SWC::Serialization::encode_i64(), SWC::Serialization::encode_i8(), SWC::Serialization::encode_vi32(), encoded_length(), SWC::Core::BufferDyn< BufferT >::ensure(), flag, SWC::DB::Cells::HAVE_REVISION, SWC::DB::Cells::HAVE_TIMESTAMP, key, SWC::DB::Cells::MASK_HAVE_ENCODER, SWC::Core::BufferDyn< BufferT >::ptr, revision, timestamp, value, and vlen.
Referenced by SWC::Ranger::CompactRange::InBlock::add(), SWC::Ranger::Callback::RangeQuerySelect::add_cell_and_more(), SWC::Ranger::Callback::RangeQuerySelect::response(), SWC::DB::Cells::Mutable::scan_test_use(), and SWC::DB::Cells::Mutable::write_and_free().
uint8_t SWC::DB::Cells::Cell::control |
Definition at line 360 of file Cell.h.
Referenced by Cell(), copy(), encoded_length(), has_expired(), have_encoder(), is_time_order_desc(), print(), SWC::DB::Cells::TSV::FileReader::read(), read(), SWC::ThriftBroker::AppHandler::set(), set_revision(), set_time_order_desc(), set_timestamp(), set_timestamp_auto(), set_timestamp_null(), set_timestamp_with_rev_is_ts(), set_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating::update_cell_value(), and write().
uint8_t SWC::DB::Cells::Cell::flag |
Definition at line 359 of file Cell.h.
Referenced by copy(), SWC::Common::Query::Update::Metric::Item_Net< SWC::Comm::Protocol::FsBroker::Commands >::definitions(), SWC::Common::Query::Update::Metric::Item_Mem::definitions(), SWC::Common::Query::Update::Metric::Item_CPU::definitions(), SWC::Common::Query::Update::Metric::Item_FS::definitions(), SWC::FsBroker::Metric::Item_Fds::definitions(), display(), is_removing(), SWC::Ranger::Range::on_change(), print(), SWC::DB::Cells::TSV::FileReader::read(), read(), SWC::client::SQL::QueryUpdate::read_cell(), removal(), SWC::Common::Query::Update::Metric::Item_Net< SWC::Comm::Protocol::FsBroker::Commands >::report(), SWC::Common::Query::Update::Metric::Item_Mem::report(), SWC::Common::Query::Update::Metric::Item_CPU::report(), SWC::Common::Query::Update::Metric::Item_FS::report(), SWC::client::Query::Update::Handlers::Metric::Item_MinMaxAvgCount::report(), SWC::client::Query::Update::Handlers::Metric::Item_Count::report(), SWC::client::Query::Update::Handlers::Metric::Item_Volume::report(), SWC::client::Query::Update::Handlers::Metric::Item_CountVolume::report(), SWC::DB::Cells::Mutable::scan_test_use(), SWC::DB::Cells::Mutable::scan_version_multi(), SWC::DB::Cells::Mutable::scan_version_single(), SWC::ThriftBroker::AppHandler::set(), SWC::DB::RgrData::set_delete_cell(), SWC::DB::RgrData::set_insert_cell(), SWC::Utils::LoadGenerator::update_data(), SWC::DB::Cells::TSV::FileWriter::write(), and write().
DB::Cell::Key SWC::DB::Cells::Cell::key |
Definition at line 357 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::Mutable::_finalize_counter(), SWC::Ranger::Block::_split(), SWC::Ranger::Callback::RangeLocateScan::add_cell_and_more(), SWC::Ranger::Block::add_logged(), SWC::Ranger::Blocks::add_logged(), SWC::DB::Cells::MutableVec::add_raw(), SWC::DB::Cells::Mutable::add_raw(), Cell(), SWC::DB::Cells::MutableVec::check_sequence(), SWC::DB::Cells::Mutable::configure(), copy(), SWC::Common::Query::Update::Metric::Item_Net< SWC::Comm::Protocol::FsBroker::Commands >::definitions(), SWC::Common::Query::Update::Metric::Item_Mem::definitions(), SWC::Common::Query::Update::Metric::Item_CPU::definitions(), SWC::Common::Query::Update::Metric::Item_FS::definitions(), SWC::FsBroker::Metric::Item_Fds::definitions(), display(), encoded_length(), SWC::DB::Cells::Interval::expand_begin(), SWC::DB::Cells::Interval::expand_end(), SWC::Ranger::CompactRange::InBlock::finalize_interval(), get_value(), SWC::DB::Cells::Mutable::has_one_key(), SWC::DB::Specs::Interval::is_matching(), SWC::Ranger::Range::on_change(), print(), SWC::DB::Cells::TSV::FileReader::read(), read(), SWC::client::SQL::QueryUpdate::read_cell(), SWC::Common::Query::Update::Metric::Item_Net< SWC::Comm::Protocol::FsBroker::Commands >::report(), SWC::Common::Query::Update::Metric::Item_Mem::report(), SWC::Common::Query::Update::Metric::Item_CPU::report(), SWC::Common::Query::Update::Metric::Item_FS::report(), SWC::client::Query::Update::Handlers::Metric::Item_MinMaxAvgCount::report(), SWC::client::Query::Update::Handlers::Metric::Item_Count::report(), SWC::client::Query::Update::Handlers::Metric::Item_Volume::report(), SWC::client::Query::Update::Handlers::Metric::Item_CountVolume::report(), SWC::DB::Cells::Mutable::scan_after(), SWC::DB::Cells::Mutable::scan_version_multi(), SWC::Ranger::Callback::RangeLocateScan::selector(), SWC::Ranger::Callback::RangeLocateScanCommit::selector(), SWC::Ranger::CompactRange::selector(), SWC::ThriftBroker::AppHandler::set(), SWC::DB::RgrData::set_delete_cell(), SWC::DB::RgrData::set_insert_cell(), SWC::Ranger::CompactRange::InBlock::set_offset(), SWC::Utils::shell::Statistics::StatsDefinition::StatsDefinition(), SWC::Utils::LoadGenerator::update_data(), SWC::DB::Cells::TSV::FileWriter::write(), write(), and SWC::DB::Cells::Mutable::write_and_free().
bool SWC::DB::Cells::Cell::own |
Definition at line 358 of file Cell.h.
Referenced by _free(), Cell(), read(), set_counter(), set_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Append::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Insert::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Overwrite::update_cell_value(), and SWC::Ranger::Callback::RangeQuerySelectUpdating_Prepend::update_cell_value().
|
private |
Definition at line 374 of file Cell.h.
Referenced by Cell(), copy(), get_revision(), read(), set_revision(), set_timestamp_auto(), set_timestamp_null(), set_timestamp_with_rev_is_ts(), and write().
|
private |
Definition at line 373 of file Cell.h.
Referenced by Cell(), copy(), display(), get_timestamp(), has_expired(), is_removing(), read(), set_timestamp(), set_timestamp_auto(), set_timestamp_null(), set_timestamp_with_rev_is_ts(), and write().
uint8_t* SWC::DB::Cells::Cell::value |
Definition at line 362 of file Cell.h.
Referenced by _free(), Cell(), copy(), free(), get_counter(), SWC::DB::RgrData::BaseSelector::get_rgr(), get_value(), SWC::DB::Cells::TSV::FileReader::read(), read(), SWC::client::SQL::QuerySelect::read_update(), SWC::Thrift::Converter::set(), set_counter(), set_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Append::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Insert::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Overwrite::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Prepend::update_cell_value(), SWC::DB::Cells::TSV::FileWriter::write(), and write().
uint32_t SWC::DB::Cells::Cell::vlen |
Definition at line 361 of file Cell.h.
Referenced by _value(), Cell(), copy(), display(), encoded_length(), free(), SWC::DB::RgrData::BaseSelector::get_rgr(), get_value(), print(), SWC::DB::Cells::TSV::FileReader::read(), read(), SWC::client::SQL::QuerySelect::read_update(), SWC::Thrift::Converter::set(), set_counter(), set_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Append::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Insert::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Overwrite::update_cell_value(), SWC::Ranger::Callback::RangeQuerySelectUpdating_Prepend::update_cell_value(), SWC::DB::Cells::TSV::FileWriter::write(), and write().