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::Mngr::Req::ColumnMng< DataT > Class Template Referencefinal

#include <swcdb/db/Protocol/Mngr/req/ColumnMng.h>

+ Inheritance diagram for SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >:
+ Collaboration diagram for SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >:

Public Types

typedef std::shared_ptr< ColumnMngPtr
 
- 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 ~ColumnMng () noexcept
 
void handle (ConnHandlerPtr, const Event::Ptr &ev) override
 
- Public Member Functions inherited from SWC::Comm::Protocol::Mngr::Req::ColumnMng_Base
SWC_CAN_INLINE ColumnMng_Base (const Params::ColumnMng &params, const uint32_t timeout)
 
virtual ~ColumnMng_Base () noexcept
 
void handle_no_conn () override
 
bool run () 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)
 

Static Public Member Functions

template<typename... DataArgsT>
static SWC_CAN_INLINE Ptr make (const Params::ColumnMng &params, const uint32_t timeout, DataArgsT &&... args)
 
template<typename... DataArgsT>
static SWC_CAN_INLINE void request (const Params::ColumnMng &params, const uint32_t timeout, DataArgsT &&... args)
 
template<typename... DataArgsT>
static SWC_CAN_INLINE void request (Params::ColumnMng::Function func, const DB::Schema::Ptr &schema, const uint32_t timeout, DataArgsT &&... args)
 
template<typename... DataArgsT>
static SWC_CAN_INLINE void create (const DB::Schema::Ptr &schema, const uint32_t timeout, DataArgsT &&... args)
 
template<typename... DataArgsT>
static SWC_CAN_INLINE void modify (const DB::Schema::Ptr &schema, const uint32_t timeout, DataArgsT &&... args)
 
template<typename... DataArgsT>
static SWC_CAN_INLINE void remove (const DB::Schema::Ptr &schema, const uint32_t timeout, 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 ColumnMng (const Params::ColumnMng &params, const uint32_t timeout, DataArgsT &&... args)
 
SWC::client::Clients::Ptrget_clients () noexcept override
 
bool valid () override
 
void callback (int err) override
 
- 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::Mngr::Req::ColumnMng< DataT >

Definition at line 19 of file ColumnMng.h.

Member Typedef Documentation

◆ Ptr

template<typename DataT >
typedef std::shared_ptr<ColumnMng> SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::Ptr

Definition at line 22 of file ColumnMng.h.

Constructor & Destructor Documentation

◆ ~ColumnMng()

template<typename DataT >
virtual SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::~ColumnMng ( )
inlinevirtualnoexcept

Definition at line 76 of file ColumnMng.h.

◆ ColumnMng()

template<typename DataT >
template<typename... DataArgsT>
SWC_CAN_INLINE SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::ColumnMng ( const Params::ColumnMng< DataT > &  params,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlineprotected

Definition at line 86 of file ColumnMng.h.

Referenced by SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::make().

+ Here is the caller graph for this function:

Member Function Documentation

◆ callback()

template<typename DataT >
void SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::callback ( int  err)
inlineoverrideprotectedvirtual

Implements SWC::Comm::Protocol::Mngr::Req::ColumnMng_Base.

Definition at line 102 of file ColumnMng.h.

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

+ Here is the call graph for this function:

◆ create()

template<typename DataT >
template<typename... DataArgsT>
static SWC_CAN_INLINE void SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::create ( const DB::Schema::Ptr schema,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 54 of file ColumnMng.h.

References SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::request().

+ Here is the call graph for this function:

◆ get_clients()

template<typename DataT >
SWC::client::Clients::Ptr& SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::get_clients ( )
inlineoverrideprotectedvirtualnoexcept

◆ handle()

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

Implements SWC::Comm::DispatchHandler.

Definition at line 78 of file ColumnMng.h.

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

+ Here is the call graph for this function:

◆ make()

template<typename DataT >
template<typename... DataArgsT>
static SWC_CAN_INLINE Ptr SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::make ( const Params::ColumnMng< DataT > &  params,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 27 of file ColumnMng.h.

References SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::ColumnMng().

Referenced by SWC::Comm::Protocol::Mngr::Req::ColumnMng_Sync::make(), and SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::request().

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

◆ modify()

template<typename DataT >
template<typename... DataArgsT>
static SWC_CAN_INLINE void SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::modify ( const DB::Schema::Ptr schema,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 62 of file ColumnMng.h.

References SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::request().

+ Here is the call graph for this function:

◆ remove()

template<typename DataT >
template<typename... DataArgsT>
static SWC_CAN_INLINE void SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::remove ( const DB::Schema::Ptr schema,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 70 of file ColumnMng.h.

References SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::request().

+ Here is the call graph for this function:

◆ request() [1/2]

template<typename DataT >
template<typename... DataArgsT>
static SWC_CAN_INLINE void SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::request ( const Params::ColumnMng< DataT > &  params,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 36 of file ColumnMng.h.

References SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::make().

Referenced by SWC::Comm::Protocol::Bkr::Handler::column_mng(), SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::create(), SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::modify(), SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::remove(), and SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::request().

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

◆ request() [2/2]

template<typename DataT >
template<typename... DataArgsT>
static SWC_CAN_INLINE void SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::request ( Params::ColumnMng< DataT >::Function  func,
const DB::Schema::Ptr schema,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 45 of file ColumnMng.h.

References SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::request().

+ Here is the call graph for this function:

◆ valid()

template<typename DataT >
bool SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::valid ( )
inlineoverrideprotectedvirtual

Reimplemented from SWC::Comm::DispatchHandler.

Definition at line 98 of file ColumnMng.h.

References SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::data.

Member Data Documentation

◆ data


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