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::DB::RangeBase Class Referencefinal

#include <swcdb/db/Columns/RangeBase.h>

Static Public Member Functions

static const char * get_column_path () noexcept
 
static const std::string get_column_path (const cid_t cid)
 
static const std::string get_path (const cid_t cid)
 
static const std::string get_path (const cid_t cid, const rid_t rid)
 
static const std::string get_path_on_range (const std::string &range_path, const std::string &path)
 
static std::string get_path_ranger (const std::string &range_path)
 
static const std::string get_path_cs (const std::string &range_path, const std::string &folder, const csid_t csid)
 

Static Public Attributes

static constexpr const char COLUMN_DIR [] = "C"
 
static constexpr const char RANGE_DIR [] = "/R"
 
static constexpr const char RANGER_FILE [] = "ranger.data"
 
static constexpr const char CELLSTORES_DIR [] = "cs"
 
static constexpr const char LOG_DIR [] = "log"
 

Detailed Description

Definition at line 15 of file RangeBase.h.

Member Function Documentation

◆ get_column_path() [1/2]

static const char* SWC::DB::RangeBase::get_column_path ( )
inlinestaticnoexcept

Definition at line 26 of file RangeBase.h.

References COLUMN_DIR.

Referenced by SWC::Manager::Columns::columns_by_fs(), SWC::Common::Files::Schema::filepath(), get_column_path(), get_path(), and SWC::Manager::Column::remove().

+ Here is the caller graph for this function:

◆ get_column_path() [2/2]

static const std::string SWC::DB::RangeBase::get_column_path ( const cid_t  cid)
inlinestatic

Definition at line 30 of file RangeBase.h.

References get_column_path(), SWC::FS::set_structured_id(), and SWC::Core::to_string().

+ Here is the call graph for this function:

◆ get_path() [1/2]

static const std::string SWC::DB::RangeBase::get_path ( const cid_t  cid)
inlinestatic

Definition at line 38 of file RangeBase.h.

References get_column_path(), and RANGE_DIR.

Referenced by SWC::Manager::Column::create(), SWC::Manager::Column::finalize_remove(), get_path(), SWC::Manager::ColumnHealthCheck::ColumnMerger::RangesMerger::handle(), and SWC::Manager::Column::init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_path() [2/2]

static const std::string SWC::DB::RangeBase::get_path ( const cid_t  cid,
const rid_t  rid 
)
inlinestatic

Definition at line 44 of file RangeBase.h.

References get_path(), SWC::FS::set_structured_id(), and SWC::Core::to_string().

+ Here is the call graph for this function:

◆ get_path_cs()

static const std::string SWC::DB::RangeBase::get_path_cs ( const std::string &  range_path,
const std::string &  folder,
const csid_t  csid 
)
inlinestatic

Definition at line 81 of file RangeBase.h.

References SWC::Core::to_string().

Referenced by SWC::Ranger::Range::get_path_cs_on(), and SWC::Manager::ColumnHealthCheck::ColumnMerger::RangesMerger::handle().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_path_on_range()

static const std::string SWC::DB::RangeBase::get_path_on_range ( const std::string &  range_path,
const std::string &  path 
)
inlinestatic

Definition at line 52 of file RangeBase.h.

Referenced by SWC::Manager::ColumnHealthCheck::ColumnMerger::RangesMerger::handle().

+ Here is the caller graph for this function:

◆ get_path_ranger()

static std::string SWC::DB::RangeBase::get_path_ranger ( const std::string &  range_path)
inlinestatic

Definition at line 62 of file RangeBase.h.

References RANGER_FILE.

Referenced by SWC::Manager::Range::get_last_rgr(), SWC::Ranger::Range::internal_take_ownership(), SWC::Ranger::Range::last_rgr_chk(), SWC::Ranger::Range::remove_rgr(), and SWC::Ranger::Range::set_rgr().

+ Here is the caller graph for this function:

Member Data Documentation

◆ CELLSTORES_DIR

◆ COLUMN_DIR

constexpr const char SWC::DB::RangeBase::COLUMN_DIR[] = "C"
staticconstexpr

Definition at line 18 of file RangeBase.h.

Referenced by get_column_path().

◆ LOG_DIR

◆ RANGE_DIR

constexpr const char SWC::DB::RangeBase::RANGE_DIR[] = "/R"
staticconstexpr

Definition at line 19 of file RangeBase.h.

Referenced by get_path().

◆ RANGER_FILE

constexpr const char SWC::DB::RangeBase::RANGER_FILE[] = "ranger.data"
staticconstexpr

Definition at line 20 of file RangeBase.h.

Referenced by get_path_ranger().


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