|
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_CellsSelect_h
7 #define swcdb_db_protocol_bkr_req_CellsSelect_h
15 namespace SWC {
namespace Comm {
namespace Protocol {
16 namespace Bkr {
namespace Req {
19 template<
typename DataT>
23 typedef std::shared_ptr<CellsSelect>
Ptr;
26 template<
typename... DataArgsT>
30 const uint32_t timeout,
31 DataArgsT&&... args) {
35 template<
typename... DataArgsT>
39 const uint32_t timeout,
40 DataArgsT&&... args) {
41 make(params, timeout, args...)->run();
56 return data.valid() && !
data.get_clients()->stopping();
70 ev->error, ev->data.base, ev->data.size, ev->data_ext);
77 template<
typename... DataArgsT>
80 const uint32_t timeout,
128 #endif // swcdb_db_protocol_bkr_req_CellsSelect_h
SWC_CAN_INLINE Ptr req() noexcept
virtual ~CellsSelect() noexcept
Comm::client::ConnQueue::ReqBase ReqBase
static SWC_CAN_INLINE Ptr make(const Params::CellsSelectReqRef ¶ms, const uint32_t timeout, DataArgsT &&... args)
void handle(ConnHandlerPtr, const Event::Ptr &ev) override
void handle_no_conn() override
CellsSelect(CellsSelect &&)=delete
SWC::client::Brokers::BrokerIdx _bkr_idx
SWC_CAN_INLINE CellsSelect(const Params::CellsSelectReqRef ¶ms, const uint32_t timeout, DataArgsT &&... args)
The SWC-DB C++ namespace 'SWC'.
static SWC_CAN_INLINE void request(const Params::CellsSelectReqRef ¶ms, const uint32_t timeout, DataArgsT &&... args)
CellsSelect & operator=(const CellsSelect &)=delete
std::shared_ptr< CellsSelect > Ptr
std::shared_ptr< ConnHandler > ConnHandlerPtr
bool turn_around(Brokers &brks) noexcept
CellsSelect & operator=(CellsSelect &&)=delete
std::shared_ptr< Event > Ptr
std::shared_ptr< ConnQueueReqBase > Ptr
CellsSelect(const CellsSelect &)=delete
Common::Req::function< std::function< void(void *, const client::ConnQueue::ReqBase::Ptr &, Params::CellsSelectRsp &)>> Functional_CellsSelect