|
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.
7 #ifndef swcdb_manager_Protocol_handlers_RgrGet_h
8 #define swcdb_manager_Protocol_handlers_RgrGet_h
13 namespace SWC {
namespace Comm {
namespace Protocol {
14 namespace Mngr {
namespace Handler {
21 const uint8_t *ptr = ev->data.base;
22 size_t remain = ev->data.size;
23 params.
decode(&ptr, &remain);
26 rsp_params.
err, params.
cid);
35 range = col->get_range(
48 range = col->get_range(params.
rid);
57 range->get_rgr_id(), rsp_params.
endpoints);
63 rsp_params.
cid = range->cfg->cid;
64 rsp_params.
rid = range->rid;
91 #endif // swcdb_manager_Protocol_handlers_RgrGet_h
Column::Ptr get_column(int &err, cid_t cid)
constexpr SWC_CAN_INLINE int code() const noexcept
#define SWC_LOG_OUT(pr, _code_)
void print(std::ostream &out) const
DB::Cell::Key range_begin
std::shared_ptr< Range > Ptr
void rgr_get(const ConnHandlerPtr &conn, const Event::Ptr &ev)
constexpr SWC_CAN_INLINE bool empty() const noexcept
#define SWC_CURRENT_EXCEPTION(_msg_)
The SWC-DB C++ namespace 'SWC'.
static SWC_CAN_INLINE Manager::MngdColumns * mngd_columns() noexcept
DB::Cell::Key range_begin
Ranger::Ptr rgr_get(const rgrid_t rgrid)
std::shared_ptr< ConnHandler > ConnHandlerPtr
static SWC_CAN_INLINE Ptr make(uint32_t reserve=0)
void decode(const uint8_t **bufp, size_t *remainp)
void print(std::ostream &out) const
std::shared_ptr< Event > Ptr
static SWC_CAN_INLINE Manager::Rangers * rangers() noexcept