|
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.
11 namespace SWC {
namespace DB {
namespace Specs {
20 for(
auto chrp = cbegin(); chrp != cend(); ++chrp) {
24 if(!pretty || (31 <
byte &&
byte < 127)) {
27 sprintf(hex,
"0x%X",
byte);
45 return *
this == other;
53 const uint8_t* ptr = cell_key.
data;
54 for(
auto it=
begin(); it !=
cend(); ++it) {
57 it->append(
reinterpret_cast<const char*
>(ptr), len);
84 return *
Vec::insert(idx, std::move(fraction), comp);
108 display(out <<
"size=" <<
size() <<
" fractions=");
115 it->print(out, pretty);
SWC_CAN_INLINE iterator erase(size_type offset) noexcept(_NoExceptMoveAssign &&_NoExceptDestructor)
SWC_CAN_INLINE void resize(size_type sz, ArgsT &&... args)
SWC_CAN_INLINE void clear() noexcept(_NoExceptDestructor)
SWC_CAN_INLINE Vector & operator=(Vector &&other) noexcept
void copy(const Key &other)
void remove(uint32_t idx, bool recursive=false)
SWC_CAN_INLINE void add(const std::string_view &fraction)
void print(std::ostream &out, bool pretty=true) const
void print(std::ostream &out) const
The SWC-DB C++ namespace 'SWC'.
bool SWC_PURE_FUNC equal(const Key &other) const noexcept
void set(const DB::Cell::Key &cell_key, Condition::Comp comp)
SWC_CAN_INLINE void free() noexcept
Fraction & add(Fraction &&other)
constexpr SWC_CAN_INLINE const_iterator cend() const noexcept
const char *SWC_CONST_FUNC to_string(Comp comp) noexcept
void display(std::ostream &out, bool pretty=true) const
SWC_CAN_INLINE Key() noexcept
constexpr SWC_CAN_INLINE const_iterator cbegin() const noexcept
constexpr SWC_CAN_INLINE size_type size() const noexcept
SWC_CAN_INLINE reference emplace_back(ArgsT &&... args)
SWC_CAN_INLINE iterator insert(size_type offset, ArgsT &&... args)
SWC_CAN_INLINE std::string_view get(const uint32_t idx, Condition::Comp &comp) const
Fraction & insert(uint32_t idx, Fraction &&other)
constexpr SWC_CAN_INLINE uint32_t decode_vi32(const uint8_t **bufp, size_t *remainp)
constexpr SWC_CAN_INLINE iterator begin() noexcept