26#ifndef __TERRALIB_MEMORY_INTERNAL_PREPAREDITEMCOPY_H
27#define __TERRALIB_MEMORY_INTERNAL_PREPAREDITEMCOPY_H
45 using ColumnMapping = std::vector< std::pair<std::size_t, std::size_t> >;
An implementation of the DatasetItem class for the TerraLib In-Memory Data Access driver.
An implementation of the DatasetItem class for the TerraLib In-Memory Data Access driver.
ColumnMapping prepareCopyValues(const te::da::DataSetItem *source, te::mem::DataSetItem *destination, bool copyGeometries) const
Creates a list mapping the input columns to the output columns. This is used to optmize significantly...
void copyValues(const te::da::DataSetItem *source, te::mem::DataSetItem *destination, bool copyGeometries=true) const
Copies the values from the source dataSet item to the destination dataSet item by matching the column...
ColumnMapping m_columnMapping
void copyValues(const te::da::DataSetItem *source, te::mem::DataSetItem *destination, const ColumnMapping &vecColumnsMapping) const
Copies the values from the source dataSet item to the destination dataSet item using the given pre ca...
Namespace for the DataAccess API of TerraLib.
Namespace for the memory data source of TerraLib.
std::vector< std::pair< std::size_t, std::size_t > > ColumnMapping
Configuration flags for the TerraLib In-memory Data Access driver.
#define TEMEMORYEXPORT
You can use this macro in order to export/import classes and functions from this module.