#include <swcdb/db/Cells/SpecsUpdateOp.h>
Public Member Functions | |
SWC_CAN_INLINE | UpdateOP (uint8_t a_op=REPLACE, uint32_t a_pos=0) noexcept |
SWC_CAN_INLINE | UpdateOP (const uint8_t **bufp, size_t *remainp) |
SWC_CAN_INLINE | UpdateOP (const UpdateOP &other) noexcept |
SWC_CAN_INLINE | UpdateOP (UpdateOP &&other) noexcept |
SWC_CAN_INLINE UpdateOP & | operator= (const UpdateOP &other) noexcept |
SWC_CAN_INLINE UpdateOP & | operator= (UpdateOP &&other) noexcept |
SWC_CAN_INLINE bool | equal (const UpdateOP &other) const noexcept |
SWC_CAN_INLINE void | set_op (uint8_t a_op) noexcept |
SWC_CAN_INLINE uint8_t | get_op () const noexcept |
SWC_CAN_INLINE void | set_pos (uint32_t a_pos) noexcept |
SWC_CAN_INLINE uint32_t | get_pos () const noexcept |
SWC_CAN_INLINE bool | has_pos () const noexcept |
SWC_CAN_INLINE size_t | encoded_length () const noexcept |
SWC_CAN_INLINE void | encode (uint8_t **bufp) const |
SWC_CAN_INLINE void | print (std::ostream &out) const |
Static Public Member Functions | |
static const char * | to_string (uint8_t op) noexcept |
Public Attributes | |
uint8_t | op |
uint32_t | pos |
Static Public Attributes | |
static constexpr const uint8_t | REPLACE = 0x00 |
static constexpr const uint8_t | APPEND = 0x01 |
static constexpr const uint8_t | PREPEND = 0x02 |
static constexpr const uint8_t | INSERT = 0x03 |
static constexpr const uint8_t | OVERWRITE = 0x04 |
static constexpr const uint8_t | SERIAL = 0x05 |
Definition at line 18 of file SpecsUpdateOp.h.
|
inlinenoexcept |
Definition at line 55 of file SpecsUpdateOp.h.
|
inline |
Definition at line 60 of file SpecsUpdateOp.h.
|
inlinenoexcept |
Definition at line 66 of file SpecsUpdateOp.h.
|
inlinenoexcept |
Definition at line 71 of file SpecsUpdateOp.h.
|
inline |
Definition at line 125 of file SpecsUpdateOp.h.
References SWC::Serialization::encode_i8(), SWC::Serialization::encode_vi32(), has_pos(), op, and pos.
Referenced by SWC::DB::Specs::IntervalUpdate::encode().
|
inlinenoexcept |
Definition at line 120 of file SpecsUpdateOp.h.
References SWC::Serialization::encoded_length_vi32(), has_pos(), and pos.
Referenced by SWC::DB::Specs::IntervalUpdate::encoded_length().
|
inlinenoexcept |
Definition at line 90 of file SpecsUpdateOp.h.
Referenced by SWC::DB::Specs::IntervalUpdate::equal().
|
inlinenoexcept |
Definition at line 100 of file SpecsUpdateOp.h.
References op.
Referenced by print(), SWC::client::SQL::QuerySelect::read_update(), and SWC::Thrift::Converter::set().
|
inlinenoexcept |
Definition at line 110 of file SpecsUpdateOp.h.
References pos.
|
inlinenoexcept |
Definition at line 115 of file SpecsUpdateOp.h.
References INSERT, op, and OVERWRITE.
Referenced by encode(), encoded_length(), print(), and SWC::Thrift::Converter::set().
|
inlinenoexcept |
Definition at line 76 of file SpecsUpdateOp.h.
|
inlinenoexcept |
Definition at line 83 of file SpecsUpdateOp.h.
|
inline |
Definition at line 132 of file SpecsUpdateOp.h.
References get_op(), has_pos(), pos, and to_string().
Referenced by SWC::DB::Specs::IntervalUpdate::display().
|
inlinenoexcept |
Definition at line 95 of file SpecsUpdateOp.h.
References op.
Referenced by SWC::client::SQL::Reader::read_operation(), and SWC::Thrift::Converter::set().
|
inlinenoexcept |
Definition at line 105 of file SpecsUpdateOp.h.
References pos.
Referenced by SWC::client::SQL::Reader::read_operation(), and SWC::Thrift::Converter::set().
|
inlinestaticnoexcept |
|
staticconstexpr |
Definition at line 21 of file SpecsUpdateOp.h.
Referenced by SWC::Comm::Protocol::Rgr::Handler::RangeQuerySelect::operator()(), SWC::client::SQL::Reader::read_operation(), and to_string().
|
staticconstexpr |
Definition at line 23 of file SpecsUpdateOp.h.
Referenced by has_pos(), SWC::Comm::Protocol::Rgr::Handler::RangeQuerySelect::operator()(), SWC::client::SQL::Reader::read_operation(), and to_string().
uint8_t SWC::DB::Specs::UpdateOP::op |
Definition at line 138 of file SpecsUpdateOp.h.
Referenced by encode(), equal(), get_op(), has_pos(), operator=(), set_op(), and to_string().
|
staticconstexpr |
Definition at line 24 of file SpecsUpdateOp.h.
Referenced by has_pos(), SWC::Comm::Protocol::Rgr::Handler::RangeQuerySelect::operator()(), SWC::client::SQL::Reader::read_operation(), and to_string().
uint32_t SWC::DB::Specs::UpdateOP::pos |
Definition at line 139 of file SpecsUpdateOp.h.
Referenced by encode(), encoded_length(), equal(), get_pos(), operator=(), print(), and set_pos().
|
staticconstexpr |
Definition at line 22 of file SpecsUpdateOp.h.
Referenced by SWC::Comm::Protocol::Rgr::Handler::RangeQuerySelect::operator()(), SWC::client::SQL::Reader::read_operation(), and to_string().
|
staticconstexpr |
Definition at line 20 of file SpecsUpdateOp.h.
Referenced by SWC::Comm::Protocol::Rgr::Handler::RangeQuerySelect::operator()(), SWC::client::SQL::Reader::read_operation(), SWC::client::SQL::QuerySelect::read_update(), and to_string().
|
staticconstexpr |
Definition at line 26 of file SpecsUpdateOp.h.
Referenced by SWC::Comm::Protocol::Rgr::Handler::RangeQuerySelect::operator()(), SWC::client::SQL::Reader::read_operation(), SWC::client::SQL::QuerySelect::read_update(), SWC::Thrift::Converter::set(), and to_string().