|
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_ranger_callbacks_RangeLocateScanCommit_h
7 #define swcdb_ranger_callbacks_RangeLocateScanCommit_h
11 namespace SWC {
namespace Ranger {
namespace Callback {
17 typedef std::shared_ptr<RangeLocateScanCommit>
Ptr;
27 a_range_begin, DB::Cell::Key(), a_range, a_flags
42 const uint8_t* ptr = v.
base;
43 size_t remain = v.
size;
47 key_end.
decode(&ptr, &remain,
false);
53 uint8_t after_idx =
range->cfg->range_type == DB::Types::Range::MASTER;
67 #endif // swcdb_ranger_callbacks_RangeLocateScanCommit_h
virtual ~RangeLocateScanCommit() noexcept
SWC_CAN_INLINE RangeLocateScanCommit(const Comm::ConnHandlerPtr &conn, const Comm::Event::Ptr &ev, const DB::Cell::Key &a_range_begin, const RangePtr &a_range, uint8_t a_flags)
bool selector(const DB::Types::KeySeq key_seq, const DB::Cells::Cell &cell, bool &stop) override
void decode(const uint8_t **bufp, size_t *remainp, bool owner)
std::shared_ptr< Range > RangePtr
DB::Cell::Key range_begin
The SWC-DB C++ namespace 'SWC'.
Condition::Comp compare_upto(const Types::KeySeq seq, const Cell::Key &key, const Cell::Key &other, uint24_t max) SWC_ATTRIBS((SWC_ATTRIB_O3))
Types::Encoder get_value(StaticBuffer &v, bool owner) const
void copy(const Key &other)
const DB::Cell::Key range_begin
std::shared_ptr< RangeLocateScanCommit > Ptr
std::shared_ptr< ConnHandler > ConnHandlerPtr
SWC_CAN_INLINE void skip_type_and_id(const uint8_t **bufp, size_t *remainp)
constexpr SWC_CAN_INLINE uint64_t decode_vi64(const uint8_t **bufp, size_t *remainp)
Comm::Protocol::Rgr::Params::RangeLocateRsp params
std::shared_ptr< Event > Ptr
Condition::Comp compare(const Types::KeySeq seq, const Cell::Key &key, const Cell::Key &other) SWC_ATTRIBS((SWC_ATTRIB_O3))