|
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_Columns_RangeBase_h
8 #define swcdb_db_Columns_RangeBase_h
11 namespace SWC {
namespace DB {
22 static constexpr
const char LOG_DIR[] =
"log";
53 const std::string& path) {
55 s.reserve(range_path.length() + path.length() + 1);
64 s.reserve(range_path.length() + strlen(
RANGER_FILE));
70 #ifdef SWC_RANGER_WITH_RANGEDATA
71 static constexpr
const char RANGE_FILE[] =
"range.data";
72 static const std::string get_path_range_data(
const std::string& range_path) {
74 s.reserve(range_path.length() + strlen(RANGE_FILE));
81 static const std::string
get_path_cs(
const std::string& range_path,
82 const std::string& folder,
86 s.reserve(range_path.length() + folder.length() + 4 + cs.length());
98 #endif // swcdb_db_Columns_RangeBase_h
static constexpr const char COLUMN_DIR[]
static const std::string get_path_cs(const std::string &range_path, const std::string &folder, const csid_t csid)
static const char * get_column_path() noexcept
static const std::string get_path_on_range(const std::string &range_path, const std::string &path)
static constexpr const char RANGER_FILE[]
static const std::string get_path(const cid_t cid)
static const std::string get_column_path(const cid_t cid)
static constexpr const char RANGE_DIR[]
The SWC-DB C++ namespace 'SWC'.
static constexpr const char CELLSTORES_DIR[]
static const std::string get_path(const cid_t cid, const rid_t rid)
static constexpr const char LOG_DIR[]
static std::string get_path_ranger(const std::string &range_path)
void set_structured_id(const std::string &number, std::string &s)
SWC_CAN_INLINE std::string to_string(const BitFieldInt< T, SZ > &v)