Lightweight 0.20251202.0
Loading...
Searching...
No Matches
Lightweight::SqlBackup::ColumnBatch Struct Reference

Represents a batch of backup data in column-oriented format. More...

#include <SqlBackupFormats.hpp>

Public Types

using ColumnData = std::variant< std::monostate, std::vector< int64_t >, std::vector< double >, std::vector< std::string >, std::vector< std::vector< uint8_t > >, std::vector< bool > >
 

Public Member Functions

void Clear ()
 Clears the internal buffer after a flush and releases memory.
 

Public Attributes

size_t rowCount = 0
 
std::vector< ColumnData > columns
 
std::vector< std::vector< bool > > nullIndicators
 

Detailed Description

Represents a batch of backup data in column-oriented format.

Definition at line 25 of file SqlBackupFormats.hpp.

Member Typedef Documentation

◆ ColumnData

using Lightweight::SqlBackup::ColumnBatch::ColumnData = std::variant<std::monostate, std::vector<int64_t>, std::vector<double>, std::vector<std::string>, std::vector<std::vector<uint8_t> >, std::vector<bool> >

Definition at line 27 of file SqlBackupFormats.hpp.

Member Function Documentation

◆ Clear()

void Lightweight::SqlBackup::ColumnBatch::Clear ( )
inline

Clears the internal buffer after a flush and releases memory.

Definition at line 40 of file SqlBackupFormats.hpp.

Member Data Documentation

◆ rowCount

size_t Lightweight::SqlBackup::ColumnBatch::rowCount = 0

Definition at line 35 of file SqlBackupFormats.hpp.

◆ columns

std::vector<ColumnData> Lightweight::SqlBackup::ColumnBatch::columns

Definition at line 36 of file SqlBackupFormats.hpp.

◆ nullIndicators

std::vector<std::vector<bool> > Lightweight::SqlBackup::ColumnBatch::nullIndicators

Definition at line 37 of file SqlBackupFormats.hpp.


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