Trait polars_core::hashing::VecHash
source · pub trait VecHash {
// Provided methods
fn vec_hash(
&self,
_random_state: RandomState,
_buf: &mut Vec<u64>
) -> PolarsResult<()> { ... }
fn vec_hash_combine(
&self,
_random_state: RandomState,
_hashes: &mut [u64]
) -> PolarsResult<()> { ... }
}
Provided Methods§
sourcefn vec_hash(
&self,
_random_state: RandomState,
_buf: &mut Vec<u64>
) -> PolarsResult<()>
fn vec_hash( &self, _random_state: RandomState, _buf: &mut Vec<u64> ) -> PolarsResult<()>
Compute the hash for all values in the array.
This currently only works with the AHash RandomState hasher builder.
fn vec_hash_combine( &self, _random_state: RandomState, _hashes: &mut [u64] ) -> PolarsResult<()>
Implementors§
impl VecHash for BinaryChunked
impl VecHash for BinaryOffsetChunked
impl VecHash for BooleanChunked
impl VecHash for Float32Chunked
impl VecHash for Float64Chunked
impl VecHash for Int8Chunked
impl VecHash for Int16Chunked
impl VecHash for Int32Chunked
impl VecHash for Int64Chunked
impl VecHash for Int128Chunked
impl VecHash for StringChunked
impl VecHash for UInt8Chunked
impl VecHash for UInt16Chunked
impl VecHash for UInt32Chunked
impl VecHash for UInt64Chunked
impl<T> VecHash for ObjectChunked<T>where
T: PolarsObject,
Available on crate feature
object
only.