|
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_client_Query_Select_Scanner_h
7 #define swcdb_db_client_Query_Select_Scanner_h
18 namespace SWC {
namespace client {
namespace Query {
25 class Scanner final :
public std::enable_shared_from_this<Scanner> {
33 hdlr, key_seq, intval, cid))->mngr_locate_master();
41 hdlr, key_seq, std::move(intval), cid))->mngr_locate_master();
45 typedef std::shared_ptr<Scanner>
Ptr;
90 const cid_t cid) noexcept;
112 void print(std::ostream& out);
167 #ifdef SWC_IMPL_SOURCE
172 #endif // swcdb_db_client_Query_Select_Scanner_h
DB::Cell::Key master_mngr_offset
SWC_CAN_INLINE Profiling & get_profile() noexcept
DB::Specs::Interval interval
DB::Cell::Key master_rgr_offset
DB::Cell::Key meta_offset
void mngr_resolve_rgr_select()
SWC_CAN_INLINE Clients::Ptr & get_clients() noexcept
void debug_res_cache(const char *msg, cid_t cid, rid_t rid, const Comm::EndPoints &endpoints)
Comm::EndPoints master_rgr_endpoints
Comm::EndPoints meta_endpoints
bool mngr_resolved_rgr_meta(const ReqBase::Ptr &base, Comm::Protocol::Mngr::Params::RgrGetRsp &rsp)
bool mngr_located_master(const ReqBase::Ptr &base, Comm::Protocol::Mngr::Params::RgrGetRsp &rsp)
void print(std::ostream &out)
static SWC_CAN_INLINE void execute(const Handlers::Base::Ptr &hdlr, DB::Types::KeySeq key_seq, cid_t cid, DB::Specs::Interval &&intval)
void rgr_located_meta(const ReqBase::Ptr &base, const Comm::Protocol::Rgr::Params::RangeLocateRsp &rsp)
bool mngr_resolved_rgr_select(const ReqBase::Ptr &base, Comm::Protocol::Mngr::Params::RgrGetRsp &rsp)
static SWC_CAN_INLINE void execute(const Handlers::Base::Ptr &hdlr, DB::Types::KeySeq key_seq, cid_t cid, const DB::Specs::Interval &intval)
The SWC-DB C++ namespace 'SWC'.
int64_t master_mngr_revision
ReqBase::Ptr meta_req_base
Handlers::Base::Ptr selector
Core::CompletionCounter< uint64_t > completion
ReqBase::Ptr master_rgr_req_base
std::shared_ptr< Base > Ptr
void mngr_locate_master()
Scanner(const Handlers::Base::Ptr &hdlr, const DB::Types::KeySeq col_seq, const DB::Specs::Interval &interval, const cid_t cid)
const DB::Types::KeySeq col_seq
std::shared_ptr< Scanner > Ptr
void mngr_resolve_rgr_meta()
ReqBase::Ptr data_req_base
Comm::EndPoints data_endpoints
std::shared_ptr< ConnQueueReqBase > Ptr
void rgr_located_master(const ReqBase::Ptr &base, const Comm::Protocol::Rgr::Params::RangeLocateRsp &rsp)
SWC_CAN_INLINE bool valid() noexcept
void rgr_selected(const ReqBase::Ptr &req, Comm::Protocol::Rgr::Params::RangeQuerySelectRsp &rsp)