SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Column Struct Reference

#include <swcdb/db/Protocol/Rgr/params/Report.h>

+ Collaboration diagram for SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Column:

Public Member Functions

SWC_CAN_INLINE Column () noexcept
 
 ~Column () noexcept
 
size_t SWC_PURE_FUNC encoded_length () const
 
void encode (uint8_t **bufp) const
 
void decode (const uint8_t **bufp, size_t *remainp)
 
void display (std::ostream &out, bool pretty=true, const std::string &offset="") const
 

Static Public Member Functions

static bool SWC_PURE_FUNC before (Column *c1, Column *c2)
 

Public Attributes

cid_t cid
 
DB::Types::KeySeq col_seq
 
uint64_t mem_bytes
 
Core::Vector< Range * > ranges
 

Detailed Description

Definition at line 156 of file Report.h.

Constructor & Destructor Documentation

◆ Column()

SWC_CAN_INLINE SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Column::Column ( )
inlinenoexcept

Definition at line 166 of file Report.h.

◆ ~Column()

SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Column::~Column ( )
noexcept

Definition at line 163 of file Report.cc.

Member Function Documentation

◆ before()

bool SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Column::before ( RspColumnsRanges::Column c1,
RspColumnsRanges::Column c2 
)
static

Definition at line 158 of file Report.cc.

References cid.

Referenced by SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::internal_decode().

+ Here is the caller graph for this function:

◆ decode()

void SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Column::decode ( const uint8_t **  bufp,
size_t *  remainp 
)

Definition at line 187 of file Report.cc.

References SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Range::before(), SWC::Serialization::decode_i8(), SWC::Serialization::decode_vi64(), and SWC::Comm::Resolver::sort().

+ Here is the call graph for this function:

◆ display()

void SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Column::display ( std::ostream &  out,
bool  pretty = true,
const std::string &  offset = "" 
) const

Definition at line 199 of file Report.cc.

References SWC::DB::Types::to_string().

+ Here is the call graph for this function:

◆ encode()

void SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Column::encode ( uint8_t **  bufp) const

Definition at line 178 of file Report.cc.

References SWC::Serialization::encode_i8(), and SWC::Serialization::encode_vi64().

+ Here is the call graph for this function:

◆ encoded_length()

size_t SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Column::encoded_length ( ) const

Definition at line 169 of file Report.cc.

References SWC::Serialization::encoded_length_vi64().

+ Here is the call graph for this function:

Member Data Documentation

◆ cid

cid_t SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Column::cid

Definition at line 160 of file Report.h.

Referenced by before().

◆ col_seq

DB::Types::KeySeq SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Column::col_seq

Definition at line 161 of file Report.h.

◆ mem_bytes

uint64_t SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Column::mem_bytes

Definition at line 162 of file Report.h.

◆ ranges

Core::Vector<Range*> SWC::Comm::Protocol::Rgr::Params::Report::RspColumnsRanges::Column::ranges

Definition at line 163 of file Report.h.


The documentation for this struct was generated from the following files: