SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Ranger::Callback::RangeQuerySelectUpdating_Overwrite Class Referencefinal

#include <swcdb/ranger/callbacks/RangeQuerySelectUpdating_Overwrite.h>

+ Inheritance diagram for SWC::Ranger::Callback::RangeQuerySelectUpdating_Overwrite:
+ Collaboration diagram for SWC::Ranger::Callback::RangeQuerySelectUpdating_Overwrite:

Public Types

typedef std::shared_ptr< RangeQuerySelectUpdating_OverwritePtr
 
- Public Types inherited from SWC::Ranger::Callback::RangeQuerySelectUpdating
typedef std::shared_ptr< RangeQuerySelectUpdatingPtr
 
- Public Types inherited from SWC::Ranger::Callback::RangeQuerySelect
typedef std::shared_ptr< RangeQuerySelectPtr
 
- Public Types inherited from SWC::Ranger::ReqScan
enum  Type : uint8_t {
  QUERY,
  BLK_PRELOAD,
  COMPACTION
}
 
typedef std::shared_ptr< ReqScanPtr
 
- Public Types inherited from SWC::DB::Cells::ReqScan
typedef std::shared_ptr< ReqScanPtr
 
- Public Types inherited from SWC::Comm::ResponseCallback
typedef std::shared_ptr< ResponseCallbackPtr
 

Public Member Functions

SWC_CAN_INLINE RangeQuerySelectUpdating_Overwrite (const Comm::ConnHandlerPtr &conn, const Comm::Event::Ptr &ev, DB::Specs::Interval &&req_spec, const RangePtr &a_range)
 
virtual ~RangeQuerySelectUpdating_Overwrite () noexcept
 
void update_cell_value (DB::Cells::Cell &cell) override
 
- Public Member Functions inherited from SWC::Ranger::Callback::RangeQuerySelectUpdating
SWC_CAN_INLINE RangeQuerySelectUpdating (const Comm::ConnHandlerPtr &conn, const Comm::Event::Ptr &ev, DB::Specs::Interval &&req_spec, const RangePtr &a_range)
 
virtual ~RangeQuerySelectUpdating () noexcept
 
bool has_update () const noexcept override
 
void update (DB::Cells::Mutable &blk_cells) override
 
- Public Member Functions inherited from SWC::Ranger::Callback::RangeQuerySelect
SWC_CAN_INLINE RangeQuerySelect (const Comm::ConnHandlerPtr &conn, const Comm::Event::Ptr &ev, DB::Specs::Interval &&req_spec, const RangePtr &a_range)
 
 RangeQuerySelect (RangeQuerySelect &&)=delete
 
 RangeQuerySelect (const RangeQuerySelect &)=delete
 
RangeQuerySelectoperator= (RangeQuerySelect &&)=delete
 
RangeQuerySelectoperator= (const RangeQuerySelect &)=delete
 
virtual ~RangeQuerySelect () noexcept
 
SWC_CAN_INLINE void ensure_size ()
 
bool reached_limits () override
 
bool add_cell_and_more (const DB::Cells::Cell &cell) override
 
void response (int &err) override
 
void print (std::ostream &out) const override
 
- Public Member Functions inherited from SWC::Ranger::ReqScan
SWC_CAN_INLINE ReqScan (Type a_type=Type::QUERY, bool a_release_block=false, uint8_t a_readahead=1, uint32_t a_blk_size=0) noexcept
 
SWC_CAN_INLINE ReqScan (const Comm::ConnHandlerPtr &conn, const Comm::Event::Ptr &ev, const DB::Cell::Key &range_begin, const DB::Cell::Key &range_end, uint32_t a_blk_size)
 
SWC_CAN_INLINE ReqScan (const Comm::ConnHandlerPtr &conn, const Comm::Event::Ptr &ev, DB::Specs::Interval &&a_spec, uint32_t a_blk_size)
 
SWC_CAN_INLINE ReqScan (ReqScan &&)=delete
 
 ReqScan (const ReqScan &)=delete
 
ReqScanoperator= (const ReqScan &)=delete
 
ReqScanoperator= (ReqScan &&)=delete
 
virtual ~ReqScan () noexcept
 
SWC_CAN_INLINE Ptr get_req_scan () noexcept
 
virtual bool with_block () const noexcept
 
- Public Member Functions inherited from SWC::DB::Cells::ReqScan
SWC_CAN_INLINE ReqScan () noexcept
 
SWC_CAN_INLINE ReqScan (const DB::Specs::Interval &a_spec)
 
SWC_CAN_INLINE ReqScan (const Comm::ConnHandlerPtr &conn, const Comm::Event::Ptr &ev, DB::Specs::Interval &&a_spec)
 
SWC_CAN_INLINE ReqScan (const Comm::ConnHandlerPtr &conn, const Comm::Event::Ptr &ev, const DB::Specs::Interval &a_spec)
 
SWC_CAN_INLINE ReqScan (const Comm::ConnHandlerPtr &conn, const Comm::Event::Ptr &ev, const DB::Cell::Key &range_begin, const DB::Cell::Key &range_end)
 
 ReqScan (const ReqScan &)=delete
 
 ReqScan (const ReqScan &&)=delete
 
ReqScanoperator= (const ReqScan &)=delete
 
SWC_CAN_INLINE Ptr get_req_scan () noexcept
 
SWC_CAN_INLINE bool offset_adjusted () noexcept
 
virtual bool selector (const Types::KeySeq key_seq, const Cell &cell, bool &stop)
 
- Public Member Functions inherited from SWC::Comm::ResponseCallback
 ResponseCallback (const ConnHandlerPtr &conn, const Event::Ptr &ev)
 
virtual ~ResponseCallback () noexcept
 
virtual void run ()
 
virtual bool expired (int64_t within=0) const noexcept
 
virtual void response_ok ()
 
virtual void send_error (int err, const std::string &msg)
 

Additional Inherited Members

- Public Attributes inherited from SWC::Ranger::Callback::RangeQuerySelect
RangePtr range
 
DynamicBuffer cells
 
- Public Attributes inherited from SWC::Ranger::ReqScan
Type type
 
bool release_block
 
uint8_t readahead
 
const uint32_t blk_size
 
void * block
 
- Public Attributes inherited from SWC::DB::Cells::ReqScan
DB::Specs::Interval spec
 
bool only_keys
 
uint64_t offset
 
Profile profile
 
- Protected Attributes inherited from SWC::Comm::ResponseCallback
ConnHandlerPtr m_conn
 
Event::Ptr m_ev
 

Detailed Description

Definition at line 16 of file RangeQuerySelectUpdating_Overwrite.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ RangeQuerySelectUpdating_Overwrite()

SWC_CAN_INLINE SWC::Ranger::Callback::RangeQuerySelectUpdating_Overwrite::RangeQuerySelectUpdating_Overwrite ( const Comm::ConnHandlerPtr conn,
const Comm::Event::Ptr ev,
DB::Specs::Interval &&  req_spec,
const RangePtr a_range 
)
inline

◆ ~RangeQuerySelectUpdating_Overwrite()

virtual SWC::Ranger::Callback::RangeQuerySelectUpdating_Overwrite::~RangeQuerySelectUpdating_Overwrite ( )
inlinevirtualnoexcept

Definition at line 36 of file RangeQuerySelectUpdating_Overwrite.h.

Member Function Documentation

◆ update_cell_value()

void SWC::Ranger::Callback::RangeQuerySelectUpdating_Overwrite::update_cell_value ( DB::Cells::Cell cell)
inlineoverridevirtual

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