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...
 

Detailed Description

Performs a relational comparison between two elements in two tables.

Definition at line 100 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 110 of file primitive_row_operators.cuh.

Member Function Documentation

◆ operator()()

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 127 of file primitive_row_operators.cuh.


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