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::ColumnList_Sync Class Reference

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

+ Collaboration diagram for SWC::Comm::Protocol::Mngr::Req::ColumnList_Sync:

Public Member Functions

SWC_CAN_INLINE ColumnList_Sync (const SWC::client::Clients::Ptr &a_clients, int &a_err, DB::SchemasVec &a_schemas) noexcept
 
 ~ColumnList_Sync () noexcept
 
SWC_CAN_INLINE SWC::client::Clients::Ptrget_clients () noexcept
 
SWC_CAN_INLINE bool valid ()
 
SWC_CAN_INLINE void callback (const client::ConnQueue::ReqBase::Ptr &, int error, const Params::ColumnListRsp &rsp)
 

Static Public Member Functions

template<typename... DataArgsT>
static SWC_CAN_INLINE std::shared_ptr< ColumnList< ColumnList_Sync > > make (const Params::ColumnListReq &params, const uint32_t timeout, DataArgsT &&... args)
 
template<typename... DataArgsT>
static SWC_CAN_INLINE void request (const Params::ColumnListReq &params, const uint32_t timeout, DataArgsT &&... args)
 

Public Attributes

Core::StateSynchronization await
 

Private Attributes

SWC::client::Clients::Ptr clients
 
int & err
 
Core::MutexSptd m_mutex
 
DB::SchemasVecschemas
 

Detailed Description

Definition at line 18 of file ColumnList_Sync.h.

Constructor & Destructor Documentation

◆ ColumnList_Sync()

SWC_CAN_INLINE SWC::Comm::Protocol::Mngr::Req::ColumnList_Sync::ColumnList_Sync ( const SWC::client::Clients::Ptr a_clients,
int &  a_err,
DB::SchemasVec a_schemas 
)
inlinenoexcept

Definition at line 44 of file ColumnList_Sync.h.

◆ ~ColumnList_Sync()

SWC::Comm::Protocol::Mngr::Req::ColumnList_Sync::~ColumnList_Sync ( )
inlinenoexcept

Definition at line 51 of file ColumnList_Sync.h.

Member Function Documentation

◆ callback()

◆ get_clients()

SWC_CAN_INLINE SWC::client::Clients::Ptr& SWC::Comm::Protocol::Mngr::Req::ColumnList_Sync::get_clients ( )
inlinenoexcept

Definition at line 54 of file ColumnList_Sync.h.

References clients.

◆ make()

template<typename... DataArgsT>
static SWC_CAN_INLINE std::shared_ptr<ColumnList<ColumnList_Sync> > SWC::Comm::Protocol::Mngr::Req::ColumnList_Sync::make ( const Params::ColumnListReq params,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 24 of file ColumnList_Sync.h.

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

Referenced by request().

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

◆ request()

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

Definition at line 32 of file ColumnList_Sync.h.

References make().

Referenced by SWC::client::Schemas::_request(), and SWC::ThriftBroker::AppHandler::get_schemas().

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

◆ valid()

SWC_CAN_INLINE bool SWC::Comm::Protocol::Mngr::Req::ColumnList_Sync::valid ( )
inline

Definition at line 59 of file ColumnList_Sync.h.

Member Data Documentation

◆ await

Core::StateSynchronization SWC::Comm::Protocol::Mngr::Req::ColumnList_Sync::await

Definition at line 41 of file ColumnList_Sync.h.

Referenced by callback().

◆ clients

SWC::client::Clients::Ptr SWC::Comm::Protocol::Mngr::Req::ColumnList_Sync::clients
private

Definition at line 87 of file ColumnList_Sync.h.

Referenced by get_clients().

◆ err

int& SWC::Comm::Protocol::Mngr::Req::ColumnList_Sync::err
private

Definition at line 88 of file ColumnList_Sync.h.

Referenced by callback().

◆ m_mutex

Core::MutexSptd SWC::Comm::Protocol::Mngr::Req::ColumnList_Sync::m_mutex
private

Definition at line 89 of file ColumnList_Sync.h.

Referenced by callback().

◆ schemas

DB::SchemasVec& SWC::Comm::Protocol::Mngr::Req::ColumnList_Sync::schemas
private

Definition at line 90 of file ColumnList_Sync.h.

Referenced by callback().


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