Base class for a device table of ColumnDeviceView
s.
More...
template<typename ColumnDeviceView, typename HostTableView>
class cudf::detail::table_device_view_base< ColumnDeviceView, HostTableView >
Base class for a device table of ColumnDeviceView
s.
This class should not be used directly. Instead:
All public constructors and member functions of table_device_view_base
are available in both table_device_view
and mutable_table_device_view
.
- Template Parameters
-
Definition at line 57 of file table_device_view.cuh.
◆ table_device_view_base()
template<typename ColumnDeviceView , typename HostTableView >
Construct a new table device view base object from host table_view.
- Parameters
-
source_view | The host table_view to create table device view from |
stream | The CUDA stream to use for device memory allocation |
◆ begin()
template<typename ColumnDeviceView , typename HostTableView >
Returns an iterator to the first view in the table
.
- Returns
- An iterator to the first view in the
table
Definition at line 81 of file table_device_view.cuh.
◆ column() [1/2]
template<typename ColumnDeviceView , typename HostTableView >
Returns a reference to the view of the specified column.
- Parameters
-
column_index | The index of the desired column |
- Returns
- A reference to the desired column
Definition at line 99 of file table_device_view.cuh.
◆ column() [2/2]
template<typename ColumnDeviceView , typename HostTableView >
Returns a reference to the view of the specified column.
- Parameters
-
column_index | The index of the desired column |
- Returns
- A reference to the desired column
Definition at line 112 of file table_device_view.cuh.
◆ destroy()
template<typename ColumnDeviceView , typename HostTableView >
Destroy the table_device_view
object.
- Note
- Does not free the table data, simply frees the device memory allocated to hold the constituent column views.
◆ end()
template<typename ColumnDeviceView , typename HostTableView >
Returns an iterator one past the last column view in the table
.
end()
acts as a place holder. Attempting to dereference it results in undefined behavior.
- Returns
- An iterator to one past the last column view in the
table
Definition at line 91 of file table_device_view.cuh.
◆ num_columns()
template<typename ColumnDeviceView , typename HostTableView >
◆ num_rows()
template<typename ColumnDeviceView , typename HostTableView >
◆ operator=() [1/2]
template<typename ColumnDeviceView , typename HostTableView >
Move assignment operator.
- Returns
- Reference to this object (after transferring ownership)
◆ operator=() [2/2]
template<typename ColumnDeviceView , typename HostTableView >
Copy assignment operator.
- Returns
- Reference to this object
The documentation for this class was generated from the following file: