![]() |
mutable
A Database System for Research and Fast Prototyping
|
#include <Schema.hpp>
Public Types | |
enum | constraints_t : uint64_t { NOT_NULLABLE = 0b1U , UNIQUE = 0b10U , REFERENCES_UNIQUE = 0b100U , IS_HIDDEN = 0b1000U } |
Public Member Functions | |
entry_type (Identifier id, const Type *type, constraints_t constraints=constraints_t{0}) | |
bool | nullable () const |
bool | unique () const |
bool | references_unique () const |
Static Public Member Functions | |
static entry_type | CreateArtificial () |
Data Fields | |
Identifier | id |
const Type * | type |
constraints_t | constraints |
Private Member Functions | |
entry_type () | |
Definition at line 76 of file Schema.hpp.
enum m::Schema::entry_type::constraints_t : uint64_t |
Enumerator | |
---|---|
NOT_NULLABLE | entry must not be NULL |
UNIQUE | entry has unique values |
REFERENCES_UNIQUE | entry references unique values |
IS_HIDDEN | entry is hidden to the user |
Definition at line 78 of file Schema.hpp.
|
private |
Definition at line 47 of file Schema.cpp.
|
inline |
Definition at line 94 of file Schema.hpp.
|
inlinestatic |
Definition at line 100 of file Schema.hpp.
Referenced by m::wasm::SortMergeJoin< SortLeft, SortRight, Predicated, CmpPredicated >::pre_condition().
|
inline |
Definition at line 102 of file Schema.hpp.
|
inline |
Definition at line 104 of file Schema.hpp.
|
inline |
Definition at line 103 of file Schema.hpp.
constraints_t m::Schema::entry_type::constraints |
Definition at line 88 of file Schema.hpp.
Identifier m::Schema::entry_type::id |
Definition at line 86 of file Schema.hpp.
Referenced by m::idx::IndexBase::build_query(), index_scan_resolve_index_method(), and m::Schema::operator==().
const Type* m::Schema::entry_type::type |
Definition at line 87 of file Schema.hpp.
Referenced by m::idx::ArrayIndex< Key >::bulkload().