OmniSciDB
a5dc49c757
|
Functions | |
SQLTypes | get_type_for_datum (const SQLTypeInfo &ti) |
std::tuple< int, SQLTypes, std::string > | explode_collections_step1 (const std::list< const ColumnDescriptor * > &col_descs) |
int64_t | explode_collections_step2 (OGRGeometry *ogr_geometry, SQLTypes collection_child_type, const std::string &collection_col_name, size_t row_or_feature_idx, std::function< void(OGRGeometry *)> execute_import_lambda) |
int64_t | int_value_at (const TypedImportBuffer &import_buffer, const size_t index) |
float | float_value_at (const TypedImportBuffer &import_buffer, const size_t index) |
double | double_value_at (const TypedImportBuffer &import_buffer, const size_t index) |
OGRLayer & | getLayerWithSpecifiedName (const std::string &geo_layer_name, const Geospatial::GDAL::DataSourceUqPtr &poDS, const std::string &file_name) |
std::pair< SQLTypes, bool > | ogr_to_type (const OGRFieldType &ogr_type) |
SQLTypes | ogr_to_type (const OGRwkbGeometryType &ogr_type) |
RasterImporter::PointType | convert_raster_point_type (const import_export::RasterPointType raster_point_type) |
RasterImporter::PointTransform | convert_raster_point_transform (const import_export::RasterPointTransform raster_point_transform) |
RasterImporter::PointTransform import_export::anonymous_namespace{Importer.cpp}::convert_raster_point_transform | ( | const import_export::RasterPointTransform | raster_point_transform | ) |
Definition at line 4801 of file Importer.cpp.
References import_export::kAuto, import_export::RasterImporter::kAuto, import_export::kFile, import_export::RasterImporter::kFile, import_export::kNone, import_export::RasterImporter::kNone, import_export::kWorld, import_export::RasterImporter::kWorld, and UNREACHABLE.
Referenced by import_export::Importer::gdalToColumnDescriptorsRaster(), and import_export::Importer::importGDALRaster().
RasterImporter::PointType import_export::anonymous_namespace{Importer.cpp}::convert_raster_point_type | ( | const import_export::RasterPointType | raster_point_type | ) |
Definition at line 4779 of file Importer.cpp.
References import_export::kAuto, import_export::RasterImporter::kAuto, import_export::kDouble, import_export::RasterImporter::kDouble, import_export::kFloat, import_export::RasterImporter::kFloat, import_export::kInt, import_export::RasterImporter::kInt, import_export::kNone, import_export::RasterImporter::kNone, import_export::kPoint, import_export::RasterImporter::kPoint, import_export::kSmallInt, import_export::RasterImporter::kSmallInt, and UNREACHABLE.
Referenced by import_export::Importer::gdalToColumnDescriptorsRaster(), and import_export::Importer::importGDALRaster().
double import_export::anonymous_namespace{Importer.cpp}::double_value_at | ( | const TypedImportBuffer & | import_buffer, |
const size_t | index | ||
) |
Definition at line 2730 of file Importer.cpp.
References CHECK_EQ, import_export::TypedImportBuffer::getAsBytes(), import_export::TypedImportBuffer::getTypeInfo(), and kDOUBLE.
Referenced by import_export::Loader::fillShardRow().
std::tuple<int, SQLTypes, std::string> import_export::anonymous_namespace{Importer.cpp}::explode_collections_step1 | ( | const std::list< const ColumnDescriptor * > & | col_descs | ) |
Definition at line 1862 of file Importer.cpp.
References kLINESTRING, kNULLT, kPOINT, and kPOLYGON.
Referenced by import_export::import_thread_delimited(), and import_export::import_thread_shapefile().
int64_t import_export::anonymous_namespace{Importer.cpp}::explode_collections_step2 | ( | OGRGeometry * | ogr_geometry, |
SQLTypes | collection_child_type, | ||
const std::string & | collection_col_name, | ||
size_t | row_or_feature_idx, | ||
std::function< void(OGRGeometry *)> | execute_import_lambda | ||
) |
Definition at line 1896 of file Importer.cpp.
References CHECK, measure< TimeT >::execution(), logger::INFO, kLINESTRING, kPOINT, kPOLYGON, and LOG.
Referenced by import_export::import_thread_delimited(), and import_export::import_thread_shapefile().
float import_export::anonymous_namespace{Importer.cpp}::float_value_at | ( | const TypedImportBuffer & | import_buffer, |
const size_t | index | ||
) |
Definition at line 2723 of file Importer.cpp.
References CHECK_EQ, import_export::TypedImportBuffer::getAsBytes(), import_export::TypedImportBuffer::getTypeInfo(), and kFLOAT.
Referenced by import_export::Loader::fillShardRow().
|
inline |
Definition at line 260 of file Importer.cpp.
References decimal_to_int_type(), SQLTypeInfo::get_type(), SQLTypeInfo::is_decimal(), SQLTypeInfo::is_dict_encoded_string(), string_dict_to_int_type(), and run_benchmark_import::type.
Referenced by import_export::NullArrayDatum(), and NullDatum().
OGRLayer& import_export::anonymous_namespace{Importer.cpp}::getLayerWithSpecifiedName | ( | const std::string & | geo_layer_name, |
const Geospatial::GDAL::DataSourceUqPtr & | poDS, | ||
const std::string & | file_name | ||
) |
Definition at line 4602 of file Importer.cpp.
Referenced by import_export::Importer::gdalToColumnDescriptorsGeo(), import_export::Importer::importGDALGeo(), and import_export::Importer::readMetadataSampleGDAL().
int64_t import_export::anonymous_namespace{Importer.cpp}::int_value_at | ( | const TypedImportBuffer & | import_buffer, |
const size_t | index | ||
) |
Definition at line 2692 of file Importer.cpp.
References CHECK, CHECK_EQ, logger::FATAL, import_export::TypedImportBuffer::getAsBytes(), import_export::TypedImportBuffer::getStringDictBuffer(), import_export::TypedImportBuffer::getTypeInfo(), kENCODING_DICT, LOG, and UNREACHABLE.
Referenced by import_export::Loader::distributeToShardsExistingColumns(), and import_export::Loader::fillShardRow().
std::pair<SQLTypes, bool> import_export::anonymous_namespace{Importer.cpp}::ogr_to_type | ( | const OGRFieldType & | ogr_type | ) |
Definition at line 4721 of file Importer.cpp.
References kBIGINT, kDATE, kDOUBLE, kINT, kTEXT, kTIME, kTIMESTAMP, kTINYINT, and to_string().
Referenced by import_export::Importer::gdalToColumnDescriptorsGeo().
SQLTypes import_export::anonymous_namespace{Importer.cpp}::ogr_to_type | ( | const OGRwkbGeometryType & | ogr_type | ) |
Definition at line 4759 of file Importer.cpp.
References kLINESTRING, kMULTILINESTRING, kMULTIPOINT, kMULTIPOLYGON, kPOINT, kPOLYGON, and to_string().