#include <ResultSetGeoSerialization.h>
template<>
struct GeoTargetValueSerializer< kMULTIPOLYGON >
Definition at line 296 of file ResultSetGeoSerialization.h.
Definition at line 297 of file ResultSetGeoSerialization.h.
References Geospatial::decompress_coords< double, SQLTypeInfo >(), SQLTypeInfo::get_notnull(), and Geospatial::unpack_geo_vector().
300 (vals[0]->is_null || vals[1]->is_null || vals[2]->is_null)) {
301 return GeoTargetValue(boost::optional<GeoMultiPolyTargetValue>{});
303 std::vector<int32_t> ring_sizes_vec;
305 std::vector<int32_t> poly_rings_vec;
308 geo_ti, vals[0]->pointer, vals[0]->length),
std::shared_ptr< std::vector< double > > decompress_coords< double, SQLTypeInfo >(const SQLTypeInfo &geo_ti, const int8_t *coords, const size_t coords_sz)
boost::optional< boost::variant< GeoPointTargetValue, GeoMultiPointTargetValue, GeoLineStringTargetValue, GeoMultiLineStringTargetValue, GeoPolyTargetValue, GeoMultiPolyTargetValue >> GeoTargetValue
HOST DEVICE bool get_notnull() const
void unpack_geo_vector(std::vector< T > &output, const int8_t *input_ptr, const size_t sz)
The documentation for this struct was generated from the following file: