value accessor of column without null bitmask More...
Public Member Functions | |
value_accessor (column_device_view const &_col) | |
constructor More... | |
T | operator() (cudf::size_type i) const |
Returns the value of element at index i More... | |
Public Attributes | |
column_device_view const | col |
column view of column in device | |
value accessor of column without null bitmask
A unary functor returns scalar value at id
. operator() (cudf::size_type id)
computes element
This functor is only allowed for non-nullable columns.
the return value for element i
will return column[i]
cudf::logic_error | if the column is nullable. |
cudf::logic_error | if column datatype and template T type mismatch. |
T | The type of elements in the column |
Definition at line 1252 of file column_device_view.cuh.
|
inline |
constructor
[in] | _col | column device view of cudf column |
Definition at line 1260 of file column_device_view.cuh.
|
inline |
Returns the value of element at index i
[in] | i | index of element |
i
Definition at line 1270 of file column_device_view.cuh.