Definition at line 887 of file ResultSetIteration.cpp.
Definition at line 889 of file ResultSetIteration.cpp.
References SQLTypeInfo::get_notnull(), SQLTypeInfo::get_type(), Geospatial::is_null_point(), kPOINT, anonymous_namespace{ResultSetIteration.cpp}::lazy_fetch_chunk(), and anonymous_namespace{ResultSetIteration.cpp}::make_vals_vector().
892 constexpr
int num_vals =
sizeof...(vals);
895 "Must have consistent pointer/size pairs for lazy fetch of geo target values.");
896 const auto vals_vector =
make_vals_vector(std::make_index_sequence<num_vals / 2>{},
897 std::make_tuple(vals...));
900 for (
const auto& col_pair : vals_vector) {
911 ad_arr[ctr]->is_null =
false;
915 if (ad_arr[ctr]->length == 0 || ad_arr[ctr]->pointer == NULL ||
917 is_null_point(geo_ti, ad_arr[ctr]->pointer, ad_arr[ctr]->length))) {
918 ad_arr[ctr]->is_null =
true;
std::unique_ptr< ArrayDatum > lazy_fetch_chunk(const int8_t *ptr, const int64_t varlen_ptr)
bool is_null_point(const SQLTypeInfo &geo_ti, const int8_t *coords, const size_t coords_sz)
HOST DEVICE SQLTypes get_type() const
std::vector< std::pair< const int8_t *, const int64_t > > make_vals_vector(std::index_sequence< indices...>, const Tuple &tuple)
HOST DEVICE bool get_notnull() const
std::unique_ptr< VarlenDatum > VarlenDatumPtr
The documentation for this struct was generated from the following file: