|
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_db_CellStoreReaders_h
8 #define swcdb_ranger_db_CellStoreReaders_h
13 namespace SWC {
namespace Ranger {
namespace CellStore {
58 size_t size_bytes(
bool only_loaded=
false)
const;
85 size_t blk_size) const;
89 void encode(uint8_t** ptr) const;
91 void decode(
int &err, const uint8_t** ptr,
size_t* remain);
99 void print(std::ostream& out,
bool minimal=true) const;
112 #endif // swcdb_ranger_db_CellStoreReaders_h
SWC_CAN_INLINE iterator erase(size_type offset) noexcept(_NoExceptMoveAssign &&_NoExceptDestructor)
uint32_t SWC_PURE_FUNC encoded_length() const
constexpr SWC_CAN_INLINE reference front() noexcept
void expand(DB::Cells::Interval &intval) const
int64_t SWC_PURE_FUNC get_ts_earliest() const
void init(const RangePtr &for_range)
Core::Vector< Read::Ptr > Vec
void expand_and_align(DB::Cells::Interval &intval) const
bool SWC_PURE_FUNC need_compaction(size_t cs_max, size_t cs_sz, size_t blk_size) const
size_t size_bytes(bool only_loaded=false) const
constexpr SWC_CAN_INLINE bool empty() const noexcept
std::shared_ptr< Range > RangePtr
constexpr SWC_CAN_INLINE reference back() noexcept
constexpr SWC_CAN_INLINE iterator end() noexcept
Readers & operator=(const Readers &)=delete
The SWC-DB C++ namespace 'SWC'.
void print(std::ostream &out, bool minimal=true) const
size_t release(size_t bytes)
void load_from_path(int &err)
void move_from(int &err, Readers::Vec &mv_css)
void get_blocks(int &err, Read::Blocks &to) const
void decode(int &err, const uint8_t **ptr, size_t *remain)
Readers(const Readers &)=delete
void replace(int &err, Writers &w_cellstores)
void get_key_end(DB::Cell::Key &key) const
SWC_CAN_INLINE void reserve()
constexpr SWC_CAN_INLINE const_iterator cend() const noexcept
void encode(uint8_t **ptr) const
bool processing() const noexcept
uint32_t get_cell_revs() const
void load_cells(BlockLoader *loader)
SWC_CAN_INLINE void push_back(ArgsT &&... args)
constexpr SWC_CAN_INLINE const_iterator cbegin() const noexcept
size_t blocks_count() const
constexpr SWC_CAN_INLINE size_type size() const noexcept
Readers(const Readers &&)=delete
void get_prev_key_end(uint32_t idx, DB::Cell::Key &key) const
constexpr SWC_CAN_INLINE iterator begin() noexcept