libcudf  24.02.00
Public Member Functions | Public Attributes | List of all members
cudf::list_size_functor Struct Reference

Returns the size of the list by row index. More...

Public Member Functions

CUDF_HOST_DEVICE list_size_functor (detail::lists_column_device_view const &d_col)
 Constructor. More...
 
size_type operator() (size_type idx)
 Returns size of the list by row index. More...
 

Public Attributes

detail::lists_column_device_view const d_column
 The list column to access.
 

Detailed Description

Returns the size of the list by row index.

Definition at line 336 of file list_device_view.cuh.

Constructor & Destructor Documentation

◆ list_size_functor()

CUDF_HOST_DEVICE cudf::list_size_functor::list_size_functor ( detail::lists_column_device_view const &  d_col)
inline

Constructor.

Parameters
d_colThe cudf::lists_column_device_view whose rows are being accessed

Definition at line 343 of file list_device_view.cuh.

Member Function Documentation

◆ operator()()

size_type cudf::list_size_functor::operator() ( size_type  idx)
inline

Returns size of the list by row index.

Parameters
idxrow index
Returns
size of the list

Definition at line 353 of file list_device_view.cuh.


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