A set of cudf::column_view's of the same size.
More...
#include <table_view.hpp>
|
using | ColumnView = column_view |
| The type of column view the table contains.
|
|
using | iterator = decltype(std::begin(_columns)) |
| Iterator type for the table.
|
|
using | const_iterator = decltype(std::cbegin(_columns)) |
| const iterator type for the table
|
|
A set of cudf::column_view's of the same size.
All public member functions and constructors are inherited from table_view_base<column_view>
.
Definition at line 187 of file table_view.hpp.
◆ table_view()
cudf::table_view::table_view |
( |
std::vector< table_view > const & |
views | ) |
|
Construct a table from a vector of table views.
- Note
- Because a
std::vector
is constructible from a std::initializer_list
, this constructor also supports the following usage: table_view t0, t1, t2;
...
table_view t{{t0,t1,t2}};
t0, t1, t2
- Exceptions
-
- Parameters
-
views | The vector of table views to construct the table from |
◆ select() [1/2]
template<typename InputIterator >
table_view cudf::table_view::select |
( |
InputIterator |
begin, |
|
|
InputIterator |
end |
|
) |
| const |
|
inline |
Returns a table_view built from a range of column indices.
- Exceptions
-
- Parameters
-
begin | Beginning of the range |
end | Ending of the range |
- Returns
- A table_view consisting of columns from the original table specified by the elements of
column_indices
Definition at line 227 of file table_view.hpp.
◆ select() [2/2]
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: