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::RangeQuerySelectReqRef Class Referencefinal

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

+ Inheritance diagram for SWC::Comm::Protocol::Rgr::Params::RangeQuerySelectReqRef:
+ Collaboration diagram for SWC::Comm::Protocol::Rgr::Params::RangeQuerySelectReqRef:

Public Member Functions

SWC_CAN_INLINE RangeQuerySelectReqRef (cid_t a_cid, rid_t a_rid, const DB::Specs::Interval &a_interval) noexcept
 
void print (std::ostream &out) const
 
- Public Member Functions inherited from SWC::Comm::Serializable
size_t encoded_length () const
 
void encode (uint8_t **bufp) const
 
void decode (const uint8_t **bufp, size_t *remainp)
 

Public Attributes

cid_t cid
 
rid_t rid
 
const DB::Specs::Intervalinterval
 

Private Member Functions

size_t SWC_PURE_FUNC internal_encoded_length () const override
 
void internal_encode (uint8_t **bufp) const override
 
void internal_decode (const uint8_t **, size_t *) override
 

Additional Inherited Members

- Protected Member Functions inherited from SWC::Comm::Serializable
virtual ~Serializable () noexcept
 

Detailed Description

Definition at line 51 of file RangeQuerySelect.h.

Constructor & Destructor Documentation

◆ RangeQuerySelectReqRef()

SWC_CAN_INLINE SWC::Comm::Protocol::Rgr::Params::RangeQuerySelectReqRef::RangeQuerySelectReqRef ( cid_t  a_cid,
rid_t  a_rid,
const DB::Specs::Interval a_interval 
)
inlinenoexcept

Definition at line 55 of file RangeQuerySelect.h.

Member Function Documentation

◆ internal_decode()

void SWC::Comm::Protocol::Rgr::Params::RangeQuerySelectReqRef::internal_decode ( const uint8_t **  ,
size_t *   
)
inlineoverrideprivatevirtual

Implements SWC::Comm::Serializable.

Definition at line 75 of file RangeQuerySelect.h.

◆ internal_encode()

void SWC::Comm::Protocol::Rgr::Params::RangeQuerySelectReqRef::internal_encode ( uint8_t **  bufp) const
overrideprivatevirtual

Implements SWC::Comm::Serializable.

Definition at line 56 of file RangeQuerySelect.cc.

References cid, SWC::DB::Specs::Interval::encode(), SWC::Serialization::encode_vi64(), interval, and rid.

+ Here is the call graph for this function:

◆ internal_encoded_length()

size_t SWC::Comm::Protocol::Rgr::Params::RangeQuerySelectReqRef::internal_encoded_length ( ) const
overrideprivatevirtual

Implements SWC::Comm::Serializable.

Definition at line 50 of file RangeQuerySelect.cc.

References cid, SWC::DB::Specs::Interval::encoded_length(), SWC::Serialization::encoded_length_vi64(), interval, and rid.

+ Here is the call graph for this function:

◆ print()

void SWC::Comm::Protocol::Rgr::Params::RangeQuerySelectReqRef::print ( std::ostream &  out) const

Definition at line 44 of file RangeQuerySelect.cc.

References cid, interval, SWC::DB::Specs::Interval::print(), and rid.

+ Here is the call graph for this function:

Member Data Documentation

◆ cid

cid_t SWC::Comm::Protocol::Rgr::Params::RangeQuerySelectReqRef::cid

Definition at line 64 of file RangeQuerySelect.h.

Referenced by internal_encode(), internal_encoded_length(), and print().

◆ interval

const DB::Specs::Interval& SWC::Comm::Protocol::Rgr::Params::RangeQuerySelectReqRef::interval

Definition at line 66 of file RangeQuerySelect.h.

Referenced by internal_encode(), internal_encoded_length(), and print().

◆ rid

rid_t SWC::Comm::Protocol::Rgr::Params::RangeQuerySelectReqRef::rid

Definition at line 65 of file RangeQuerySelect.h.

Referenced by internal_encode(), internal_encoded_length(), and print().


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