#include <swcdb/db/Cells/SpecsScan.h>
Public Types | |
typedef Core::Vector< Column > | Columns |
Public Member Functions | |
SWC_CAN_INLINE | Scan () noexcept |
SWC_CAN_INLINE | Scan (uint32_t reserve) |
SWC_CAN_INLINE | Scan (const Scan &other) |
SWC_CAN_INLINE | Scan (Scan &&other) noexcept |
SWC_CAN_INLINE | Scan (const Columns &a_columns) |
SWC_CAN_INLINE | Scan (Columns &&a_columns) noexcept |
SWC_CAN_INLINE | Scan (const uint8_t **bufp, size_t *remainp) |
~Scan () noexcept | |
SWC_CAN_INLINE Scan & | operator= (Scan &&other) noexcept |
SWC_CAN_INLINE Scan & | operator= (const Scan &other) |
SWC_CAN_INLINE void | free () noexcept |
bool SWC_PURE_FUNC | equal (const Scan &other) const noexcept |
size_t SWC_PURE_FUNC | encoded_length () const noexcept |
void | encode (uint8_t **bufp) const |
void | decode (const uint8_t **bufp, size_t *remainp) |
SWC_CAN_INLINE std::string | to_string () const |
void | print (std::ostream &out) const |
void | display (std::ostream &out, bool pretty=true, std::string offset="") const |
Public Attributes | |
Columns | columns |
Flags | flags |
Definition at line 21 of file SpecsScan.h.
Definition at line 24 of file SpecsScan.h.
|
inlineexplicitnoexcept |
Definition at line 27 of file SpecsScan.h.
|
inlineexplicit |
Definition at line 30 of file SpecsScan.h.
References columns, and SWC::Core::Vector< T, SizeT, GROW_SZ >::reserve().
|
inlineexplicit |
Definition at line 35 of file SpecsScan.h.
|
inlineexplicitnoexcept |
Definition at line 40 of file SpecsScan.h.
|
inlineexplicit |
Definition at line 45 of file SpecsScan.h.
|
inlineexplicitnoexcept |
Definition at line 48 of file SpecsScan.h.
|
inlineexplicit |
Definition at line 52 of file SpecsScan.h.
References decode().
|
inlinenoexcept |
Definition at line 56 of file SpecsScan.h.
void SWC::DB::Specs::Scan::decode | ( | const uint8_t ** | bufp, |
size_t * | remainp | ||
) |
Definition at line 39 of file SpecsScan.cc.
References columns, SWC::DB::Specs::Flags::decode(), SWC::Serialization::decode_vi32(), SWC::Core::Vector< T, SizeT, GROW_SZ >::emplace_back(), flags, free(), and SWC::Core::Vector< T, SizeT, GROW_SZ >::reserve().
Referenced by Scan().
void SWC::DB::Specs::Scan::display | ( | std::ostream & | out, |
bool | pretty = true , |
||
std::string | offset = "" |
||
) | const |
Definition at line 58 of file SpecsScan.cc.
References columns, SWC::DB::Specs::Flags::display(), and flags.
Referenced by SWC::Utils::shell::Statistics::list_metrics().
void SWC::DB::Specs::Scan::encode | ( | uint8_t ** | bufp | ) | const |
Definition at line 32 of file SpecsScan.cc.
References columns, SWC::DB::Specs::Flags::encode(), SWC::Serialization::encode_vi32(), flags, and SWC::Core::Vector< T, SizeT, GROW_SZ >::size().
|
noexcept |
Definition at line 25 of file SpecsScan.cc.
References columns, SWC::DB::Specs::Flags::encoded_length(), SWC::Serialization::encoded_length_vi32(), flags, and SWC::Core::Vector< T, SizeT, GROW_SZ >::size().
|
noexcept |
Definition at line 14 of file SpecsScan.cc.
References flags.
|
inlinenoexcept |
Definition at line 73 of file SpecsScan.h.
References SWC::Core::Vector< T, SizeT, GROW_SZ >::clear(), and columns.
Referenced by decode().
|
inline |
Definition at line 66 of file SpecsScan.h.
References columns, SWC::DB::Specs::Flags::copy(), and flags.
|
inlinenoexcept |
Definition at line 59 of file SpecsScan.h.
References columns, SWC::DB::Specs::Flags::copy(), and flags.
void SWC::DB::Specs::Scan::print | ( | std::ostream & | out | ) | const |
Definition at line 48 of file SpecsScan.cc.
References columns, flags, and SWC::DB::Specs::Flags::print().
Referenced by to_string().
|
inline |
Definition at line 86 of file SpecsScan.h.
References print().
Columns SWC::DB::Specs::Scan::columns |
Definition at line 101 of file SpecsScan.h.
Referenced by SWC::client::SQL::QuerySelect::add_column(), decode(), SWC::client::Query::Select::Handlers::Base::default_executor(), display(), encode(), encoded_length(), free(), operator=(), SWC::client::SQL::QuerySelect::parse_dump(), SWC::client::SQL::QuerySelect::parse_select(), print(), SWC::client::SQL::QuerySelect::read_cells_intervals(), Scan(), SWC::Utils::LoadGenerator::select_data(), SWC::Utils::shell::Statistics::set_definitions(), and SWC::ThriftBroker::AppHandler::sync_select().
Flags SWC::DB::Specs::Scan::flags |
Definition at line 102 of file SpecsScan.h.
Referenced by decode(), display(), encode(), encoded_length(), operator=(), SWC::client::SQL::QuerySelect::parse_select(), print(), and SWC::ThriftBroker::AppHandler::sync_select().