deletion_vectors.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2025, NVIDIA CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #pragma once
18 
19 #include <cudf/io/parquet.hpp>
20 #include <cudf/io/types.hpp>
21 #include <cudf/types.hpp>
22 #include <cudf/utilities/export.hpp>
23 
24 namespace CUDF_EXPORT cudf {
25 namespace io::parquet::experimental {
56  parquet_reader_options const& options,
57  cudf::host_span<cuda::std::byte const> serialized_roaring64,
58  cudf::host_span<size_t const> row_group_offsets,
59  cudf::host_span<size_type const> row_group_num_rows,
62  // end of group
64 
65 } // namespace io::parquet::experimental
66 } // namespace CUDF_EXPORT cudf
Settings for read_parquet().
Definition: parquet.hpp:78
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
table_with_metadata read_parquet_and_apply_deletion_vector(parquet_reader_options const &options, cudf::host_span< cuda::std::byte const > serialized_roaring64, cudf::host_span< size_t const > row_group_offsets, cudf::host_span< size_type const > row_group_num_rows, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource_ref())
Reads a table from parquet source, prepends an index column to it, deserializes the roaring64 deletio...
device_async_resource_ref get_current_device_resource_ref()
detail::cccl_async_resource_ref< cuda::mr::async_resource_ref< cuda::mr::device_accessible > > device_async_resource_ref
cuDF-IO API type definitions
cuDF interfaces
Definition: host_udf.hpp:37
C++20 std::span with reduced feature set.
Definition: span.hpp:194
Table with table metadata used by io readers to return the metadata by value.
Definition: io/types.hpp:303
Type declarations for libcudf.