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::Ranger::Range::MetaRegOnLoadReq Class Reference
+ Inheritance diagram for SWC::Ranger::Range::MetaRegOnLoadReq:
+ Collaboration diagram for SWC::Ranger::Range::MetaRegOnLoadReq:

Public Types

typedef std::shared_ptr< MetaRegOnLoadReqPtr
 
- Public Types inherited from SWC::Ranger::Query::Update::BaseMeta
typedef std::shared_ptr< BaseMetaPtr
 
- Public Types inherited from SWC::client::Query::Update::Handlers::BaseSingleColumn
typedef std::shared_ptr< BaseSingleColumnPtr
 
- Public Types inherited from SWC::client::Query::Update::Handlers::Base
typedef std::shared_ptr< BasePtr
 
typedef Core::Vector< Column * > Colms
 

Public Member Functions

SWC_CAN_INLINE MetaRegOnLoadReq (const RangePtr &a_range, const Callback::RangeLoad::Ptr &a_req)
 
virtual ~MetaRegOnLoadReq () noexcept
 
virtual void response (int err=Error::OK) override
 
virtual void callback () override
 
- Public Member Functions inherited from SWC::Ranger::Query::Update::BaseMeta
 BaseMeta (const RangePtr &range)
 
virtual bool valid () noexcept override
 
bool is_last_rsp (int err)
 
- Public Member Functions inherited from SWC::client::Query::Update::Handlers::BaseSingleColumn
SWC_CAN_INLINE BaseSingleColumn (const Clients::Ptr &a_clients, const cid_t cid, DB::Types::KeySeq seq, uint32_t versions, uint32_t ttl_secs, DB::Types::Column type, Clients::Flag a_executor=Clients::DEFAULT)
 
SWC_CAN_INLINE BaseSingleColumn (const Clients::Ptr &a_clients, const cid_t cid, DB::Types::KeySeq seq, uint32_t versions, uint32_t ttl_secs, DB::Types::Column type, const StaticBuffer &buffer)
 
virtual ~BaseSingleColumn () noexcept
 
virtual bool requires_commit () noexcept override
 
virtual bool empty () noexcept override
 
virtual size_t size_bytes () noexcept override
 
virtual void next (Base::Colms &cols) noexcept override
 
virtual Base::Columnnext (cid_t cid) noexcept override
 
virtual void error (cid_t cid, int err) noexcept override
 
SWC_CAN_INLINE size_t size () noexcept
 
- Public Member Functions inherited from SWC::client::Query::Update::Handlers::Base
SWC_CAN_INLINE Base (const Clients::Ptr &a_clients, Clients::Flag a_executor=Clients::Flag::DEFAULT) noexcept
 
 Base (Base &&)=delete
 
 Base (const Base &)=delete
 
Baseoperator= (const Base &)=delete
 
Baseoperator= (Base &&)=delete
 
virtual int error () noexcept
 
virtual void error (int err) noexcept
 
SWC_CAN_INLINE void add_resend_count (size_t count) noexcept
 
SWC_CAN_INLINE size_t get_resend_count (bool reset=true) noexcept
 
void commit ()
 
SWC_CAN_INLINE void commit (const cid_t cid)
 
void commit (Column *colp)
 

Static Public Member Functions

static SWC_CAN_INLINE Ptr make (const RangePtr &range, const Callback::RangeLoad::Ptr &req)
 

Public Attributes

Callback::RangeLoad::Ptr req
 
- Public Attributes inherited from SWC::Ranger::Query::Update::BaseMeta
RangePtr range
 
- Public Attributes inherited from SWC::client::Query::Update::Handlers::BaseSingleColumn
ColumnMutable column
 
- Public Attributes inherited from SWC::client::Query::Update::Handlers::Base
Clients::Ptr clients
 
Profiling profile
 
Core::Atomic< int > state_error
 
Core::CompletionCounter< uint64_t > completion
 
Core::Atomic< uint32_t > timeout
 
Core::Atomic< uint32_t > timeout_ratio
 
Core::Atomic< uint32_t > buff_sz
 
Core::Atomic< uint8_t > buff_ahead
 
const Clients::Flag executor
 

Additional Inherited Members

- Protected Member Functions inherited from SWC::Ranger::Query::Update::BaseMeta
virtual ~BaseMeta () noexcept
 
- Protected Member Functions inherited from SWC::client::Query::Update::Handlers::Base
virtual void _execute (Column *colp)
 
virtual ~Base () noexcept
 

Detailed Description

Definition at line 21 of file Range.cc.

Member Typedef Documentation

◆ Ptr

Definition at line 23 of file Range.cc.

Constructor & Destructor Documentation

◆ MetaRegOnLoadReq()

SWC_CAN_INLINE SWC::Ranger::Range::MetaRegOnLoadReq::MetaRegOnLoadReq ( const RangePtr a_range,
const Callback::RangeLoad::Ptr a_req 
)
inline

Definition at line 34 of file Range.cc.

Referenced by make().

+ Here is the caller graph for this function:

◆ ~MetaRegOnLoadReq()

virtual SWC::Ranger::Range::MetaRegOnLoadReq::~MetaRegOnLoadReq ( )
inlinevirtualnoexcept

Definition at line 39 of file Range.cc.

Member Function Documentation

◆ callback()

virtual void SWC::Ranger::Range::MetaRegOnLoadReq::callback ( )
inlineoverridevirtual

Implements SWC::Ranger::Query::Update::BaseMeta.

Definition at line 60 of file Range.cc.

References SWC::client::Query::Update::Handlers::Base::error(), SWC::Ranger::Query::Update::BaseMeta::range, and req.

+ Here is the call graph for this function:

◆ make()

static SWC_CAN_INLINE Ptr SWC::Ranger::Range::MetaRegOnLoadReq::make ( const RangePtr range,
const Callback::RangeLoad::Ptr req 
)
inlinestatic

Definition at line 26 of file Range.cc.

References MetaRegOnLoadReq(), SWC::Ranger::Query::Update::BaseMeta::range, and req.

Referenced by SWC::Ranger::Range::check_meta(), and SWC::Ranger::Range::load().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ response()

virtual void SWC::Ranger::Range::MetaRegOnLoadReq::response ( int  err = Error::OK)
inlineoverridevirtual

Implements SWC::client::Query::Update::Handlers::Base.

Definition at line 41 of file Range.cc.

References SWC::Ranger::Query::Update::BaseMeta::is_last_rsp(), SWC::client::Query::Update::Handlers::Base::operator=(), SWC::Env::Rgr::post(), and SWC_CAN_INLINE.

+ Here is the call graph for this function:

Member Data Documentation

◆ req

Callback::RangeLoad::Ptr SWC::Ranger::Range::MetaRegOnLoadReq::req

Definition at line 31 of file Range.cc.

Referenced by callback(), and make().


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