libcudf
23.12.00
|
Function object for computing the hash value of a row in a column. More...
Public Member Functions | |
element_hasher_with_seed (Nullate has_nulls, uint32_t seed) | |
Constructs a function object for hashing an element in the given column. More... | |
element_hasher_with_seed (Nullate has_nulls, uint32_t seed, hash_value_type null_hash) | |
Constructs a function object for hashing an element in the given column. More... | |
template<typename T , CUDF_ENABLE_IF(column_device_view::has_element_accessor< T >()) > | |
hash_value_type | operator() (column_device_view col, size_type row_index) const |
Returns the hash value of the given element in the given column. More... | |
template<typename T , CUDF_ENABLE_IF(not column_device_view::has_element_accessor< T >()) > | |
hash_value_type | operator() (column_device_view col, size_type row_index) const |
Returns the hash value of the given element in the given column. More... | |
Function object for computing the hash value of a row in a column.
hash_function | Hash functor to use for hashing elements |
Nullate | A cudf::nullate type describing how to check for nulls |
Definition at line 501 of file row_operators.cuh.
|
inline |
Constructs a function object for hashing an element in the given column.
has_nulls | Indicates if either input column contains nulls |
seed | The seed to use for the hash function |
Definition at line 509 of file row_operators.cuh.
|
inline |
Constructs a function object for hashing an element in the given column.
has_nulls | Indicates if either input column contains nulls |
seed | The seed to use for the hash function |
null_hash | The hash value to use for null elements |
Definition at line 521 of file row_operators.cuh.
|
inline |
Returns the hash value of the given element in the given column.
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 535 of file row_operators.cuh.
|
inline |
Returns the hash value of the given element in the given column.
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 550 of file row_operators.cuh.