Computes the hash value of an element in the given column.
More...
template<template< typename > class hash_function, typename Nullate>
class cudf::element_hasher< hash_function, Nullate >
Computes the hash value of an element in the given column.
- Deprecated:
- This class is deprecated as of 25.10 and will be removed in 25.12. Use
cudf::detail::row::hash::element_hasher
instead.
- Template Parameters
-
hash_function | Hash functor to use for hashing elements. |
Nullate | A cudf::nullate type describing how to check for nulls. |
Definition at line 441 of file row_operators.cuh.
◆ operator()() [1/2]
template<template< typename > class hash_function, typename Nullate >
template<typename T , CUDF_ENABLE_IF(column_device_view::has_element_accessor< T >()) >
Returns the hash value of the given element in the given column.
- Template Parameters
-
T | The type of the element to hash |
- Parameters
-
col | The column to hash |
row_index | The index of the row to hash |
- Returns
- The hash value of the given element
Definition at line 452 of file row_operators.cuh.
◆ operator()() [2/2]
template<template< typename > class hash_function, typename Nullate >
template<typename T , CUDF_ENABLE_IF(not column_device_view::has_element_accessor< T >()) >
Returns the hash value of the given element in the given column.
- Template Parameters
-
T | The type of the element to hash |
- Parameters
-
col | The column to hash |
row_index | The index of the row to hash |
- Returns
- The hash value of the given element
Definition at line 469 of file row_operators.cuh.
The documentation for this class was generated from the following file: