Performs an equality comparison between two elements in two columns.
More...
template<typename Nullate>
class cudf::element_equality_comparator< Nullate >
Performs an equality comparison between two elements in two columns.
- Template Parameters
-
Definition at line 165 of file row_operators.cuh.
◆ element_equality_comparator()
template<typename Nullate >
Construct type-dispatched function object for comparing equality between two elements.
- Note
lhs
and rhs
may be the same.
- Parameters
-
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 179 of file row_operators.cuh.
◆ operator()()
template<typename Nullate >
template<typename Element , std::enable_if_t< cudf::is_equality_comparable< Element, Element >()> * = nullptr>
Compares the specified elements for equality.
- Parameters
-
lhs_element_index | The index of the first element |
rhs_element_index | The index of the second element |
- Returns
- True if both lhs and rhs element are both nulls and
nulls_are_equal
is true, or equal
Definition at line 196 of file row_operators.cuh.
The documentation for this class was generated from the following file: