Trait polars::prelude::VecHash [−][src]
pub trait VecHash { fn vec_hash(&self, _random_state: RandomState) -> AlignedVec<u64> { ... } fn vec_hash_combine(&self, _random_state: RandomState, _hashes: &mut [u64]) { ... } }
Provided methods
fn vec_hash(&self, _random_state: RandomState) -> AlignedVec<u64>
fn vec_hash(&self, _random_state: RandomState) -> AlignedVec<u64>
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])
Implementors
impl<T> VecHash for ChunkedArray<T> where
T: PolarsIntegerType,
<T as ArrowPrimitiveType>::Native: Hash,