公共成员函数 | 公共属性 | 所有成员列表
cudf::detail::value_accessor< T > 结构体模板参考

没有 null bitmask 的列的值访问器 更多...

公共成员函数

 value_accessor (column_device_view const &_col)
 构造函数 更多...
 
operator() (cudf::size_type i) const
 返回索引 i 处元素的值 更多...
 

公共属性

column_device_view const col
 设备中列的列视图
 

详细描述

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

没有 null bitmask 的列的值访问器

一个一元函数对象,返回 id 处的标量值。operator() (cudf::size_type id) 计算元素。此函数对象仅允许用于不可为空的列。

元素 i 的返回值将是 column[i]

异常
cudf::logic_error如果列可为空。
cudf::logic_error如果列数据类型与模板 T 类型不匹配。
模板参数
T列中元素的类型

定义于文件 column_device_view.cuh 的第 1253 行。

构造函数和析构函数文档

◆ value_accessor()

template<typename T >
cudf::detail::value_accessor< T >::value_accessor ( column_device_view const &  _col)
inline

构造函数

参数
[in]_colcudf 列的设备列视图

定义于文件 column_device_view.cuh 的第 1261 行。

成员函数文档

◆ operator()()

template<typename T >
T cudf::detail::value_accessor< T >::operator() ( cudf::size_type  i) const
inline

返回索引 i 处元素的值

参数
[in]i元素索引
返回
索引 i 处元素的值

定义于文件 column_device_view.cuh 的第 1271 行。


本结构体的文档生成自以下文件