一个用于对字典列进行操作的包装类。 更多...
#include <dictionary_column_view.hpp>
公共成员函数 | |
dictionary_column_view (column_view const &dictionary_column) | |
从一个列视图构造一个新的字典列视图对象。 更多... | |
dictionary_column_view (dictionary_column_view &&)=default | |
移动构造函数。 | |
dictionary_column_view (dictionary_column_view const &)=default | |
复制构造函数。 | |
dictionary_column_view & | operator= (dictionary_column_view const &)=default |
移动赋值运算符。 更多... | |
dictionary_column_view & | operator= (dictionary_column_view &&)=default |
复制赋值运算符。 更多... | |
column_view | parent () const noexcept |
返回父列。 更多... | |
column_view | indices () const noexcept |
返回索引列。 更多... | |
column_view | get_indices_annotated () const noexcept |
返回一个 column_view,它将索引数据与父级的偏移、大小和空值组合在一起。 更多... | |
column_view | keys () const noexcept |
返回键列。 更多... | |
data_type | keys_type () const noexcept |
返回键子列的 cudf::data_type。 更多... | |
size_type | keys_size () const noexcept |
返回键列中的行数。 更多... | |
静态公共属性 | |
static constexpr size_type | indices_column_index {0} |
字典列中索引列的索引。 | |
static constexpr size_type | keys_column_index {1} |
字典列中键列的索引。 | |
一个用于对字典列进行操作的包装类。
字典列包含一组键和一个索引列。键是列的唯一值的排序集合。索引表示每个元素值在键中的相应位置。
定义位于文件 dictionary_column_view.hpp 的 39 行。
cudf::dictionary_column_view::dictionary_column_view | ( | column_view const & | dictionary_column | ) |
从一个列视图构造一个新的字典列视图对象。
dictionary_column | 要包装的列视图 |
|
noexcept |
返回一个 column_view,它将索引数据与父级的偏移、大小和空值组合在一起。
|
noexcept |
返回索引列。
|
noexcept |
返回键列。
|
noexcept |
返回键列中的行数。
|
noexcept |
返回键子列的 cudf::data_type。
|
default |
复制赋值运算符。
|
default |
移动赋值运算符。
|
noexcept |
返回父列。