|
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_Schemas_h
8 #define swcdb_db_Columns_Schemas_h
16 namespace SWC {
namespace DB {
18 class Schemas :
private std::unordered_map<cid_t, Schema::Ptr> {
19 using Map = std::unordered_map<cid_t, Schema::Ptr>;
33 : std::string(std::move(value)),
comp(a_comp) {
38 : std::string(value),
comp(a_comp) {
43 : std::string(std::move(other)),
comp(other.comp) {
48 : std::string(other),
comp(other.
comp) {
55 std::string::operator=(std::move(other));
62 std::string::operator=(other);
69 std::string::operator=(std::move(value));
75 std::string::operator=(value);
79 void print(std::ostream& out)
const {
159 #ifdef SWC_IMPL_SOURCE
163 #endif // swcdb_db_Columns_Schemas_h
void add(int &err, const Schema::Ptr &schema)
SWC_CAN_INLINE Pattern(Condition::Comp a_comp, std::string &&value) noexcept
SWC_CAN_INLINE Pattern & operator=(Pattern &&other) noexcept
std::shared_ptr< Schema > Ptr
SWC_CAN_INLINE Pattern(const Pattern &other)
SWC_CAN_INLINE SelectorPatterns() noexcept
Core::Vector< Pattern > NamePatterns
void _add(int &err, const Schema::Ptr &schema)
SWC_CAN_INLINE ~Schemas() noexcept
SWC_CAN_INLINE Pattern(Condition::Comp a_comp, const std::string &value)
Schema::Ptr get(cid_t cid) noexcept
void print(std::ostream &out) const
void all(SchemasVec &entries)
The SWC-DB C++ namespace 'SWC'.
void replace(const Schema::Ptr &schema)
void _replace(const Schema::Ptr &schema)
SWC_CAN_INLINE void set(Condition::Comp _comp, const std::string &value)
SelectorPatterns(SelectorPatterns &&) noexcept=default
const char *SWC_CONST_FUNC to_string(Comp comp) noexcept
Schema::Ptr _get(cid_t cid) const noexcept
SWC_CAN_INLINE Pattern() noexcept
SWC_CAN_INLINE Schemas() noexcept
SWC_CAN_INLINE Pattern & operator=(const Pattern &other)
void matching(const SelectorPatterns &patterns, SchemasVec &entries, bool no_sys=true)
std::unordered_map< cid_t, Schema::Ptr > Map
SWC_CAN_INLINE void set(Condition::Comp _comp, std::string &&value)
SWC_CAN_INLINE Pattern(Pattern &&other) noexcept