51 static constexpr uint32_t DEFAULT_HASH_SEED = 0;
66 std::unique_ptr<column>
hash(
69 uint32_t seed = DEFAULT_HASH_SEED,
92 uint32_t seed = DEFAULT_HASH_SEED,
111 uint64_t seed = DEFAULT_HASH_SEED,
130 uint32_t seed = DEFAULT_HASH_SEED,
143 std::unique_ptr<column>
md5(
162 uint64_t seed = DEFAULT_HASH_SEED,
A set of cudf::column_view's of the same size.
std::unique_ptr< column > hash(table_view const &input, hash_id hash_function=hash_id::HASH_MURMUR3, uint32_t seed=DEFAULT_HASH_SEED, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Computes the hash value of each row in the input set of columns.
uint32_t hash_value_type
Type of hash value.
hash_id
Identifies the hash function to be used.
@ HASH_MD5
MD5 hash function.
@ HASH_SPARK_MURMUR3
Spark Murmur3 hash function.
@ HASH_IDENTITY
Identity hash function that simply returns the key to be hashed.
@ HASH_MURMUR3
Murmur3 hash function.
device_memory_resource * get_current_device_resource()
std::unique_ptr< column > xxhash_64(table_view const &input, uint64_t seed=DEFAULT_HASH_SEED, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Computes the XXHash_64 hash value of each row in the given table.
std::unique_ptr< column > murmurhash3_x86_32(table_view const &input, uint32_t seed=DEFAULT_HASH_SEED, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Computes the MurmurHash3 32-bit hash value of each row in the given table.
std::unique_ptr< column > spark_murmurhash3_x86_32(table_view const &input, uint32_t seed=DEFAULT_HASH_SEED, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Computes the MurmurHash3 32-bit hash value of each row in the given table.
std::unique_ptr< column > md5(table_view const &input, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Computes the MD5 hash value of each row in the given table.
std::unique_ptr< table > murmurhash3_x64_128(table_view const &input, uint64_t seed=DEFAULT_HASH_SEED, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Computes the MurmurHash3 64-bit hash value of each row in the given table.
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
Class definition for cudf::table.
Class definitions for (mutable)_table_view