A set of cudf::column's of the same size.
More...
#include <table.hpp>
A set of cudf::column's of the same size.
Definition at line 38 of file table.hpp.
◆ table() [1/2]
cudf::table::table |
( |
std::vector< std::unique_ptr< column >> && |
columns | ) |
|
Moves the contents from a vector of unique_ptr
s to columns to construct a new table.
- Parameters
-
columns | The vector of unique_ptr s to columns whose contents will be moved into the new table. |
◆ table() [2/2]
Copy the contents of a table_view
to construct a new table
.
- Parameters
-
view | The view whose contents will be copied to create a new table |
stream | CUDA stream used for device memory operations. |
mr | Device memory resource used for allocating the device memory for the new columns |
◆ get_column() [1/2]
column& cudf::table::get_column |
( |
cudf::size_type |
column_index | ) |
|
|
inline |
Returns a reference to the specified column.
- Exceptions
-
std::out_of_range | If i is out of the range [0, num_columns) |
- Parameters
-
i | Index of the desired column |
- Returns
- A reference to the desired column
Definition at line 134 of file table.hpp.
◆ get_column() [2/2]
column const& cudf::table::get_column |
( |
cudf::size_type |
i | ) |
const |
|
inline |
Returns a const reference to the specified column.
- Exceptions
-
std::out_of_range | If i is out of the range [0, num_columns) |
- Parameters
-
i | Index of the desired column |
- Returns
- A const reference to the desired column
Definition at line 145 of file table.hpp.
◆ release()
std::vector<std::unique_ptr<column> > cudf::table::release |
( |
| ) |
|
◆ select()
table_view cudf::table::select |
( |
std::vector< cudf::size_type > const & |
column_indices | ) |
const |
Returns a table_view with set of specified columns.
- Exceptions
-
std::out_of_range | If any element in column_indices is outside [0, num_columns()) |
- Parameters
-
column_indices | Indices of columns in the table |
- Returns
- A table_view consisting of columns from the original table specified by the elements of
column_indices
The documentation for this class was generated from the following file: