Files | Classes | Functions
Data Sources

Files

file  datasource.hpp
 

Classes

class  cudf::io::datasource
 Interface class for providing input data to the readers. More...
 
class  cudf::io::external::kafka::kafka_consumer
 libcudf datasource for Apache Kafka More...
 

Functions

std::vector< std::unique_ptr< cudf::io::datasource > > cudf::io::make_datasources (source_info const &info, size_t offset=0, size_t max_size_estimate=0)
 Constructs datasources from dataset source information. More...
 

Detailed Description

Function Documentation

◆ make_datasources()

std::vector<std::unique_ptr<cudf::io::datasource> > cudf::io::make_datasources ( source_info const &  info,
size_t  offset = 0,
size_t  max_size_estimate = 0 
)

Constructs datasources from dataset source information.

Parameters
infoDataset source information
offsetStarting byte offset from which data will be read (default zero)
max_size_estimateUpper estimate of the data range that will be read (default zero, which means the entire file after offset)
Returns
Constructed vector of datasource objects