risingwave_common::hash

Trait KeyStorage

source
pub trait KeyStorage: 'static {
    type Key: AsRef<[u8]> + EstimateSize + Clone + Send + Sync + 'static;
    type Buffer: Buffer<Sealed = Self::Key>;
}
Expand description

The storage where the hash key resides in memory.

Required Associated Types§

source

type Key: AsRef<[u8]> + EstimateSize + Clone + Send + Sync + 'static

The key type that is used to store the hash key.

source

type Buffer: Buffer<Sealed = Self::Key>

The buffer type that is used to build the hash key.

Implementors§