OmniSciDB
a5dc49c757
|
Functions | |
OGRFieldType | sql_type_info_to_ogr_field_type (const std::string &name, const SQLTypeInfo &type_info, const QueryExporter::FileType file_type) |
void | insert_geo_column (const GeoTargetValue *geo_tv, const SQLTypeInfo &ti, const int field_index, OGRFeature *ogr_feature) |
void | insert_scalar_column (const ScalarTargetValue *scalar_tv, const SQLTypeInfo &ti, const int field_index, OGRFeature *ogr_feature) |
void | insert_array_column (const ArrayTargetValue *array_tv, const SQLTypeInfo &ti, const int field_index, OGRFeature *ogr_feature, const std::string &column_name, QueryExporter::ArrayNullHandling array_null_handling) |
Variables | |
static constexpr std::array < const char *, 5 > | driver_names |
static constexpr std::array < const char *, 5 > | file_type_names |
static constexpr std::array < const char *, 3 > | compression_prefix |
static constexpr std::array < const char *, 3 > | compression_suffix = {"", ".gz", ".zip"} |
static constexpr std::array < std::array< bool, 3 >, 5 > | compression_implemented |
static std::array < std::unordered_set < std::string >, 5 > | file_type_valid_extensions |
void import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column | ( | const ArrayTargetValue * | array_tv, |
const SQLTypeInfo & | ti, | ||
const int | field_index, | ||
OGRFeature * | ogr_feature, | ||
const std::string & | column_name, | ||
QueryExporter::ArrayNullHandling | array_null_handling | ||
) |
Definition at line 481 of file QueryExporterGDAL.cpp.
References CHECK, CHECK_EQ, CHECK_GE, shared::convert_temporal_to_iso_format(), SQLTypeInfo::get_elem_type(), SQLTypeInfo::get_subtype(), SQLTypeInfo::get_type_name(), SQLTypeInfo::is_geometry(), is_null(), SQLTypeInfo::is_time(), import_export::QueryExporter::kAbortWithWarning, kBIGINT, kBOOLEAN, kDATE, import_export::QueryExporter::kExportZeros, kFLOAT, kINT, import_export::QueryExporter::kNullEntireField, kSMALLINT, kTIME, kTIMESTAMP, kTINYINT, NULL_BIGINT, NULL_BOOLEAN, NULL_DOUBLE, NULL_FLOAT, NULL_INT, NULL_SMALLINT, and NULL_TINYINT.
Referenced by import_export::QueryExporterGDAL::exportResults().
void import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_geo_column | ( | const GeoTargetValue * | geo_tv, |
const SQLTypeInfo & | ti, | ||
const int | field_index, | ||
OGRFeature * | ogr_feature | ||
) |
Definition at line 327 of file QueryExporterGDAL.cpp.
References CHECK, CHECK_EQ, SQLTypeInfo::get_type(), Geospatial::GeoBase::getOGRGeometry(), SQLTypeInfo::is_geometry(), kLINESTRING, kMULTILINESTRING, kMULTIPOINT, kMULTIPOLYGON, kPOINT, and kPOLYGON.
Referenced by import_export::QueryExporterGDAL::exportResults().
void import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_scalar_column | ( | const ScalarTargetValue * | scalar_tv, |
const SQLTypeInfo & | ti, | ||
const int | field_index, | ||
OGRFeature * | ogr_feature | ||
) |
Definition at line 393 of file QueryExporterGDAL.cpp.
References CHECK, CHECK_EQ, CHECK_GE, shared::convert_temporal_to_iso_format(), SQLTypeInfo::get_type(), SQLTypeInfo::is_geometry(), is_null(), SQLTypeInfo::is_time(), kBIGINT, kBOOLEAN, kDATE, kFLOAT, kINT, kSMALLINT, kTIME, kTIMESTAMP, kTINYINT, NULL_BIGINT, NULL_BOOLEAN, NULL_DOUBLE, NULL_FLOAT, NULL_INT, NULL_SMALLINT, NULL_TINYINT, and SCI.
Referenced by import_export::QueryExporterGDAL::exportResults().
OGRFieldType import_export::anonymous_namespace{QueryExporterGDAL.cpp}::sql_type_info_to_ogr_field_type | ( | const std::string & | name, |
const SQLTypeInfo & | type_info, | ||
const QueryExporter::FileType | file_type | ||
) |
Definition at line 94 of file QueryExporterGDAL.cpp.
References SQLTypeInfo::get_subtype(), SQLTypeInfo::get_type(), SQLTypeInfo::get_type_name(), kARRAY, kBIGINT, kBOOLEAN, kCHAR, kDATE, kDECIMAL, kDOUBLE, import_export::QueryExporter::kFlatGeobuf, kFLOAT, kINT, kINTERVAL_DAY_TIME, kINTERVAL_YEAR_MONTH, kNUMERIC, import_export::QueryExporter::kShapefile, kSMALLINT, kTEXT, kTIME, kTIMESTAMP, kTINYINT, kVARCHAR, and SCI.
Referenced by import_export::QueryExporterGDAL::beginExport().
|
static |
Definition at line 84 of file QueryExporterGDAL.cpp.
Referenced by import_export::QueryExporterGDAL::beginExport().
|
static |
Definition at line 76 of file QueryExporterGDAL.cpp.
Referenced by import_export::QueryExporterGDAL::beginExport().
|
static |
Definition at line 80 of file QueryExporterGDAL.cpp.
Referenced by import_export::QueryExporterGDAL::beginExport().
|
static |
Definition at line 64 of file QueryExporterGDAL.cpp.
Referenced by import_export::QueryExporterGDAL::beginExport().
|
static |
Definition at line 70 of file QueryExporterGDAL.cpp.
Referenced by import_export::QueryExporterGDAL::beginExport().
|
static |
Definition at line 91 of file QueryExporterGDAL.cpp.
Referenced by import_export::QueryExporterGDAL::beginExport().