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::Comm::Protocol::Mngr::Params::ColumnMng Class Reference

#include <swcdb/db/Protocol/Mngr/params/ColumnMng.h>

+ Inheritance diagram for SWC::Comm::Protocol::Mngr::Params::ColumnMng:
+ Collaboration diagram for SWC::Comm::Protocol::Mngr::Params::ColumnMng:

Public Types

enum  Function : uint8_t {
  INTERNAL_LOAD_ALL = 0,
  INTERNAL_LOAD = 1,
  INTERNAL_ACK_LOAD = 2,
  CREATE = 3,
  INTERNAL_ACK_CREATE = 4,
  REMOVE = 5,
  INTERNAL_ACK_DELETE = 6,
  MODIFY = 7,
  INTERNAL_ACK_MODIFY = 8,
  INTERNAL_EXPECT = 9
}
 

Public Member Functions

SWC_CAN_INLINE ColumnMng () noexcept
 
SWC_CAN_INLINE ColumnMng (Function a_function, const DB::Schema::Ptr &a_schema) noexcept
 
 ~ColumnMng () noexcept
 
- Public Member Functions inherited from SWC::Comm::Serializable
size_t encoded_length () const
 
void encode (uint8_t **bufp) const
 
void decode (const uint8_t **bufp, size_t *remainp)
 

Public Attributes

Function function
 
DB::Schema::Ptr schema
 

Private Member Functions

size_t SWC_PURE_FUNC internal_encoded_length () const override
 
void internal_encode (uint8_t **bufp) const override
 
void internal_decode (const uint8_t **bufp, size_t *remainp) override
 

Additional Inherited Members

- Protected Member Functions inherited from SWC::Comm::Serializable
virtual ~Serializable () noexcept
 

Detailed Description

Definition at line 18 of file ColumnMng.h.

Member Enumeration Documentation

◆ Function

Enumerator
INTERNAL_LOAD_ALL 
INTERNAL_LOAD 
INTERNAL_ACK_LOAD 
CREATE 
INTERNAL_ACK_CREATE 
REMOVE 
INTERNAL_ACK_DELETE 
MODIFY 
INTERNAL_ACK_MODIFY 
INTERNAL_EXPECT 

Definition at line 21 of file ColumnMng.h.

Constructor & Destructor Documentation

◆ ColumnMng() [1/2]

SWC_CAN_INLINE SWC::Comm::Protocol::Mngr::Params::ColumnMng::ColumnMng ( )
inlinenoexcept

Definition at line 40 of file ColumnMng.h.

◆ ColumnMng() [2/2]

SWC_CAN_INLINE SWC::Comm::Protocol::Mngr::Params::ColumnMng::ColumnMng ( Function  a_function,
const DB::Schema::Ptr a_schema 
)
inlinenoexcept

Definition at line 43 of file ColumnMng.h.

◆ ~ColumnMng()

SWC::Comm::Protocol::Mngr::Params::ColumnMng::~ColumnMng ( )
inlinenoexcept

Definition at line 47 of file ColumnMng.h.

Member Function Documentation

◆ internal_decode()

void SWC::Comm::Protocol::Mngr::Params::ColumnMng::internal_decode ( const uint8_t **  bufp,
size_t *  remainp 
)
overrideprivatevirtual

Implements SWC::Comm::Serializable.

Definition at line 24 of file ColumnMng.cc.

References SWC::Serialization::decode_i8(), and schema.

+ Here is the call graph for this function:

◆ internal_encode()

void SWC::Comm::Protocol::Mngr::Params::ColumnMng::internal_encode ( uint8_t **  bufp) const
overrideprivatevirtual

Implements SWC::Comm::Serializable.

Definition at line 19 of file ColumnMng.cc.

References SWC::Serialization::encode_i8(), and schema.

+ Here is the call graph for this function:

◆ internal_encoded_length()

size_t SWC::Comm::Protocol::Mngr::Params::ColumnMng::internal_encoded_length ( ) const
overrideprivatevirtual

Implements SWC::Comm::Serializable.

Definition at line 15 of file ColumnMng.cc.

References schema.

Member Data Documentation

◆ function

Function SWC::Comm::Protocol::Mngr::Params::ColumnMng::function

Definition at line 49 of file ColumnMng.h.

◆ schema

DB::Schema::Ptr SWC::Comm::Protocol::Mngr::Params::ColumnMng::schema

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