OmniSciDB  5ade3759e0
Fragmenter_Namespace::InsertData Struct Reference

The data to be inserted using the fragment manager. More...

#include <Fragmenter.h>

Public Attributes

int databaseId
 
int tableId
 identifies the database into which the data is being inserted More...
 
std::vector< int > columnIds
 identifies the table into which the data is being inserted More...
 
size_t numRows
 a vector of column ids for the row(s) being inserted More...
 
std::vector< DataBlockPtrdata
 the number of rows being inserted More...
 
int64_t replicate_count
 
std::vector< bool > bypass
 count to replicate values of column(s); used only for ALTER ADD column More...
 
std::map< int, const ColumnDescriptor * > columnDescriptors
 

Detailed Description

The data to be inserted using the fragment manager.

The data being inserted is assumed to be in columnar format, and so the offset to the beginning of each column can be calculated by multiplying the column size by the number of rows.

Todo:
support for variable-length data types

Definition at line 59 of file Fragmenter.h.

Member Data Documentation

◆ bypass

std::vector<bool> Fragmenter_Namespace::InsertData::bypass

count to replicate values of column(s); used only for ALTER ADD column

Definition at line 68 of file Fragmenter.h.

Referenced by Importer_NS::Loader::loadToShard(), and Fragmenter_Namespace::InsertOrderFragmenter::replicateData().

◆ columnDescriptors

std::map<int, const ColumnDescriptor*> Fragmenter_Namespace::InsertData::columnDescriptors

◆ columnIds

◆ data

◆ databaseId

◆ numRows

◆ replicate_count

int64_t Fragmenter_Namespace::InsertData::replicate_count
Initial value:
=
0

points to the start of the data block per column for the row(s) being inserted

Definition at line 66 of file Fragmenter.h.

Referenced by Fragmenter_Namespace::InsertOrderFragmenter::insertDataImpl().

◆ tableId


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