SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::DB::Specs::Serial::Value::Field_LIST_INT64 Struct Reference

#include <swcdb/db/Cells/SpecsValueSerialFields.h>

+ Inheritance diagram for SWC::DB::Specs::Serial::Value::Field_LIST_INT64:
+ Collaboration diagram for SWC::DB::Specs::Serial::Value::Field_LIST_INT64:

Classes

struct  Item
 

Public Types

typedef Core::Vector< ItemVec
 
- Public Types inherited from SWC::DB::Specs::Serial::Value::Field
typedef std::unique_ptr< FieldPtr
 

Public Member Functions

 Field_LIST_INT64 (uint24_t fid, Condition::Comp comp)
 
 Field_LIST_INT64 (uint24_t fid, Condition::Comp comp, const Vec &items)
 
 Field_LIST_INT64 (const uint8_t **bufp, size_t *remainp)
 
virtual ~Field_LIST_INT64 () noexcept
 
Type type () const noexcept override
 
size_t SWC_PURE_FUNC encoded_length () const noexcept override
 
void encode (uint8_t **bufp) const override
 
bool is_matching (Cell::Serial::Value::Field *vfieldp) override
 
void print (std::ostream &out) const override
 
- Public Member Functions inherited from SWC::DB::Specs::Serial::Value::Field
constexpr SWC_CAN_INLINE Field (uint24_t a_fid) noexcept
 
SWC_CAN_INLINE Field (const uint8_t **bufp, size_t *remainp)
 
virtual ~Field () noexcept
 
SWC_CAN_INLINE void encode (uint8_t **bufp, Type type) const
 

Static Public Member Functions

static SWC_CAN_INLINE std::unique_ptr< Field_LIST_INT64make (uint24_t fid, Condition::Comp comp)
 
static SWC_CAN_INLINE Field::Ptr make (uint24_t fid, Condition::Comp comp, const Vec &items)
 

Public Attributes

Condition::Comp comp
 
Vec items
 
Core::Vector< bool > _found
 
- Public Attributes inherited from SWC::DB::Specs::Serial::Value::Field
uint24_t fid
 

Detailed Description

Definition at line 223 of file SpecsValueSerialFields.h.

Member Typedef Documentation

◆ Vec

Constructor & Destructor Documentation

◆ Field_LIST_INT64() [1/3]

SWC::DB::Specs::Serial::Value::Field_LIST_INT64::Field_LIST_INT64 ( uint24_t  fid,
Condition::Comp  comp 
)

Definition at line 192 of file SpecsValueSerialFields.cc.

◆ Field_LIST_INT64() [2/3]

SWC::DB::Specs::Serial::Value::Field_LIST_INT64::Field_LIST_INT64 ( uint24_t  fid,
Condition::Comp  comp,
const Vec items 
)

Definition at line 197 of file SpecsValueSerialFields.cc.

◆ Field_LIST_INT64() [3/3]

SWC::DB::Specs::Serial::Value::Field_LIST_INT64::Field_LIST_INT64 ( const uint8_t **  bufp,
size_t *  remainp 
)

◆ ~Field_LIST_INT64()

virtual SWC::DB::Specs::Serial::Value::Field_LIST_INT64::~Field_LIST_INT64 ( )
inlinevirtualnoexcept

Definition at line 254 of file SpecsValueSerialFields.h.

Member Function Documentation

◆ encode()

void SWC::DB::Specs::Serial::Value::Field_LIST_INT64::encode ( uint8_t **  bufp) const
overridevirtual

◆ encoded_length()

size_t SWC::DB::Specs::Serial::Value::Field_LIST_INT64::encoded_length ( ) const
overridevirtualnoexcept

Reimplemented from SWC::DB::Specs::Serial::Value::Field.

Definition at line 217 of file SpecsValueSerialFields.cc.

References SWC::DB::Specs::Serial::Value::Field::encoded_length(), SWC::Serialization::encoded_length_bytes(), SWC::Serialization::encoded_length_vi64(), items, and SWC::Core::Vector< T, SizeT, GROW_SZ >::size().

+ Here is the call graph for this function:

◆ is_matching()

◆ make() [1/2]

static SWC_CAN_INLINE std::unique_ptr<Field_LIST_INT64> SWC::DB::Specs::Serial::Value::Field_LIST_INT64::make ( uint24_t  fid,
Condition::Comp  comp 
)
inlinestatic

Definition at line 238 of file SpecsValueSerialFields.h.

References SWC::DB::Specs::Serial::Value::Field_INT64::comp, and SWC::DB::Specs::Serial::Value::Field::fid.

Referenced by SWC::client::SQL::QuerySelect::read_value(), and SWC::Thrift::Converter::set().

+ Here is the caller graph for this function:

◆ make() [2/2]

static SWC_CAN_INLINE Field::Ptr SWC::DB::Specs::Serial::Value::Field_LIST_INT64::make ( uint24_t  fid,
Condition::Comp  comp,
const Vec items 
)
inlinestatic

◆ print()

void SWC::DB::Specs::Serial::Value::Field_LIST_INT64::print ( std::ostream &  out) const
overridevirtual

Implements SWC::DB::Specs::Serial::Value::Field.

Definition at line 394 of file SpecsValueSerialFields.cc.

References SWC::Core::Vector< T, SizeT, GROW_SZ >::cbegin(), SWC::Core::Vector< T, SizeT, GROW_SZ >::cend(), comp, SWC::Core::Vector< T, SizeT, GROW_SZ >::empty(), SWC::DB::Specs::Serial::Value::Field::fid, items, and SWC::Condition::to_string().

+ Here is the call graph for this function:

◆ type()

Type SWC::DB::Specs::Serial::Value::Field_LIST_INT64::type ( ) const
inlineoverridevirtualnoexcept

Member Data Documentation

◆ _found

Core::Vector<bool> SWC::DB::Specs::Serial::Value::Field_LIST_INT64::_found

Definition at line 268 of file SpecsValueSerialFields.h.

Referenced by Field_LIST_INT64(), and is_matching().

◆ comp

Condition::Comp SWC::DB::Specs::Serial::Value::Field_LIST_INT64::comp

Definition at line 266 of file SpecsValueSerialFields.h.

Referenced by encode(), Field_LIST_INT64(), is_matching(), and print().

◆ items

Vec SWC::DB::Specs::Serial::Value::Field_LIST_INT64::items

The documentation for this struct was generated from the following files: