SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
Cell.h File Reference
+ Include dependency graph for Cell.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SWC::DB::Cells::Cell
 

Namespaces

 SWC
 The SWC-DB C++ namespace 'SWC'.
 
 SWC::DB
 The SWC-DB Database C++ namespace 'SWC::DB'.
 
 SWC::DB::Cells
 The SWC-DB Cells C++ namespace 'SWC::DB::Cells'.
 

Enumerations

enum  SWC::DB::DisplayFlag : uint8_t {
  SWC::DB::TIMESTAMP = 0x01,
  SWC::DB::DATETIME = 0x04,
  SWC::DB::BINARY = 0x08,
  SWC::DB::SPECS = 0x10,
  SWC::DB::STATS = 0x20,
  SWC::DB::COLUMN = 0x40
}
 
enum  SWC::DB::OutputFlag : uint8_t {
  SWC::DB::NO_TS = 0x01,
  SWC::DB::NO_VALUE = 0x04,
  SWC::DB::NO_ENCODE = 0x08
}
 
enum  SWC::DB::Cells::Flag : uint8_t {
  SWC::DB::Cells::NONE = 0x0,
  SWC::DB::Cells::INSERT = 0x1,
  SWC::DB::Cells::DELETE_LE = 0x2,
  SWC::DB::Cells::DELETE_EQ = 0x3
}
 

Functions

const char *SWC_CONST_FUNC SWC::DB::Cells::to_string (Flag flag) noexcept
 
Flag SWC_PURE_FUNC SWC::DB::Cells::flag_from (const uint8_t *rptr, uint32_t len) noexcept
 

Variables

constexpr const int64_t SWC::DB::Cells::TIMESTAMP_NULL = INT64_MIN + 1
 
constexpr const int64_t SWC::DB::Cells::TIMESTAMP_AUTO = INT64_MIN + 2
 
constexpr const int64_t SWC::DB::Cells::TIMESTAMP_MIN = INT64_MIN + 3
 
constexpr const int64_t SWC::DB::Cells::TIMESTAMP_MAX = INT64_MAX
 
constexpr const uint8_t SWC::DB::Cells::TS_DESC = 0x01
 
constexpr const uint8_t SWC::DB::Cells::HAVE_ENCODER = 0x02
 
constexpr const uint8_t SWC::DB::Cells::REV_IS_TS = 0x04
 
constexpr const uint8_t SWC::DB::Cells::HAVE_TIMESTAMP = 0x08
 
constexpr const uint8_t SWC::DB::Cells::HAVE_REVISION = 0x10
 
constexpr const uint8_t SWC::DB::Cells::OP_EQUAL = 0x01
 
constexpr const uint8_t SWC::DB::Cells::MASK_TS_DESC = 0xff - TS_DESC
 
constexpr const uint8_t SWC::DB::Cells::MASK_HAVE_ENCODER = 0xff - HAVE_ENCODER
 
constexpr const uint8_t SWC::DB::Cells::MASK_REV_IS_TS = 0xff - REV_IS_TS
 
constexpr const uint8_t SWC::DB::Cells::MASK_HAVE_TIMESTAMP = 0xff - HAVE_TIMESTAMP
 
constexpr const uint8_t SWC::DB::Cells::MASK_HAVE_REVISION = 0xff - HAVE_REVISION