OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
InsertDataLoader.cpp File Reference
#include <algorithm>
#include <numeric>
#include <vector>
#include "../Shared/shard_key.h"
#include "Geospatial/Types.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::compute_row_indices_of_shards (size_t shard_count, size_t leaf_count, size_t row_count, SRC *src, bool duplicated_key_value)
 
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::size_of_raw_column (const Catalog_Namespace::Catalog &cat, const ColumnDescriptor *cd, const bool get_logical_size=true)
 
std::vector< std::vector
< size_t > > 
Fragmenter_Namespace::compute_row_indices_of_shards (const Catalog_Namespace::Catalog &cat, size_t leaf_count, const InsertChunks &insert_chunks)
 
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, bool is_default)
 
std::pair< std::list
< std::unique_ptr
< foreign_storage::ForeignStorageBuffer >
>, InsertChunks > 
Fragmenter_Namespace::copy_data_of_shard (const Catalog_Namespace::Catalog &cat, const InsertChunks &insert_chunks, int shardTableIndex, const std::vector< size_t > &rowIndices)
 
InsertData Fragmenter_Namespace::copyDataOfShard (const Catalog_Namespace::Catalog &cat, ShardDataOwner &dataOwner, InsertData &insert_data, int shardTableIndex, const std::vector< size_t > &rowIndices)