Computes the hash value of an element in the given column. More...
Public Member Functions | |
| element_hasher (Nullate nulls, uint32_t seed=DEFAULT_HASH_SEED, hash_value_type null_hash=cuda::std::numeric_limits< hash_value_type >::max()) noexcept | |
| Constructs an element_hasher object. More... | |
| template<typename T , CUDF_ENABLE_IF(column_device_view::has_element_accessor< T >()) > | |
| hash_value_type | operator() (column_device_view const &col, size_type row_index) const noexcept |
| Returns the hash value of the given element. More... | |
| template<typename T , CUDF_ENABLE_IF(not column_device_view::has_element_accessor< T >()) > | |
| hash_value_type | operator() (column_device_view const &col, size_type row_index) const noexcept |
| Returns the hash value of the given element. More... | |
Public Attributes | |
| Nullate | _check_nulls |
| Whether to check for nulls. | |
| uint32_t | _seed |
| The seed to use for hashing. | |
| hash_value_type | _null_hash |
| Hash value to use for null elements. | |
Computes the hash value of an element in the given column.
| hash_function | Hash functor to use for hashing elements. |
| Nullate | A cudf::nullate type describing whether to check for nulls. |
Definition at line 1874 of file experimental/row_operators.cuh.
|
inlinenoexcept |
Constructs an element_hasher object.
| nulls | Indicates whether to check for nulls |
| seed | The seed to use for the hash function |
| null_hash | The hash value to use for nulls |
Definition at line 1883 of file experimental/row_operators.cuh.
|
inlinenoexcept |
Returns the hash value of the given element.
| T | The type of the element to hash |
| col | The column to hash |
| row_index | The index of the row to hash |
Definition at line 1900 of file experimental/row_operators.cuh.
|
inlinenoexcept |
Returns the hash value of the given element.
| T | The type of the element to hash |
| col | The column to hash |
| row_index | The index of the row to hash |
Definition at line 1916 of file experimental/row_operators.cuh.