column_wrapper
derived class for wrapping columns of structs.
More...
#include <column_wrapper.hpp>
Public Member Functions | |
structs_column_wrapper (std::vector< std::unique_ptr< cudf::column >> &&child_columns, std::vector< bool > const &validity={}) | |
Constructs a struct column from the specified list of pre-constructed child columns. More... | |
structs_column_wrapper (std::initializer_list< std::reference_wrapper< detail::column_wrapper >> child_column_wrappers, std::vector< bool > const &validity={}) | |
Constructs a struct column from the list of column wrappers for child columns. More... | |
template<typename V > | |
structs_column_wrapper (std::initializer_list< std::reference_wrapper< detail::column_wrapper >> child_column_wrappers, V validity_iter) | |
Constructs a struct column from the list of column wrappers for child columns. More... | |
Public Member Functions inherited from cudf::test::detail::column_wrapper | |
operator column_view () const | |
Implicit conversion operator to column_view . More... | |
operator mutable_column_view () | |
Implicit conversion operator to mutable_column_view . More... | |
std::unique_ptr< cudf::column > | release () |
Releases internal unique_ptr to wrapped column. More... | |
Additional Inherited Members | |
Protected Attributes inherited from cudf::test::detail::column_wrapper | |
std::unique_ptr< cudf::column > | wrapped {} |
The wrapped column. | |
column_wrapper
derived class for wrapping columns of structs.
Definition at line 1821 of file column_wrapper.hpp.
|
inline |
Constructs a struct column from the specified list of pre-constructed child columns.
The child columns are "adopted" by the struct column constructed here.
Example usage:
child_columns | The vector of pre-constructed child columns |
validity | The vector of bools representing the column validity values |
Definition at line 1850 of file column_wrapper.hpp.
|
inline |
Constructs a struct column from the list of column wrappers for child columns.
Example usage:
child_column_wrappers | The list of child column wrappers |
validity | The vector of bools representing the column validity values |
Definition at line 1876 of file column_wrapper.hpp.
|
inline |
Constructs a struct column from the list of column wrappers for child columns.
Example usage:
child_column_wrappers | The list of child column wrappers |
validity_iter | Iterator returning the per-row validity bool |
Definition at line 1913 of file column_wrapper.hpp.