Source information for read interfaces.
More...
#include <types.hpp>
Source information for read interfaces.
Definition at line 294 of file io/types.hpp.
◆ source_info() [1/10]
cudf::io::source_info::source_info |
( |
std::vector< std::string > const & |
file_paths | ) |
|
|
inlineexplicit |
Construct a new source info object for multiple files.
- Parameters
-
file_paths | Input files paths |
Definition at line 302 of file io/types.hpp.
◆ source_info() [2/10]
cudf::io::source_info::source_info |
( |
std::string const & |
file_path | ) |
|
|
inlineexplicit |
Construct a new source info object for a single file.
- Parameters
-
file_path | Single input file |
Definition at line 312 of file io/types.hpp.
◆ source_info() [3/10]
cudf::io::source_info::source_info |
( |
std::vector< host_buffer > const & |
host_buffers | ) |
|
|
inlineexplicit |
Construct a new source info object for multiple buffers in host memory.
- Deprecated:
- Since 23.04
- Parameters
-
host_buffers | Input buffers in host memory |
Definition at line 324 of file io/types.hpp.
◆ source_info() [4/10]
cudf::io::source_info::source_info |
( |
char const * |
host_data, |
|
|
size_t |
size |
|
) |
| |
|
inlineexplicit |
Construct a new source info object for a single buffer.
- Deprecated:
- Since 23.04
- Parameters
-
host_data | Input buffer in host memory |
size | Size of the buffer |
Definition at line 344 of file io/types.hpp.
◆ source_info() [5/10]
template<typename T , CUDF_ENABLE_IF(is_byte_like_type< std::remove_cv_t< T >>()) >
Construct a new source info object for multiple buffers in host memory.
- Parameters
-
host_buffers | Input buffers in host memory |
Definition at line 357 of file io/types.hpp.
◆ source_info() [6/10]
template<typename T , CUDF_ENABLE_IF(is_byte_like_type< std::remove_cv_t< T >>()) >
Construct a new source info object for a single buffer.
- Parameters
-
host_data | Input buffer in host memory |
Definition at line 380 of file io/types.hpp.
◆ source_info() [7/10]
Construct a new source info object for multiple buffers in device memory.
- Parameters
-
device_buffers | Input buffers in device memory |
Definition at line 392 of file io/types.hpp.
◆ source_info() [8/10]
Construct a new source info object from a device buffer.
- Parameters
-
d_buffer | Input buffer in device memory |
Definition at line 402 of file io/types.hpp.
◆ source_info() [9/10]
Construct a new source info object for multiple user-implemented sources.
- Parameters
-
sources | User-implemented input sources |
Definition at line 412 of file io/types.hpp.
◆ source_info() [10/10]
Construct a new source info object for a single user-implemented source.
- Parameters
-
source | Single user-implemented Input source |
Definition at line 422 of file io/types.hpp.
◆ device_buffers()
auto const& cudf::io::source_info::device_buffers |
( |
| ) |
const |
|
inline |
Get the device buffers of the input.
- Returns
- The device buffers of the input
Definition at line 450 of file io/types.hpp.
◆ filepaths()
auto const& cudf::io::source_info::filepaths |
( |
| ) |
const |
|
inline |
Get the filepaths of the input.
- Returns
- The filepaths of the input
Definition at line 438 of file io/types.hpp.
◆ host_buffers()
auto const& cudf::io::source_info::host_buffers |
( |
| ) |
const |
|
inline |
Get the host buffers of the input.
- Returns
- The host buffers of the input
Definition at line 444 of file io/types.hpp.
◆ type()
auto cudf::io::source_info::type |
( |
| ) |
const |
|
inline |
Get the type of the input.
- Returns
- The type of the input
Definition at line 432 of file io/types.hpp.
◆ user_sources()
auto const& cudf::io::source_info::user_sources |
( |
| ) |
const |
|
inline |
Get the user sources of the input.
- Returns
- The user sources of the input
Definition at line 456 of file io/types.hpp.
The documentation for this struct was generated from the following file: