|
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_RangeBlocks_h
8 #define swcdb_ranger_db_RangeBlocks_h
10 namespace SWC {
namespace Ranger {
namespace CommitLog {
16 #ifdef SWC_RANGER_WITH_RANGEDATA
20 namespace SWC {
namespace Ranger {
75 size_t size() noexcept;
83 size_t release(
size_t bytes, uint8_t level);
91 void print(std::ostream& out,
bool minimal);
107 size_t _narrow(const DB::Cell::Key& key) const;
127 #endif // swcdb_ranger_db_RangeBlocks_h
void expand_and_align(DB::Cells::Interval &intval)
static const uint8_t MAX_IDX_NARROW
size_t size_bytes_total(bool only_loaded=false)
void processing_increment()
size_t release(size_t bytes)
CommitLog::Fragments commitlog
void init(const RangePtr &for_range)
std::shared_ptr< Range > RangePtr
void processing_decrement()
bool wait_processing(int64_t quit_time=0)
The SWC-DB C++ namespace 'SWC'.
bool _split(Block::Ptr blk, bool loaded)
Blocks(const DB::Types::KeySeq key_seq)
Blocks(const Blocks &&)=delete
Blocks & operator=(const Blocks &)=delete
Blocks(const Blocks &)=delete
void scan(ReqScan::Ptr req, Block::Ptr blk_ptr=nullptr)
void apply_new(int &err, CellStore::Writers &w_cellstores, CommitLog::Fragments::Vec &fragments_old)
CellStore::Readers cellstores
bool processing() noexcept
Core::Vector< Block::Ptr > m_blocks_idx
void expand(DB::Cells::Interval &intval)
size_t SWC_PURE_FUNC _get_block_idx(const Block::Ptr blk) const noexcept
void add_logged(const DB::Cells::Cell &cell)
void print(std::ostream &out, bool minimal)
Core::Atomic< size_t > m_processing
bool _processing() const noexcept
size_t _narrow(const DB::Cell::Key &key) const
void init_blocks(int &err)
std::shared_ptr< ReqScan > Ptr
size_t SWC_PURE_FUNC _size() const noexcept