A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
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.
Given a column-view of strings type, an instance of this class provides a wrapper on this compound co...
strings_column_view(strings_column_view &&)=default
Move constructor.
size_type chars_size() const noexcept
Returns the number of bytes in the chars child column.
size_type const * offset_iterator
offsets iterator type
static constexpr size_type chars_column_index
Child index of the characters column.
char const * chars_iterator
character iterator type
strings_column_view(column_view strings_column)
Construct a new strings column view object from a column view.s.
chars_iterator chars_begin() const
Return an iterator for the chars child column.
column_view parent() const
Returns the parent column.
static constexpr size_type offsets_column_index
Child index of the offsets column.
strings_column_view(strings_column_view const &)=default
Copy constructor.
strings_column_view & operator=(strings_column_view const &)=default
Copy assignment operator.
offset_iterator offsets_begin() const
Return an iterator for the offsets child column.
strings_column_view & operator=(strings_column_view &&)=default
Move assignment operator.
chars_iterator chars_end() const
Return an end iterator for the offsets child column.
offset_iterator offsets_end() const
Return an end iterator for the offsets child column.
column_view offsets() const
Returns the internal column of offsets.
column_view chars() const
Returns the internal column of chars.
column view class definitions
int32_t size_type
Row index type for columns and tables.