SWC-DB  v0.5.9 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::client::Query::Select::BrokerScanner Class Reference

#include <swcdb/db/client/Query/Select/BrokerScanner.h>

+ Inheritance diagram for SWC::client::Query::Select::BrokerScanner:
+ Collaboration diagram for SWC::client::Query::Select::BrokerScanner:

Public Types

typedef std::shared_ptr< BrokerScannerPtr
 

Public Member Functions

SWC_CAN_INLINE BrokerScanner (const Handlers::Base::Ptr &hdlr, DB::Specs::Interval &&a_interval, const cid_t a_cid) noexcept
 
SWC_CAN_INLINE BrokerScanner (const Handlers::Base::Ptr &hdlr, const DB::Specs::Interval &a_interval, const cid_t a_cid)
 
 ~BrokerScanner () noexcept
 
void print (std::ostream &out)
 

Static Public Member Functions

static SWC_CAN_INLINE void execute (const Handlers::Base::Ptr &hdlr, cid_t cid, const DB::Specs::Interval &intval)
 
static SWC_CAN_INLINE void execute (const Handlers::Base::Ptr &hdlr, cid_t cid, DB::Specs::Interval &&intval)
 

Public Attributes

Handlers::Base::Ptr selector
 
DB::Specs::Interval interval
 
const cid_t cid
 

Private Member Functions

void select ()
 
void selected (const ReqBase::Ptr &req, Comm::Protocol::Bkr::Params::CellsSelectRsp &rsp)
 

Detailed Description

Definition at line 18 of file BrokerScanner.h.

Member Typedef Documentation

◆ Ptr

Definition at line 34 of file BrokerScanner.h.

Constructor & Destructor Documentation

◆ BrokerScanner() [1/2]

SWC_CAN_INLINE SWC::client::Query::Select::BrokerScanner::BrokerScanner ( const Handlers::Base::Ptr hdlr,
DB::Specs::Interval &&  a_interval,
const cid_t  a_cid 
)
inlinenoexcept

Definition at line 40 of file BrokerScanner.h.

Referenced by execute().

+ Here is the caller graph for this function:

◆ BrokerScanner() [2/2]

SWC_CAN_INLINE SWC::client::Query::Select::BrokerScanner::BrokerScanner ( const Handlers::Base::Ptr hdlr,
const DB::Specs::Interval a_interval,
const cid_t  a_cid 
)
inline

Definition at line 48 of file BrokerScanner.h.

◆ ~BrokerScanner()

SWC::client::Query::Select::BrokerScanner::~BrokerScanner ( )
noexcept

Definition at line 25 of file BrokerScanner.cc.

Member Function Documentation

◆ execute() [1/2]

static SWC_CAN_INLINE void SWC::client::Query::Select::BrokerScanner::execute ( const Handlers::Base::Ptr hdlr,
cid_t  cid,
const DB::Specs::Interval intval 
)
inlinestatic

Definition at line 22 of file BrokerScanner.h.

References BrokerScanner(), and cid.

Referenced by SWC::client::Query::Select::Handlers::Base::default_executor().

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

◆ execute() [2/2]

static SWC_CAN_INLINE void SWC::client::Query::Select::BrokerScanner::execute ( const Handlers::Base::Ptr hdlr,
cid_t  cid,
DB::Specs::Interval &&  intval 
)
inlinestatic

Definition at line 28 of file BrokerScanner.h.

References BrokerScanner(), and cid.

+ Here is the call graph for this function:

◆ print()

void SWC::client::Query::Select::BrokerScanner::print ( std::ostream &  out)

Definition at line 27 of file BrokerScanner.cc.

References cid, interval, SWC::DB::Specs::Interval::print(), and selector.

+ Here is the call graph for this function:

◆ select()

void SWC::client::Query::Select::BrokerScanner::select ( )
private

Definition at line 34 of file BrokerScanner.cc.

References SWC::client::Query::Profiling::Component::Start::add(), cid, SWC::Comm::Protocol::Bkr::Params::CellsSelectRsp::err, interval, SWC::Comm::Protocol::Bkr::Req::CellsSelect< DataT >::request(), selector, SWC_CAN_INLINE, and SWC_SCANNER_REQ_DEBUG.

Referenced by selected().

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

◆ selected()

Member Data Documentation

◆ cid

const cid_t SWC::client::Query::Select::BrokerScanner::cid

Definition at line 37 of file BrokerScanner.h.

Referenced by execute(), print(), select(), and selected().

◆ interval

DB::Specs::Interval SWC::client::Query::Select::BrokerScanner::interval

Definition at line 36 of file BrokerScanner.h.

Referenced by print(), select(), and selected().

◆ selector

Handlers::Base::Ptr SWC::client::Query::Select::BrokerScanner::selector

Definition at line 35 of file BrokerScanner.h.

Referenced by print(), select(), and selected().


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