|
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_ranger_Protocol_handlers_RangeQuerySelect_h
8 #define swcdb_ranger_Protocol_handlers_RangeQuerySelect_h
21 namespace SWC {
namespace Comm {
namespace Protocol {
22 namespace Rgr {
namespace Handler {
37 :
conn(std::move(other.conn)),
38 ev(std::move(other.ev)) {
56 const uint8_t *ptr =
ev->data.base;
57 size_t remain =
ev->data.size;
58 params.
decode(&ptr, &remain);
63 if(!range || !range->is_loaded()) {
166 #endif // swcdb_ranger_Protocol_handlers_RangeQuerySelect_h
static SWC_CAN_INLINE System::Resources & res() noexcept
constexpr SWC_CAN_INLINE int code() const noexcept
RangePtr get_range(int &err, const cid_t cid, const rid_t rid)
std::shared_ptr< RangeQuerySelectUpdating_Overwrite > Ptr
Comm::ConnHandlerPtr conn
#define SWC_LOG_OUT(pr, _code_)
RangeQuerySelect & operator=(const RangeQuerySelect &)=delete
static constexpr const uint8_t REPLACE
DB::Specs::Interval interval
constexpr SWC_CAN_INLINE bool has_opt__deleting() const noexcept
static SWC_CAN_INLINE Ranger::Columns * columns() noexcept
static constexpr const uint8_t INSERT
static constexpr const uint8_t SERIAL
std::shared_ptr< RangeQuerySelect > Ptr
~RangeQuerySelect() noexcept
SWC_CAN_INLINE RangeQuerySelect(RangeQuerySelect &&other) noexcept
RangeQuerySelect(const RangeQuerySelect &)=delete
std::shared_ptr< RangeQuerySelectDeleting > Ptr
std::shared_ptr< Range > RangePtr
std::shared_ptr< RangeQuerySelectUpdating_Serial > Ptr
#define SWC_CURRENT_EXCEPTION(_msg_)
The SWC-DB C++ namespace 'SWC'.
bool SWC_CONST_FUNC is_counter(const Column typ) noexcept
static constexpr const uint8_t OVERWRITE
std::shared_ptr< RangeQuerySelectUpdating_Prepend > Ptr
std::shared_ptr< RangeQuerySelectUpdating_Append > Ptr
std::shared_ptr< ConnHandler > ConnHandlerPtr
SWC_CAN_INLINE RangeQuerySelect(const Comm::ConnHandlerPtr &a_conn, const Comm::Event::Ptr &a_ev) noexcept
static constexpr const uint8_t APPEND
IntervalUpdate::Ptr updating
static SWC_CAN_INLINE Ptr make(uint32_t reserve=0)
SWC_CAN_INLINE bool is_low_mem_state() const noexcept
std::shared_ptr< RangeQuerySelectUpdating > Ptr
constexpr SWC_CAN_INLINE bool has_opt__updating() const noexcept
RangeQuerySelect & operator=(RangeQuerySelect &&)=delete
void decode(const uint8_t **bufp, size_t *remainp)
static constexpr const uint8_t PREPEND
static SWC_CAN_INLINE size_t scan_reserved_bytes() noexcept
std::shared_ptr< Event > Ptr
std::shared_ptr< RangeQuerySelectUpdating_Insert > Ptr