11 #include <cudf/utilities/export.hpp>
24 namespace CUDF_EXPORT
cudf {
33 class sort_merge_join;
87 std::pair<std::unique_ptr<rmm::device_uvector<size_type>>,
88 std::unique_ptr<rmm::device_uvector<size_type>>>
110 "The is_left_sorted parameter is ignored; use inner_join(left, stream, mr) "
111 "instead.")]] std::pair<std::unique_ptr<rmm::device_uvector<size_type>>,
112 std::unique_ptr<rmm::device_uvector<size_type>>>
133 std::pair<std::unique_ptr<rmm::device_uvector<size_type>>,
134 std::unique_ptr<rmm::device_uvector<size_type>>>
156 "The is_left_sorted parameter is ignored; use left_join(left, stream, mr) "
157 "instead.")]] std::pair<std::unique_ptr<rmm::device_uvector<size_type>>,
158 std::unique_ptr<rmm::device_uvector<size_type>>>
207 "The is_left_sorted parameter is ignored; use inner_join_match_context(left, "
208 "stream, mr) instead.")]] std::unique_ptr<join_match_context>
267 std::pair<std::unique_ptr<rmm::device_uvector<size_type>>,
268 std::unique_ptr<rmm::device_uvector<size_type>>>
275 using impl_type = cudf::detail::sort_merge_join;
276 std::unique_ptr<impl_type const> _impl;
Class that implements sort-merge algorithm for table joins.
std::pair< std::unique_ptr< rmm::device_uvector< size_type > >, std::unique_ptr< rmm::device_uvector< size_type > > > left_join(table_view const &left, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) const
Returns the row indices that can be used to construct the result of performing a left join between th...
std::pair< std::unique_ptr< rmm::device_uvector< size_type > >, std::unique_ptr< rmm::device_uvector< size_type > > > inner_join(table_view const &left, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) const
Returns the row indices that can be used to construct the result of performing an inner join between ...
std::pair< std::unique_ptr< rmm::device_uvector< size_type > >, std::unique_ptr< rmm::device_uvector< size_type > > > inner_join(table_view const &left, sorted is_left_sorted, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) const
Returns the row indices that can be used to construct the result of performing an inner join between ...
std::unique_ptr< join_match_context > inner_join_match_context(table_view const &left, sorted is_left_sorted, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) const
Returns context information about matches between the left and right tables.
std::pair< std::unique_ptr< rmm::device_uvector< size_type > >, std::unique_ptr< rmm::device_uvector< size_type > > > partitioned_inner_join(cudf::join_partition_context const &context, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) const
Performs an inner join between a partition of the left table and the right table.
std::pair< std::unique_ptr< rmm::device_uvector< size_type > >, std::unique_ptr< rmm::device_uvector< size_type > > > left_join(table_view const &left, sorted is_left_sorted, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) const
Returns the row indices that can be used to construct the result of performing a left join between th...
std::unique_ptr< join_match_context > inner_join_match_context(table_view const &left, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) const
Returns context information about matches between the left and right tables.
sort_merge_join(table_view const &right, sorted is_right_sorted, null_equality compare_nulls=null_equality::EQUAL, rmm::cuda_stream_view stream=cudf::get_default_stream())
Construct a sort-merge join object that pre-processes the right table on creation,...
A set of cudf::column_view's of the same size.
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
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
null_equality
Enum to consider two nulls as equal or unequal.
sorted
Indicates whether a collection of values is known to be sorted.
Common types and utilities shared by cuDF's join APIs.
APIs for getting and setting the current device memory resource.
Stores context information for partitioned join operations.
Class definitions for (mutable)_table_view
Type declarations for libcudf.