pub trait VecHash {
// Provided methods
fn vec_hash(
&self,
_random_state: RandomState,
_buf: &mut Vec<u64>,
) -> Result<(), PolarsError> { ... }
fn vec_hash_combine(
&self,
_random_state: RandomState,
_hashes: &mut [u64],
) -> Result<(), PolarsError> { ... }
}
Provided Methods§
Sourcefn vec_hash(
&self,
_random_state: RandomState,
_buf: &mut Vec<u64>,
) -> Result<(), PolarsError>
fn vec_hash( &self, _random_state: RandomState, _buf: &mut Vec<u64>, ) -> Result<(), PolarsError>
Compute the hash for all values in the array.
fn vec_hash_combine( &self, _random_state: RandomState, _hashes: &mut [u64], ) -> Result<(), PolarsError>
Implementors§
impl VecHash for ChunkedArray<BinaryOffsetType>
impl VecHash for ChunkedArray<BinaryType>
impl VecHash for ChunkedArray<BooleanType>
impl VecHash for ChunkedArray<Float32Type>
impl VecHash for ChunkedArray<Float64Type>
impl VecHash for ChunkedArray<Int8Type>
impl VecHash for ChunkedArray<Int16Type>
impl VecHash for ChunkedArray<Int32Type>
impl VecHash for ChunkedArray<Int64Type>
impl VecHash for ChunkedArray<Int128Type>
impl VecHash for ChunkedArray<StringType>
impl VecHash for ChunkedArray<UInt8Type>
impl VecHash for ChunkedArray<UInt16Type>
impl VecHash for ChunkedArray<UInt32Type>
impl VecHash for ChunkedArray<UInt64Type>
impl<T> VecHash for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature
object
only.