Performs a relational comparison between two elements in two columns.
More...
|
| element_relational_comparator (Nullate has_nulls, column_device_view lhs, column_device_view rhs, null_order null_precedence) |
| Construct type-dispatched function object for performing a relational comparison between two elements. More...
|
|
| element_relational_comparator (Nullate has_nulls, column_device_view lhs, column_device_view rhs) |
|
template<typename Element , std::enable_if_t< cudf::is_relationally_comparable< Element, Element >()> * = nullptr> |
weak_ordering | operator() (size_type lhs_element_index, size_type rhs_element_index) const noexcept |
| Performs a relational comparison between the specified elements. More...
|
|
template<typename Element , std::enable_if_t< not cudf::is_relationally_comparable< Element, Element >()> * = nullptr> |
weak_ordering | operator() (size_type lhs_element_index, size_type rhs_element_index) |
|
template<typename Nullate>
class cudf::element_relational_comparator< Nullate >
Performs a relational comparison between two elements in two columns.
- Template Parameters
-
Definition at line 267 of file row_operators.cuh.
◆ element_relational_comparator()
template<typename Nullate >
Construct type-dispatched function object for performing a relational comparison between two elements.
- Note
lhs
and rhs
may be the same.
- Parameters
-
lhs | The column containing the first element |
rhs | The column containing the second element (may be the same as lhs) |
has_nulls | Indicates if either input column contains nulls. |
null_precedence | Indicates how null values are ordered with other values |
Definition at line 280 of file row_operators.cuh.
◆ operator()()
template<typename Nullate >
template<typename Element , std::enable_if_t< cudf::is_relationally_comparable< Element, Element >()> * = nullptr>
Performs a relational comparison between the specified elements.
- Parameters
-
lhs_element_index | The index of the first element |
rhs_element_index | The index of the second element |
- Returns
- Indicates the relationship between the elements in the
lhs
and rhs
columns.
Definition at line 305 of file row_operators.cuh.
The documentation for this class was generated from the following file: