OmniSciDB  a667adc9c8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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...
 
std::vector< bool > is_default
 

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

std::vector<int> Fragmenter_Namespace::InsertData::columnIds

identifies the table into which the data is being inserted

Definition at line 62 of file Fragmenter.h.

Referenced by Fragmenter_Namespace::InsertOrderFragmenter::addColumns(), Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::addDataBlocksToInsertData(), NumericValueConverter< int64_t, TARGET_TYPE >::addDataBlocksToInsertData(), Fragmenter_Namespace::FixedLenArrayChunkConverter::addDataBlocksToInsertData(), Fragmenter_Namespace::StringChunkConverter::addDataBlocksToInsertData(), Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::addDataBlocksToInsertData(), DictionaryValueConverter< TARGET_TYPE >::addDataBlocksToInsertData(), StringValueConverter::addDataBlocksToInsertData(), ArrayValueConverter< ELEMENT_CONVERTER >::addDataBlocksToInsertData(), GeoPointValueConverter::addDataBlocksToInsertData(), GeoLinestringValueConverter::addDataBlocksToInsertData(), GeoPolygonValueConverter::addDataBlocksToInsertData(), GeoMultiPolygonValueConverter::addDataBlocksToInsertData(), Fragmenter_Namespace::computeRowIndicesOfShards(), Fragmenter_Namespace::copyDataOfShard(), RelAlgExecutor::executeSimpleInsert(), import_export::fill_missing_columns(), anonymous_namespace{RelAlgExecutor.cpp}::get_shard_for_key(), import_export::Loader::init(), DBHandler::insert_data(), Fragmenter_Namespace::InsertOrderFragmenter::insertDataImpl(), Fragmenter_Namespace::InsertOrderFragmenter::isAddingNewColumns(), import_export::Loader::loadToShard(), Fragmenter_Namespace::SortedOrderFragmenter::sortData(), and Fragmenter_Namespace::InsertOrderFragmenter::updateColumns().

std::vector<DataBlockPtr> Fragmenter_Namespace::InsertData::data

the number of rows being inserted

Definition at line 64 of file Fragmenter.h.

Referenced by Fragmenter_Namespace::InsertOrderFragmenter::addColumns(), Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::addDataBlocksToInsertData(), NumericValueConverter< int64_t, TARGET_TYPE >::addDataBlocksToInsertData(), Fragmenter_Namespace::FixedLenArrayChunkConverter::addDataBlocksToInsertData(), Fragmenter_Namespace::StringChunkConverter::addDataBlocksToInsertData(), Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::addDataBlocksToInsertData(), DictionaryValueConverter< TARGET_TYPE >::addDataBlocksToInsertData(), StringValueConverter::addDataBlocksToInsertData(), ArrayValueConverter< ELEMENT_CONVERTER >::addDataBlocksToInsertData(), GeoPointValueConverter::addDataBlocksToInsertData(), GeoLinestringValueConverter::addDataBlocksToInsertData(), GeoPolygonValueConverter::addDataBlocksToInsertData(), GeoMultiPolygonValueConverter::addDataBlocksToInsertData(), Fragmenter_Namespace::computeRowIndicesOfShards(), Fragmenter_Namespace::copyDataOfShard(), RelAlgExecutor::executeSimpleInsert(), import_export::fill_missing_columns(), anonymous_namespace{RelAlgExecutor.cpp}::get_shard_for_key(), DBHandler::insert_data(), Fragmenter_Namespace::InsertOrderFragmenter::insertDataImpl(), import_export::Loader::loadToShard(), omnisci.thrift.ttypes.TColumn::read(), omnisci.thrift.ttypes.TInsertData::read(), Fragmenter_Namespace::SortedOrderFragmenter::sortData(), omnisci.thrift.ttypes.TColumn::write(), and omnisci.thrift.ttypes.TInsertData::write().


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