libcudf  24.02.00
row_conversion.hpp
1 /*
2  * Copyright (c) 2022-2023, 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 <memory>
20 
24 #include <rmm/cuda_stream_view.hpp>
25 
26 namespace cudf {
28 
29 std::vector<std::unique_ptr<cudf::column>> convert_to_rows_fixed_width_optimized(
30  cudf::table_view const& tbl,
31  // TODO need something for validity
34 
35 std::vector<std::unique_ptr<cudf::column>> convert_to_rows(
36  cudf::table_view const& tbl,
37  // TODO need something for validity
40 
41 std::unique_ptr<cudf::table> convert_from_rows_fixed_width_optimized(
42  cudf::lists_column_view const& input,
43  std::vector<cudf::data_type> const& schema,
46 
47 std::unique_ptr<cudf::table> convert_from_rows(
48  cudf::lists_column_view const& input,
49  std::vector<cudf::data_type> const& schema,
52 
54 } // namespace cudf
Given a column-view of lists type, an instance of this class provides a wrapper on this compound colu...
A set of cudf::column_view's of the same size.
Definition: table_view.hpp:187
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
device_memory_resource * get_current_device_resource()
Class definition for cudf::lists_column_view.
cuDF interfaces
Definition: aggregation.hpp:34
Class definitions for (mutable)_table_view