libcudf  24.02.00
type_checks.hpp
1 /*
2  * Copyright (c) 2021-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 #pragma once
17 
19 
20 namespace cudf {
21 
37 bool column_types_equal(column_view const& lhs, column_view const& rhs);
38 
48 bool column_types_equivalent(column_view const& lhs, column_view const& rhs);
49 
50 } // namespace cudf
A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
column view class definitions
cuDF interfaces
Definition: aggregation.hpp:34
bool column_types_equivalent(column_view const &lhs, column_view const &rhs)
Compare the type IDs of two column_views This function returns true if the type of lhs equals that of...
bool column_types_equal(column_view const &lhs, column_view const &rhs)
Compares the type of two column_views.