libcudf  24.04.00
Public Member Functions | Public Attributes | List of all members
cudf::detail::mutable_value_accessor< T > Struct Template Reference

Mutable value accessor of column without null bitmask. More...

Public Member Functions

 mutable_value_accessor (mutable_column_device_view &_col)
 Constructor. More...
 
T & operator() (cudf::size_type i)
 Accessor. More...
 

Public Attributes

mutable_column_device_view col
 mutable column view of column in device
 

Detailed Description

template<typename T>
struct cudf::detail::mutable_value_accessor< T >

Mutable value accessor of column without null bitmask.

A unary functor that accepts an index and returns a reference to the element at that index in the column.

Exceptions
cudf::logic_errorif the column is nullable
cudf::logic_errorif column datatype and template T type mismatch
Template Parameters
TThe type of elements in the column

Definition at line 1452 of file column_device_view.cuh.

Constructor & Destructor Documentation

◆ mutable_value_accessor()

Constructor.

Parameters
[in]_colmutable column device view of cudf column

Definition at line 1460 of file column_device_view.cuh.

Member Function Documentation

◆ operator()()

template<typename T >
T& cudf::detail::mutable_value_accessor< T >::operator() ( cudf::size_type  i)
inline

Accessor.

Parameters
iindex of element to access
Returns
reference to element at i

Definition at line 1471 of file column_device_view.cuh.


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