33 namespace CUDF_EXPORT
cudf {
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(table const &other, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
Construct a new table by copying the contents of another table.
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::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
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.
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.
rmm::device_async_resource_ref get_current_device_resource_ref()
Get the current device memory resource reference.
cuda::mr::async_resource_ref< cuda::mr::device_accessible > device_async_resource_ref
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