A non-owning view of a single column's metadata within packed column data. More...
#include <contiguous_split.hpp>
Public Member Functions | |
| data_type | type () const |
| size_type | num_rows () const |
| size_type | null_count () const |
| size_type | num_children () const |
| column_view | child (size_type i) const |
| A view of the i-th child column's metadata. More... | |
Friends | |
| class | packed_metadata_view |
A non-owning view of a single column's metadata within packed column data.
This lightweight view (two pointers) wraps a single serialized column entry and provides access to its schema information (type, size, null count, children) without requiring device data or building a column_view.
Instances are obtained from packed_metadata_view::column() or packed_column_metadata::child(). They remain valid as long as the underlying metadata byte buffer is alive.
Definition at line 351 of file contiguous_split.hpp.
| column_view cudf::packed_metadata_view::column_view::child | ( | size_type | i | ) | const |
A view of the i-th child column's metadata.
| std::out_of_range | if i is not contained in [0, num_children()) |
| i | Index of the child column |
packed_column_metadata_view for the i-th child | size_type cudf::packed_metadata_view::column_view::null_count | ( | ) | const |
| size_type cudf::packed_metadata_view::column_view::num_children | ( | ) | const |
| size_type cudf::packed_metadata_view::column_view::num_rows | ( | ) | const |
| data_type cudf::packed_metadata_view::column_view::type | ( | ) | const |
data_type of this column.