12 #include <cudf/utilities/export.hpp>
26 namespace CUDF_EXPORT
cudf {
37 class distinct_hash_join;
74 double load_factor = 0.5,
89 [[nodiscard]] std::pair<std::unique_ptr<rmm::device_uvector<size_type>>,
90 std::unique_ptr<rmm::device_uvector<size_type>>>
112 [[nodiscard]] std::unique_ptr<rmm::device_uvector<size_type>>
left_join(
118 using impl_type = cudf::detail::distinct_hash_join;
120 std::unique_ptr<impl_type> _impl;
Distinct hash join that builds a hash table with the right table on construction and probes results i...
distinct_hash_join(cudf::table_view const &right, null_equality compare_nulls=null_equality::EQUAL, double load_factor=0.5, rmm::cuda_stream_view stream=cudf::get_default_stream())
Constructs a distinct hash join object for subsequent probe calls.
std::unique_ptr< rmm::device_uvector< size_type > > left_join(cudf::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 right table indices that can be used to construct the result of performing a left join be...
std::pair< std::unique_ptr< rmm::device_uvector< size_type > >, std::unique_ptr< rmm::device_uvector< size_type > > > inner_join(cudf::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 ...
A set of cudf::column_view's of the same size.
APIs for querying the default CUDA stream and per-thread default stream status.
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.
APIs for computing hash values of columns and tables using various hash algorithms.
APIs for getting and setting the current device memory resource.
Class definitions for (mutable)_table_view
Type declarations for libcudf.