template<typename T, bool has_nulls = false>
struct cudf::detail::pair_rep_accessor< T, has_nulls >
pair accessor of column with/without null bitmask
A unary functor returns pair with representative scalar value at id and boolean validity operator() (cudf::size_type id) computes element and returns a pair(element, validity)
the return value for element i will return pair(column[i], validity) validity is true if has_nulls=false. validity is validity of the element at i if has_nulls=true and the column is nullable.
- Exceptions
-
- Template Parameters
-
| T | The type of elements in the column |
| has_nulls | boolean indicating to treat the column is nullable |
Definition at line 952 of file column_device_view.cuh.