124 namespace dictionary {
A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
Indicator for the logical data type of an element in a column.
size_type null_count() const
Returns the count of null elements.
size_type size() const noexcept
Returns the number of elements in the column.
size_type offset() const noexcept
Returns the index of the first element relative to the base memory allocation, i.e....
bool has_nulls() const
Indicates if the column contains null elements, i.e., null_count() > 0
bitmask_type const * null_mask() const noexcept
Returns raw pointer to the underlying bitmask allocation.
bool is_empty() const noexcept
Returns true if size() returns zero, or false otherwise.
A wrapper class for operations on a dictionary column.
dictionary_column_view(dictionary_column_view &&)=default
Move constructor.
dictionary_column_view & operator=(dictionary_column_view const &)=default
Move assignment operator.
column_view indices() const noexcept
Returns the column of indices.
dictionary_column_view(dictionary_column_view const &)=default
Copy constructor.
static constexpr size_type keys_column_index
Index of the keys column of the dictionary column.
column_view keys() const noexcept
Returns the column of keys.
dictionary_column_view(column_view const &dictionary_column)
Construct a new dictionary column view object from a column view.
size_type keys_size() const noexcept
Returns the number of rows in the keys column.
data_type keys_type() const noexcept
Returns the cudf::data_type of the keys child column.
dictionary_column_view & operator=(dictionary_column_view &&)=default
Copy assignment operator.
column_view get_indices_annotated() const noexcept
Returns a column_view combining the indices data with offset, size, and nulls from the parent.
column_view parent() const noexcept
Returns the parent column.
static constexpr size_type indices_column_index
Index of the indices column of the dictionary column.
Class definition for cudf::column.
column view class definitions
int32_t size_type
Row index type for columns and tables.