12 #include <cudf/utilities/export.hpp>
19 namespace CUDF_EXPORT
cudf {
20 namespace io::experimental {
32 class cudftable_writer_options_builder;
50 : _sink(std::move(sink)), _table(std::move(
table))
99 : _options(sink,
table)
121 class cudftable_reader_options_builder;
Class to build cudftable_reader_options.
cudftable_reader_options_builder(source_info src)
Constructor from source info.
cudftable_reader_options build() const
Build cudftable_reader_options.
Settings for read_cudftable().
void set_source(source_info src)
Sets source info.
static cudftable_reader_options_builder builder(source_info src=source_info{})
Creates a cudftable_reader_options_builder to build cudftable_reader_options.
source_info const & get_source() const noexcept
Returns source info.
Class to build cudftable_writer_options.
cudftable_writer_options_builder(sink_info const &sink, table_view const &table)
Constructor from sink and table.
cudftable_writer_options build() const
Build cudftable_writer_options.
Settings for write_cudftable().
static cudftable_writer_options_builder builder(sink_info const &sink, table_view const &table)
Create builder to create cudftable_writer_options.
sink_info const & get_sink() const noexcept
Returns sink used for writer output.
table_view const & get_table() const noexcept
Returns table that would be written to output.
void set_sink(sink_info sink)
Sets sink info.
A set of cudf::column_view's of the same size.
A set of cudf::column's of the same size.
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
packed_table read_cudftable(cudftable_reader_options const &options, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
Read a table in CudfTable binary format.
void write_cudftable(cudftable_writer_options const &options, rmm::cuda_stream_view stream=cudf::get_default_stream())
Write a table using the CudfTable binary format.
rmm::device_async_resource_ref get_current_device_resource_ref()
Get the current device memory resource reference.
detail::cccl_async_resource_ref< cuda::mr::resource_ref< cuda::mr::device_accessible > > device_async_resource_ref
cuDF-IO API type definitions
Packed table and column types for serialization.
Destination information for write interfaces.
Source information for read interfaces.
A table with its data stored in a contiguous, serialized format.
Class definition for cudf::table.