|
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_db_Cells_Interval_h
8 #define swcdb_db_Cells_Interval_h
15 namespace SWC {
namespace DB {
namespace Cells {
38 const uint8_t **ptr,
size_t *remain)
65 key_end(std::move(other.key_end)),
213 void encode(uint8_t **ptr) const;
215 void decode(const uint8_t **ptr,
size_t *remain,
bool owner);
217 void print(std::ostream& out) const;
219 friend std::ostream& operator<<(std::ostream& out, const
Interval& intval) {
236 #ifdef SWC_IMPL_SOURCE
240 #endif // swcdb_db_Cells_Interval_h
size_t SWC_PURE_FUNC encoded_length() const noexcept
SWC_CAN_INLINE Interval(Interval &&other) noexcept
bool align(const Types::KeySeq seq, const Cell::Key &key, Cell::KeyVec &start, Cell::KeyVec &finish) SWC_ATTRIBS((SWC_ATTRIB_O3))
SWC_CAN_INLINE Interval(const Types::KeySeq a_key_seq) noexcept
SWC_CAN_INLINE void set_aligned_min(const DB::Cell::KeyVec &key)
SWC_CAN_INLINE bool align(const Interval &other)
Interval & operator=(const Interval &)=delete
DB::Cell::KeyVec aligned_max
void print(std::ostream &out) const
SWC_CAN_INLINE void expand_end(const Cell &cell)
constexpr SWC_CAN_INLINE void copy(const Timestamp &other) noexcept
void encode(uint8_t **ptr) const
const Types::KeySeq key_seq
SWC_CAN_INLINE bool is_in_begin(const DB::Cell::Key &key) const
void decode(const uint8_t **ptr, size_t *remain, bool owner)
constexpr SWC_CAN_INLINE bool equal(const Key &other) const noexcept
void expand(const Interval &other)
constexpr SWC_CAN_INLINE void set_ts_latest(const Specs::Timestamp &ts)
SWC_CAN_INLINE bool is_in_end(const DB::Cell::Key &key) const
constexpr SWC_CAN_INLINE bool empty() const noexcept
SWC_CAN_INLINE bool SWC_PURE_FUNC equal(const Interval &other) const noexcept
DB::Cell::KeyVec aligned_min
The SWC-DB C++ namespace 'SWC'.
constexpr SWC_CAN_INLINE bool empty() const noexcept
void copy(const Key &other)
constexpr SWC_CAN_INLINE bool equal(const Timestamp &other) const noexcept
constexpr SWC_CAN_INLINE void set_ts_earliest(const Specs::Timestamp &ts)
SWC_CAN_INLINE void set_key_end(const DB::Cell::Key &key)
SWC_CAN_INLINE Interval(const Interval &other)
SWC_CAN_INLINE size_t size_of_internal() const noexcept
void copy(const Interval &other)
SWC_CAN_INLINE void expand_begin(const Cell &cell)
void copy(const KeyVec &other)
SWC_CAN_INLINE Interval(const Types::KeySeq a_key_seq, const uint8_t **ptr, size_t *remain)
SWC_CAN_INLINE void expand(const int64_t &ts)
Specs::Timestamp ts_earliest
bool equal(const KeyVec &other) const noexcept
SWC_CAN_INLINE void set_aligned_max(const DB::Cell::KeyVec &key)
Specs::Timestamp ts_latest
SWC_CAN_INLINE bool is_matching(int64_t other) const noexcept
constexpr SWC_CAN_INLINE void set(int64_t timestamp, Condition::Comp comperator) noexcept
Condition::Comp compare(const Types::KeySeq seq, const Cell::Key &key, const Cell::Key &other) SWC_ATTRIBS((SWC_ATTRIB_O3))
SWC_CAN_INLINE size_t size_of_internal() const noexcept
SWC_CAN_INLINE bool align(const DB::Cell::Key &key)
SWC_CAN_INLINE void set_key_begin(const DB::Cell::Key &key)