|
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.
11 namespace SWC {
namespace client {
namespace Query {
namespace Select {
15 #define SWC_SCANNER_REQ_DEBUG(msg) \
16 SWC_LOG_OUT(LOG_DEBUG, params.print(SWC_LOG_OSTREAM << msg << ' '); );
18 #define SWC_SCANNER_RSP_DEBUG(msg) \
19 SWC_LOG_OUT(LOG_DEBUG, \
20 print(SWC_LOG_OSTREAM << msg << ' '); \
21 rsp.print(SWC_LOG_OSTREAM << ' '); \
28 out <<
"BrokerScanner(cid=" <<
cid <<
' ';
30 out <<
" completion=" <<
selector->completion.count()
41 ReqData(
const Ptr& a_scanner) noexcept
43 profile(scanner->selector->profile.bkr()) {
46 ~ReqData() noexcept { }
49 return scanner->selector->clients;
53 return scanner->selector->valid();
59 scanner->selected(req, rsp);
98 return req->request_again();
107 #undef SWC_SCANNER_REQ_DEBUG
108 #undef SWC_SCANNER_RSP_DEBUG
~BrokerScanner() noexcept
@ COLUMN_SCHEMA_NAME_NOT_EXISTS
void selected(const ReqBase::Ptr &req, Comm::Protocol::Bkr::Params::CellsSelectRsp &rsp)
std::shared_ptr< BrokerScanner > Ptr
void print(std::ostream &out) const
Handlers::Base::Ptr selector
void print(std::ostream &out)
The SWC-DB C++ namespace 'SWC'.
static SWC_CAN_INLINE void request(const Params::CellsSelectReqRef ¶ms, const uint32_t timeout, DataArgsT &&... args)
#define SWC_SCANNER_RSP_DEBUG(msg)
#define SWC_SCANNER_REQ_DEBUG(msg)
DB::Specs::Interval interval
std::shared_ptr< ConnQueueReqBase > Ptr
SWC_CAN_INLINE void add(bool err) const noexcept