A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
auto child_begin() const noexcept
Returns iterator to the beginning of the ordered sequence of child column-views.
auto child_end() const noexcept
Returns iterator to the end of the ordered sequence of child column-views.
size_type null_count() const
Returns the count of null elements.
size_type size() const noexcept
Returns the number of elements in the column.
T const * begin() const noexcept
Return first element (accounting for offset) after underlying data is casted to the specified type.
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.
Given a column-view of lists type, an instance of this class provides a wrapper on this compound colu...
column_view offsets() const
Returns the internal column of offsets.
lists_column_view & operator=(lists_column_view const &)=default
Copy assignment operator.
static constexpr size_type child_column_index
The index of the child column.
lists_column_view & operator=(lists_column_view &&)=default
Move assignment operator.
offset_iterator offsets_begin() const noexcept
Return first offset (accounting for column offset)
column_view get_sliced_child(rmm::cuda_stream_view stream) const
Returns the internal child column, applying any offset from the root.
lists_column_view(lists_column_view const &)=default
Copy constructor.
static constexpr size_type offsets_column_index
The index of the offsets column.
lists_column_view(column_view const &lists_column)
Construct a new lists column view object from a column view.
size_type const * offset_iterator
Iterator type for offsets.
column_view child() const
Returns the internal child column.
lists_column_view(lists_column_view &&)=default
Move constructor.
offset_iterator offsets_end() const noexcept
Return pointer to the position that is one past the last offset.
column_view parent() const
Returns the parent column.
Class definition for cudf::column.
column view class definitions
int32_t size_type
Row index type for columns and tables.