Computes the hash value of a row in the given table. More...
Public Member Functions | |
CUDF_HOST_DEVICE | row_hasher (Nullate has_nulls, table_device_view t) |
Constructs a row_hasher object. More... | |
CUDF_HOST_DEVICE | row_hasher (Nullate has_nulls, table_device_view t, uint32_t seed) |
Constructs a row_hasher object with a seed value. More... | |
auto | operator() (size_type row_index) const |
Computes the hash value of the row at row_index in the table More... | |
Computes the hash value of a row in the given table.
hash_function | Hash functor to use for hashing elements. |
Nullate | A cudf::nullate type describing how to check for nulls. |
Definition at line 567 of file row_operators.cuh.
|
inline |
Constructs a row_hasher object.
has_nulls | Indicates if either input table contains nulls |
t | A table_device_view to hash |
Definition at line 577 of file row_operators.cuh.
|
inline |
Constructs a row_hasher object with a seed value.
has_nulls | Indicates if either input table contains nulls |
t | A table_device_view to hash |
seed | A seed value to use for hashing |
Definition at line 588 of file row_operators.cuh.
|
inline |
Computes the hash value of the row at row_index
in the table
row_index | The index of the row in the table to hash |
row_index
in the table
Definition at line 599 of file row_operators.cuh.