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::client::Managers::MasterRangesCache::Range Struct Referencefinal
+ Collaboration diagram for SWC::client::Managers::MasterRangesCache::Range:

Public Member Functions

SWC_CAN_INLINE Range (const int64_t a_ts, const rid_t a_rid, const DB::Cell::Key &range_begin, const DB::Cell::Key &range_end, const Comm::EndPoints &a_endpoints, const int64_t a_revision)
 
SWC_CAN_INLINE Range (Range &&other) noexcept
 
SWC_CAN_INLINE ~Range () noexcept
 
SWC_CAN_INLINE Rangeoperator= (Range &&other) noexcept
 
SWC_CAN_INLINE void change (const int64_t _ts, const rid_t _rid, const DB::Cell::Key &_range_begin, const DB::Cell::Key &_range_end, const Comm::EndPoints &_endpoints, const int64_t _revision)
 

Public Attributes

int64_t ts
 
rid_t rid
 
DB::Cell::Key key_begin
 
DB::Cell::Key key_end
 
Comm::EndPoints endpoints
 
int64_t revision
 

Detailed Description

Definition at line 28 of file Managers.h.

Constructor & Destructor Documentation

◆ Range() [1/2]

SWC_CAN_INLINE SWC::client::Managers::MasterRangesCache::Range::Range ( const int64_t  a_ts,
const rid_t  a_rid,
const DB::Cell::Key range_begin,
const DB::Cell::Key range_end,
const Comm::EndPoints a_endpoints,
const int64_t  a_revision 
)
inline

Definition at line 36 of file Managers.h.

◆ Range() [2/2]

SWC_CAN_INLINE SWC::client::Managers::MasterRangesCache::Range::Range ( Range &&  other)
inlinenoexcept

Definition at line 47 of file Managers.h.

◆ ~Range()

SWC_CAN_INLINE SWC::client::Managers::MasterRangesCache::Range::~Range ( )
inlinenoexcept

Definition at line 56 of file Managers.h.

Member Function Documentation

◆ change()

SWC_CAN_INLINE void SWC::client::Managers::MasterRangesCache::Range::change ( const int64_t  _ts,
const rid_t  _rid,
const DB::Cell::Key _range_begin,
const DB::Cell::Key _range_end,
const Comm::EndPoints _endpoints,
const int64_t  _revision 
)
inline

Definition at line 68 of file Managers.h.

References SWC::DB::Cell::Key::copy(), endpoints, key_begin, key_end, revision, rid, and ts.

+ Here is the call graph for this function:

◆ operator=()

SWC_CAN_INLINE Range& SWC::client::Managers::MasterRangesCache::Range::operator= ( Range &&  other)
inlinenoexcept

Definition at line 58 of file Managers.h.

References endpoints, key_begin, key_end, revision, rid, and ts.

Member Data Documentation

◆ endpoints

Comm::EndPoints SWC::client::Managers::MasterRangesCache::Range::endpoints

Definition at line 33 of file Managers.h.

Referenced by change(), and operator=().

◆ key_begin

DB::Cell::Key SWC::client::Managers::MasterRangesCache::Range::key_begin

Definition at line 31 of file Managers.h.

Referenced by change(), and operator=().

◆ key_end

DB::Cell::Key SWC::client::Managers::MasterRangesCache::Range::key_end

Definition at line 32 of file Managers.h.

Referenced by change(), and operator=().

◆ revision

int64_t SWC::client::Managers::MasterRangesCache::Range::revision

Definition at line 34 of file Managers.h.

Referenced by change(), and operator=().

◆ rid

rid_t SWC::client::Managers::MasterRangesCache::Range::rid

Definition at line 30 of file Managers.h.

Referenced by change(), and operator=().

◆ ts

int64_t SWC::client::Managers::MasterRangesCache::Range::ts

Definition at line 29 of file Managers.h.

Referenced by change(), and operator=().


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