Skip to main content

UnloadBatch

Trait UnloadBatch 

Source
pub trait UnloadBatch<C: UnloadChunk> {
    // Required methods
    fn extract_into(&self, probes: C::Probes<'_>, staging: &mut C::Staging);
    fn fetch_into(&self, staging: &mut C::Staging);
}
Expand description

The batch-level driver over UnloadChunk, as an extension of ChunkBatch.

Required Methods§

Source

fn extract_into(&self, probes: C::Probes<'_>, staging: &mut C::Staging)

Extract every probe hit in this batch into staging.

Gallops the chunk list by locate — resident metadata only — and opens (via extract_into) only the chunks whose key span contains a probe. Probes that fall in the gap between two chunks’ spans are consumed against resident metadata alone. A probe left unconsumed at a chunk’s last key is re-offered to the next chunk, whose continuation follows in staging.

Source

fn fetch_into(&self, staging: &mut C::Staging)

Materialize the batch’s full contents into staging (the scan path).

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<C: UnloadChunk> UnloadBatch<C> for ChunkBatch<C>

Source§

fn extract_into(&self, probes: C::Probes<'_>, staging: &mut C::Staging)

Source§

fn fetch_into(&self, staging: &mut C::Staging)

Implementors§