 |
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.
12 namespace SWC {
namespace DB {
namespace Specs {
19 :
re(re2::StringPiece(reinterpret_cast<const char*>(
data),
size)) {
40 reinterpret_cast<char*
>(v.
base), v.
size);
73 char *last =
reinterpret_cast<char*
>(
const_cast<uint8_t*
>(
data)) +
size;
74 value = strtoll(
reinterpret_cast<const char*
>(
data), &last, 0);
107 for(
const uint8_t* ptr =
data; ptr < end; ++ptr) {
110 if(!pretty || (31 < *ptr && *ptr < 127)) {
113 sprintf(hex,
"0x%X", *ptr);
SWC_CAN_INLINE bool is_matching_extended(uint8_t comp, const uint8_t *p1, uint32_t p1_len, const uint8_t *p2, uint32_t p2_len)
void print(std::ostream &out) const
void print(Types::Column col_type, std::ostream &out) const
SWC_CAN_INLINE MatcherSerial(const uint8_t *data, uint32_t size)
The SWC-DB C++ namespace 'SWC'.
Types::Encoder get_value(StaticBuffer &v, bool owner) const
SWC_CAN_INLINE bool is_matching(bool volumetric, uint8_t comp, const uint8_t *p1, uint32_t p1_len, const uint8_t *p2, uint32_t p2_len)
bool re(const re2::RE2 ®ex, const re2::StringPiece &value)
SWC_CAN_INLINE ~MatcherSerial() noexcept
bool is_matching_counter(const Cells::Cell &cell) const
constexpr SWC_CAN_INLINE int64_t get_counter() const
SWC_CAN_INLINE MatcherCounter(const uint8_t *data, uint32_t size) noexcept
const char *SWC_CONST_FUNC to_string(Comp comp) noexcept
Serial::Value::Fields fields
bool is_matching_serial(const Cells::Cell &cell) const
SWC_CAN_INLINE MatcherPlainRE(const uint8_t *data, uint32_t size)
constexpr SWC_CAN_INLINE bool empty() const noexcept
bool is_matching_plain(const Cells::Cell &cell) const
void display(Types::Column col_type, std::ostream &out, bool pretty=true) const
SWC_CAN_INLINE ~MatcherPlainRE() noexcept