OmniSciDB  04ee39c94c
ResultSetGeoSerialization.h File Reference

Serialization routines for geospatial types. More...

#include <Shared/geo_compression.h>
#include <Shared/geo_types.h>
#include <Shared/sqltypes.h>
#include "ResultSet.h"
#include "TargetValue.h"
+ Include dependency graph for ResultSetGeoSerialization.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GeoTargetValueSerializer< GEO_SOURCE_TYPE >
 
struct  GeoWktSerializer< GEO_SOURCE_TYPE >
 
struct  GeoTargetValuePtrSerializer< GEO_SOURCE_TYPE >
 
struct  GeoReturnTypeTraits< GEO_RETURN_TYPE, GEO_SOURCE_TYPE >
 
struct  GeoReturnTypeTraits< ResultSet::GeoReturnType::GeoTargetValue, GEO_SOURCE_TYPE >
 
struct  GeoReturnTypeTraits< ResultSet::GeoReturnType::WktString, GEO_SOURCE_TYPE >
 
struct  GeoReturnTypeTraits< ResultSet::GeoReturnType::GeoTargetValuePtr, GEO_SOURCE_TYPE >
 
struct  GeoTargetValueSerializer< kPOINT >
 
struct  GeoWktSerializer< kPOINT >
 
struct  GeoTargetValuePtrSerializer< kPOINT >
 
struct  GeoTargetValueSerializer< kLINESTRING >
 
struct  GeoWktSerializer< kLINESTRING >
 
struct  GeoTargetValuePtrSerializer< kLINESTRING >
 
struct  GeoTargetValueSerializer< kPOLYGON >
 
struct  GeoWktSerializer< kPOLYGON >
 
struct  GeoTargetValuePtrSerializer< kPOLYGON >
 
struct  GeoTargetValueSerializer< kMULTIPOLYGON >
 
struct  GeoWktSerializer< kMULTIPOLYGON >
 
struct  GeoTargetValuePtrSerializer< kMULTIPOLYGON >
 

Namespaces

 anonymous_namespace{ResultSetGeoSerialization.h}
 

Typedefs

using VarlenDatumPtr = std::unique_ptr< VarlenDatum >
 

Functions

template<typename T >
void anonymous_namespace{ResultSetGeoSerialization.h}::unpack_geo_vector (std::vector< T > &output, const int8_t *input_ptr, const size_t sz)
 
template<typename T >
void anonymous_namespace{ResultSetGeoSerialization.h}::decompress_geo_coords_geoint32 (std::vector< T > &dec, const int8_t *enc, const size_t sz)
 
template<typename T >
std::shared_ptr< std::vector< T > > anonymous_namespace{ResultSetGeoSerialization.h}::decompress_coords (const SQLTypeInfo &geo_ti, const int8_t *coords, const size_t coords_sz)
 
template<>
std::shared_ptr< std::vector< double > > anonymous_namespace{ResultSetGeoSerialization.h}::decompress_coords< double > (const SQLTypeInfo &geo_ti, const int8_t *coords, const size_t coords_sz)
 

Detailed Description

Serialization routines for geospatial types.

Author
Alex Baden alex..nosp@m.bade.nosp@m.n@map.nosp@m.d.co.nosp@m.m

Definition in file ResultSetGeoSerialization.h.

Typedef Documentation

◆ VarlenDatumPtr

using VarlenDatumPtr = std::unique_ptr<VarlenDatum>

Definition at line 33 of file ResultSetGeoSerialization.h.