Performs an equality comparison between two elements in two columns. More...
Public Member Functions | |
element_equality_comparator (Nullate has_nulls, column_device_view lhs, column_device_view rhs, null_equality nulls_are_equal=null_equality::EQUAL) | |
Construct type-dispatched function object for comparing equality between two elements. More... | |
template<typename Element , std::enable_if_t< cudf::is_equality_comparable< Element, Element >()> * = nullptr> | |
bool | operator() (size_type lhs_element_index, size_type rhs_element_index) const noexcept |
Compares the specified elements for equality. More... | |
Performs an equality comparison between two elements in two columns.
Nullate | A cudf::nullate type describing how to check for nulls. |
Definition at line 162 of file row_operators.cuh.
|
inline |
Construct type-dispatched function object for comparing equality between two elements.
lhs
and rhs
may be the same.has_nulls | Indicates if either input column contains nulls. |
lhs | The column containing the first element |
rhs | The column containing the second element (may be the same as lhs) |
nulls_are_equal | Indicates if two null elements are treated as equivalent |
Definition at line 176 of file row_operators.cuh.
|
inlinenoexcept |
Compares the specified elements for equality.
lhs_element_index | The index of the first element |
rhs_element_index | The index of the second element |
nulls_are_equal
is true, or equal Definition at line 193 of file row_operators.cuh.