|
SWC-DB
v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
|
Go to the documentation of this file.
6 #ifndef swcdb_db_protocol_bkr_req_ColumnList_h
7 #define swcdb_db_protocol_bkr_req_ColumnList_h
14 namespace SWC {
namespace Comm {
namespace Protocol {
15 namespace Bkr {
namespace Req {
18 template<
typename DataT>
22 typedef std::shared_ptr<ColumnList>
Ptr;
25 template<
typename... DataArgsT>
29 const uint32_t timeout,
30 DataArgsT&&... args) {
34 template<
typename... DataArgsT>
38 const uint32_t timeout,
39 DataArgsT&&... args) {
40 make(params, timeout, args...)->run();
47 template<
typename... DataArgsT>
51 const uint32_t timeout,
58 return data.get_clients();
62 return data.valid() && !
data.get_clients()->stopping();
104 #endif // swcdb_db_protocol_bkr_req_ColumnList_h
SWC_CAN_INLINE Ptr req() noexcept
static SWC_CAN_INLINE Ptr make(const Mngr::Params::ColumnListReq ¶ms, const uint32_t timeout, DataArgsT &&... args)
Common::Req::function< std::function< void(void *, const client::ConnQueue::ReqBase::Ptr &, int err, const Mngr::Params::ColumnListRsp &)>> Functional_ColumnList
SWC::client::Clients::Ptr & get_clients() noexcept override
static SWC_CAN_INLINE void request(const Mngr::Params::ColumnListReq ¶ms, const uint32_t timeout, DataArgsT &&... args)
SWC_CAN_INLINE ColumnList(const Mngr::Params::ColumnListReq ¶ms, const uint32_t timeout, DataArgsT &&... args)
The SWC-DB C++ namespace 'SWC'.
virtual ~ColumnList() noexcept
std::shared_ptr< ConnQueueReqBase > Ptr
void callback(int err, const Mngr::Params::ColumnListRsp &rsp) override
std::shared_ptr< ColumnList > Ptr