SWC-DB  v0.5.9 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT > Class Template Referencefinal

#include <swcdb/db/Protocol/Rgr/req/RangeQueryUpdate.h>

+ Inheritance diagram for SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >:
+ Collaboration diagram for SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >:

Public Types

typedef std::shared_ptr< RangeQueryUpdatePtr
 
- Public Types inherited from SWC::Comm::client::ConnQueueReqBase
typedef std::shared_ptr< ConnQueueReqBasePtr
 
- Public Types inherited from SWC::Comm::DispatchHandler
typedef std::shared_ptr< DispatchHandlerPtr
 

Public Member Functions

virtual ~RangeQueryUpdate () noexcept
 
bool valid () override
 
void handle_no_conn () override
 
void handle (ConnHandlerPtr, const Event::Ptr &ev) override
 
- Public Member Functions inherited from SWC::Comm::client::ConnQueueReqBase
SWC_CAN_INLINE ConnQueueReqBase (Buffers::Ptr &&a_cbp) noexcept
 
SWC_CAN_INLINE ConnQueueReqBase (Buffers::Ptr &&a_cbp, const ConnQueuePtr &a_queue) noexcept
 
SWC_CAN_INLINE Ptr req () noexcept
 
virtual bool insistent () noexcept
 
void request_again ()
 
void print (std::ostream &out)
 
- Public Member Functions inherited from SWC::Comm::DispatchHandler
virtual bool run ()
 

Static Public Member Functions

template<typename... DataArgsT>
static SWC_CAN_INLINE Ptr make (const Params::RangeQueryUpdateReq &params, StaticBuffer &snd_buf, const uint32_t timeout, DataArgsT &&... args)
 
template<typename... DataArgsT>
static SWC_CAN_INLINE Ptr make (const Params::RangeQueryUpdateReq &params, const DynamicBuffer &buffer, const uint32_t timeout, DataArgsT &&... args)
 
static SWC_CAN_INLINE void request (const Ptr &req, const EndPoints &endpoints)
 
template<typename... DataArgsT>
static SWC_CAN_INLINE void request (const Params::RangeQueryUpdateReq &params, StaticBuffer &snd_buf, const uint32_t timeout, const EndPoints &endpoints, DataArgsT &&... args)
 
template<typename... DataArgsT>
static SWC_CAN_INLINE void request (const Params::RangeQueryUpdateReq &params, const DynamicBuffer &buffer, const uint32_t timeout, const EndPoints &endpoints, DataArgsT &&... args)
 

Public Attributes

DataT data
 
- Public Attributes inherited from SWC::Comm::client::ConnQueueReqBase
Buffers::Ptr cbp
 
ConnQueuePtr queue
 

Protected Member Functions

template<typename... DataArgsT>
SWC_CAN_INLINE RangeQueryUpdate (Buffers::Ptr &&a_cbp, DataArgsT &&... args)
 
- Protected Member Functions inherited from SWC::Comm::client::ConnQueueReqBase
virtual ~ConnQueueReqBase () noexcept
 
- Protected Member Functions inherited from SWC::Comm::DispatchHandler
virtual ~DispatchHandler () noexcept
 

Detailed Description

template<typename DataT>
class SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >

Definition at line 21 of file RangeQueryUpdate.h.

Member Typedef Documentation

◆ Ptr

template<typename DataT >
typedef std::shared_ptr<RangeQueryUpdate> SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::Ptr

Definition at line 24 of file RangeQueryUpdate.h.

Constructor & Destructor Documentation

◆ ~RangeQueryUpdate()

template<typename DataT >
virtual SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::~RangeQueryUpdate ( )
inlinevirtualnoexcept

Definition at line 78 of file RangeQueryUpdate.h.

◆ RangeQueryUpdate()

template<typename DataT >
template<typename... DataArgsT>
SWC_CAN_INLINE SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::RangeQueryUpdate ( Buffers::Ptr &&  a_cbp,
DataArgsT &&...  args 
)
inlineprotected

Definition at line 102 of file RangeQueryUpdate.h.

Referenced by SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::make().

+ Here is the caller graph for this function:

Member Function Documentation

◆ handle()

template<typename DataT >
void SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::handle ( ConnHandlerPtr  ,
const Event::Ptr ev 
)
inlineoverridevirtual

Implements SWC::Comm::DispatchHandler.

Definition at line 91 of file RangeQueryUpdate.h.

References SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::data, and SWC::Comm::client::ConnQueueReqBase::req().

+ Here is the call graph for this function:

◆ handle_no_conn()

template<typename DataT >
void SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::handle_no_conn ( )
inlineoverridevirtual

Implements SWC::Comm::DispatchHandler.

Definition at line 84 of file RangeQueryUpdate.h.

References SWC::Error::COMM_NOT_CONNECTED, SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::data, and SWC::Comm::client::ConnQueueReqBase::req().

+ Here is the call graph for this function:

◆ make() [1/2]

template<typename DataT >
template<typename... DataArgsT>
static SWC_CAN_INLINE Ptr SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::make ( const Params::RangeQueryUpdateReq params,
const DynamicBuffer buffer,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 42 of file RangeQueryUpdate.h.

References SWC::Core::Buffer< T >::base, SWC::Core::BufferDyn< BufferT >::fill(), and SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::make().

+ Here is the call graph for this function:

◆ make() [2/2]

template<typename DataT >
template<typename... DataArgsT>
static SWC_CAN_INLINE Ptr SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::make ( const Params::RangeQueryUpdateReq params,
StaticBuffer snd_buf,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 29 of file RangeQueryUpdate.h.

References SWC::Comm::Buffers::make(), SWC::Comm::Protocol::Rgr::RANGE_QUERY_UPDATE, and SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::RangeQueryUpdate().

Referenced by SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::make(), and SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::request().

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

◆ request() [1/3]

template<typename DataT >
template<typename... DataArgsT>
static SWC_CAN_INLINE void SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::request ( const Params::RangeQueryUpdateReq params,
const DynamicBuffer buffer,
const uint32_t  timeout,
const EndPoints endpoints,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 69 of file RangeQueryUpdate.h.

References SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::make(), and SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::request().

+ Here is the call graph for this function:

◆ request() [2/3]

template<typename DataT >
template<typename... DataArgsT>
static SWC_CAN_INLINE void SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::request ( const Params::RangeQueryUpdateReq params,
StaticBuffer snd_buf,
const uint32_t  timeout,
const EndPoints endpoints,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 58 of file RangeQueryUpdate.h.

References SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::make(), and SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::request().

+ Here is the call graph for this function:

◆ request() [3/3]

template<typename DataT >
static SWC_CAN_INLINE void SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::request ( const Ptr req,
const EndPoints endpoints 
)
inlinestatic

Definition at line 52 of file RangeQueryUpdate.h.

References SWC::Comm::client::ConnQueueReqBase::req().

Referenced by SWC::client::Query::Update::Committer::commit_data(), and SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::request().

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

◆ valid()

template<typename DataT >
bool SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::valid ( )
inlineoverridevirtual

Member Data Documentation

◆ data


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