|
__host__ __device__ | element_relational_comparator (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...
|
|
template<typename Element , std::enable_if_t< cudf::is_relationally_comparable< Element, Element >()> * = nullptr> |
__device__ 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> |
__device__ weak_ordering | operator() (size_type lhs_element_index, size_type rhs_element_index) |
|
template<bool has_nulls = true>
class cudf::element_relational_comparator< has_nulls >
Performs a relational comparison between two elements in two columns.
- Template Parameters
-
has_nulls | Indicates the potential for null values in either column. |
Definition at line 236 of file row_operators.cuh.
template<bool has_nulls = true>
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 |
null_precedence | Indicates how null values are ordered with other values |
- Returns
- weak_ordering Indicates the relationship between the elements in the
lhs
and rhs
columns.
Definition at line 268 of file row_operators.cuh.