10 #include <cudf/io/experimental/variant_spec.hpp>
15 #include <cuda/stream>
19 #include <string_view>
26 namespace CUDF_EXPORT
cudf {
27 namespace io::parquet::experimental {
69 std::string_view path,
70 std::optional<mutable_column_view> status = std::nullopt,
105 std::optional<mutable_column_view> status = std::nullopt,
132 std::string_view path,
134 std::optional<mutable_column_view> status = std::nullopt,
A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
Indicator for the logical data type of an element in a column.
Class definition for cudf::column.
column view class definitions
APIs for querying the default CUDA stream and per-thread default stream status.
cuda::stream_ref const get_default_stream()
Get the current default stream.
std::unique_ptr< column > extract_variant_field(column_view const &variant_column, std::string_view path, data_type desired_type, std::optional< mutable_column_view > status=std::nullopt, cuda::stream_ref stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
Convenience wrapper: extract a nested object value by path and decode into a typed column.
std::unique_ptr< column > get_variant_field(column_view const &variant_column, std::string_view path, std::optional< mutable_column_view > status=std::nullopt, cuda::stream_ref stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
Extract the raw VARIANT-encoded bytes of a nested field by JSONPath-like path.
std::unique_ptr< column > cast_variant(column_view const &values, data_type desired_type, std::optional< mutable_column_view > status=std::nullopt, cuda::stream_ref stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
Decode a VARIANT value column's blobs into a typed cuDF column.
std::unique_ptr< column > get_variant_type_id(column_view const &values, cuda::stream_ref stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
Return the logical type of each VARIANT value blob in a list<uint8> column.
rmm::device_async_resource_ref get_current_device_resource_ref()
Get the current device memory resource reference.
cuda::mr::resource_ref< cuda::mr::device_accessible > device_async_resource_ref
APIs for getting and setting the current device memory resource.
Type declarations for libcudf.