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::Ranger::CellStore::Block::Write Class Referencefinal

#include <swcdb/ranger/db/CellStoreBlock.h>

+ Collaboration diagram for SWC::Ranger::CellStore::Block::Write:

Public Types

typedef std::shared_ptr< WritePtr
 

Public Member Functions

 Write (Header &&header) noexcept
 
 ~Write () noexcept
 
void print (std::ostream &out) const
 

Static Public Member Functions

static void encode (int &err, DynamicBuffer &cells, DynamicBuffer &output, Header &header)
 

Public Attributes

const Header header
 

Detailed Description

Definition at line 109 of file CellStoreBlock.h.

Member Typedef Documentation

◆ Ptr

Definition at line 111 of file CellStoreBlock.h.

Constructor & Destructor Documentation

◆ Write()

SWC_CAN_INLINE SWC::Ranger::CellStore::Block::Write::Write ( Header &&  header)
noexcept

Definition at line 367 of file CellStoreBlock.cc.

◆ ~Write()

SWC::Ranger::CellStore::Block::Write::~Write ( )
inlinenoexcept

Definition at line 115 of file CellStoreBlock.h.

Member Function Documentation

◆ encode()

SWC_CAN_INLINE void SWC::Ranger::CellStore::Block::Write::encode ( int &  err,
DynamicBuffer cells,
DynamicBuffer output,
Header header 
)
static

Definition at line 370 of file CellStoreBlock.cc.

References SWC::Core::Buffer< T >::base, SWC::Core::Encoder::encode(), SWC::Ranger::CellStore::Block::Header::encode(), SWC::Ranger::CellStore::Block::Header::encoder, SWC::Core::BufferDyn< BufferT >::fill(), header, SWC::Ranger::CellStore::Block::Header::SIZE, SWC::Ranger::CellStore::Block::Header::size_enc, and SWC::Ranger::CellStore::Block::Header::size_plain.

Referenced by SWC::Ranger::CellStore::Write::block_encode(), and SWC::Ranger::CompactRange::InBlock::finalize_encode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ print()

void SWC::Ranger::CellStore::Block::Write::print ( std::ostream &  out) const

Definition at line 389 of file CellStoreBlock.cc.

References header, and SWC::Ranger::CellStore::Block::Header::print().

+ Here is the call graph for this function:

Member Data Documentation

◆ header

const Header SWC::Ranger::CellStore::Block::Write::header

Definition at line 122 of file CellStoreBlock.h.

Referenced by encode(), and print().


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