Skip to main content

JoinHashObserver

Trait JoinHashObserver 

Source
pub trait JoinHashObserver {
    // Required methods
    fn insert_raw_hash(&mut self, hash: u64);
    fn retained_bytes(&self) -> usize;
}
Expand description

Minimal sink used while a JOIN hash table and a probe accelerator are populated in one pass. The optimizer owns the accelerator; the physical hash foundation depends only on this lifecycle-neutral contract.

Required Methods§

Source

fn insert_raw_hash(&mut self, hash: u64)

Observe one canonical hash already computed for the hash table.

Source

fn retained_bytes(&self) -> usize

Bytes retained by the observer and charged to the request budget.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§