Public Member Functions | List of all members
cudf::row::primitive::row_equality_comparator Class Reference

Performs a relational comparison between two elements in two tables. More...

Public Member Functions

 row_equality_comparator (cudf::nullate::DYNAMIC const &has_nulls, std::shared_ptr< cudf::experimental::row::equality::preprocessed_table > lhs, std::shared_ptr< cudf::experimental::row::equality::preprocessed_table > rhs, null_equality nulls_are_equal)
 Construct a new row equality comparator object. More...
 
bool operator() (size_type lhs_row_index, size_type rhs_row_index) const
 Compares the specified rows for equality. More...
 
bool operator() (cudf::experimental::row::lhs_index_type lhs_index, cudf::experimental::row::rhs_index_type rhs_index) const
 Compares the specified rows for equality. More...
 

Detailed Description

Performs a relational comparison between two elements in two tables.

Deprecated:
This class is deprecated in 25.10 and will be removed in 25.12. Users should use cudf/detail/row_operator/primitive_row_operators.cuh instead.

Definition at line 124 of file primitive_row_operators.cuh.

Constructor & Destructor Documentation

◆ row_equality_comparator()

cudf::row::primitive::row_equality_comparator::row_equality_comparator ( cudf::nullate::DYNAMIC const &  has_nulls,
std::shared_ptr< cudf::experimental::row::equality::preprocessed_table lhs,
std::shared_ptr< cudf::experimental::row::equality::preprocessed_table rhs,
null_equality  nulls_are_equal 
)
inline

Construct a new row equality comparator object.

Parameters
has_nullsIndicates if either input column contains nulls
lhsPreprocessed table containing the first element
rhsPreprocessed table containing the second element (may be the same as lhs)
nulls_are_equalIndicates if two null elements are treated as equivalent

Definition at line 134 of file primitive_row_operators.cuh.

Member Function Documentation

◆ operator()() [1/2]

bool cudf::row::primitive::row_equality_comparator::operator() ( cudf::experimental::row::lhs_index_type  lhs_index,
cudf::experimental::row::rhs_index_type  rhs_index 
) const
inline

Compares the specified rows for equality.

Parameters
lhs_indexThe index of the first row to compare (in the lhs table)
rhs_indexThe index of the second row to compare (in the rhs table)
Returns
Boolean indicating if both rows are equal

Definition at line 182 of file primitive_row_operators.cuh.

◆ operator()() [2/2]

bool cudf::row::primitive::row_equality_comparator::operator() ( size_type  lhs_row_index,
size_type  rhs_row_index 
) const
inline

Compares the specified rows for equality.

Parameters
lhs_row_indexThe index of the first row to compare (in the lhs table)
rhs_row_indexThe index of the second row to compare (in the rhs table)
Returns
true if both rows are equal, otherwise false

Definition at line 151 of file primitive_row_operators.cuh.


The documentation for this class was generated from the following file: