Public Member Functions | List of all members
cudf::detail::structs_column_device_view Class Reference

Given a column_device_view, an instance of this class provides a wrapper on this compound column for struct operations. Analogous to struct_column_view. More...

Inheritance diagram for cudf::detail::structs_column_device_view:
cudf::column_device_view

Public Member Functions

 structs_column_device_view (structs_column_device_view const &)=default
 Copy constructor.
 
 structs_column_device_view (structs_column_device_view &&)=default
 Move constructor.
 
structs_column_device_viewoperator= (structs_column_device_view const &)=default
 Copy assignment operator. More...
 
structs_column_device_viewoperator= (structs_column_device_view &&)=default
 Move assignment operator. More...
 
CUDF_HOST_DEVICE structs_column_device_view (column_device_view const &underlying_)
 Construct a new structs column device view object from a column device view. More...
 
column_device_view get_sliced_child (size_type idx) const
 Fetches the child column of the underlying struct column. More...
 
column_device_view child (size_type child_index) const noexcept
 Returns the specified child. More...
 

Detailed Description

Given a column_device_view, an instance of this class provides a wrapper on this compound column for struct operations. Analogous to struct_column_view.

Definition at line 30 of file structs_column_device_view.cuh.

Constructor & Destructor Documentation

◆ structs_column_device_view()

CUDF_HOST_DEVICE cudf::detail::structs_column_device_view::structs_column_device_view ( column_device_view const &  underlying_)
inline

Construct a new structs column device view object from a column device view.

Parameters
underlying_The column device view to wrap

Definition at line 55 of file structs_column_device_view.cuh.

Member Function Documentation

◆ child()

column_device_view cudf::column_device_view::child
inlinenoexcept

Returns the specified child.

Parameters
child_indexThe index of the desired child
Returns
column_view The requested child column_view

Definition at line 849 of file column_device_view.cuh.

◆ get_sliced_child()

column_device_view cudf::detail::structs_column_device_view::get_sliced_child ( size_type  idx) const
inline

Fetches the child column of the underlying struct column.

Parameters
idxThe index of the child column to fetch
Returns
The child column sliced relative to the parent's offset and size

Definition at line 79 of file structs_column_device_view.cuh.

◆ operator=() [1/2]

structs_column_device_view& cudf::detail::structs_column_device_view::operator= ( structs_column_device_view &&  )
default

Move assignment operator.

Returns
The reference to this structs column

◆ operator=() [2/2]

structs_column_device_view& cudf::detail::structs_column_device_view::operator= ( structs_column_device_view const &  )
default

Copy assignment operator.

Returns
The reference to this structs column

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