68 table(std::vector<std::unique_ptr<column>>&& columns);
131 std::vector<std::unique_ptr<column>>
release();
145 template <
typename InputIterator>
150 begin, end, columns.begin(), [
this](
auto index) { return _columns.at(index)->view(); });
166 return select(column_indices.begin(), column_indices.end());
192 std::vector<std::unique_ptr<column>> _columns{};
A container of nullable device data as a column of elements.
A set of mutable_column_views of the same size.
A set of cudf::column_view's of the same size.
A set of cudf::column's of the same size.
mutable_table_view mutable_view()
Returns a mutable, non-owning mutable_table_view of the contents of this table.
std::vector< std::unique_ptr< column > > release()
Releases ownership of the columns by returning a vector of unique_ptrs to the constituent columns.
table_view select(std::vector< cudf::size_type > const &column_indices) const
Returns a table_view with set of specified columns.
column const & get_column(cudf::size_type i) const
Returns a const reference to the specified column.
table_view view() const
Returns an immutable, non-owning table_view of the contents of this table.
table(std::vector< std::unique_ptr< column >> &&columns)
Moves the contents from a vector of unique_ptrs to columns to construct a new table.
size_type num_rows() const noexcept
Returns the number of rows.
table(table &&)=default
Move constructor.
table_view select(InputIterator begin, InputIterator end) const
Returns a table_view built from a range of column indices.
table(table_view view, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Copy the contents of a table_view to construct a new table.
size_type num_columns() const noexcept
Returns the number of columns in the table.
table(table const &other, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Construct a new table by copying the contents of another table.
column & get_column(cudf::size_type column_index)
Returns a reference to the specified column.
Class definition for cudf::column.
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
device_memory_resource * get_current_device_resource()
int32_t size_type
Row index type for columns and tables.
size_type distance(T f, T l)
Similar to std::distance but returns cudf::size_type and performs static_cast
Class definitions for (mutable)_table_view