OmniSciDB  c07336695a
InsertDataLoader.cpp File Reference
#include <algorithm>
#include <numeric>
#include <vector>
#include "../Shared/shard_key.h"
#include "InsertDataLoader.h"
#include "TargetValueConvertersFactories.h"
+ Include dependency graph for InsertDataLoader.cpp:

Go to the source code of this file.

Classes

struct  Fragmenter_Namespace::ShardDataOwner
 
struct  Fragmenter_Namespace::BlockWithColumnId
 

Namespaces

 Fragmenter_Namespace
 

Functions

template<typename SRC >
std::vector< std::vector< size_t > > Fragmenter_Namespace::computeRowIndicesOfShards (size_t shardCount, size_t leafCount, size_t rowCount, SRC *src)
 
template<typename T >
size_t Fragmenter_Namespace::indexOf (std::vector< T > &vec, T val)
 
bool Fragmenter_Namespace::isStringVectorData (const ColumnDescriptor *cd)
 
bool Fragmenter_Namespace::isDatumVectorData (const ColumnDescriptor *cd)
 
size_t Fragmenter_Namespace::sizeOfRawColumn (const Catalog_Namespace::Catalog &cat, const ColumnDescriptor *cd)
 
std::vector< std::vector< size_t > > Fragmenter_Namespace::computeRowIndicesOfShards (const Catalog_Namespace::Catalog &cat, size_t leafCount, InsertData &insert_data)
 
template<typename T >
void Fragmenter_Namespace::copyColumnDataOfShard (const std::vector< size_t > &rowIndices, T *src, T *dst)
 
BlockWithColumnId Fragmenter_Namespace::copyColumnDataOfShard (const Catalog_Namespace::Catalog &cat, ShardDataOwner &dataOwner, const std::vector< size_t > &rowIndices, const ColumnDescriptor *pCol, size_t columnIndex, DataBlockPtr dataBlock)
 
InsertData Fragmenter_Namespace::copyDataOfShard (const Catalog_Namespace::Catalog &cat, ShardDataOwner &dataOwner, InsertData &insert_data, int shardTableIndex, const std::vector< size_t > &rowIndices)