OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GeoTargetValuePtrSerializer< kMULTIPOLYGON > Struct Template Reference

#include <ResultSetGeoSerialization.h>

Static Public Member Functions

static TargetValue serialize (const SQLTypeInfo &geo_ti, std::array< VarlenDatumPtr, 3 > &vals)
 

Detailed Description

template<>
struct GeoTargetValuePtrSerializer< kMULTIPOLYGON >

Definition at line 305 of file ResultSetGeoSerialization.h.

Member Function Documentation

static TargetValue GeoTargetValuePtrSerializer< kMULTIPOLYGON >::serialize ( const SQLTypeInfo geo_ti,
std::array< VarlenDatumPtr, 3 > &  vals 
)
inlinestatic

Definition at line 306 of file ResultSetGeoSerialization.h.

307  {
308  // TODO: once NULL geo support is in, add coords NULL check under !notnull
309  // if (!geo_ti.get_notnull() &&
310  // (vals[0]->is_null || vals[1]->is_null || vals[2]->is_null)) {
311  // return GeoTargetValuePtr();
312  // }
314  {std::move(vals[0]), std::move(vals[1]), std::move(vals[2])});
315  }

The documentation for this struct was generated from the following file: