Skip to main content

PartitionSearchControl

Trait PartitionSearchControl 

Source
pub trait PartitionSearchControl: Send + Sync {
    // Required method
    fn should_stop(&self) -> bool;

    // Provided method
    fn record_batch(&self, _batch: &RecordBatch) { ... }
}
Expand description

Controls when a multi-partition search should stop producing more partition results.

Required Methods§

Source

fn should_stop(&self) -> bool

Provided Methods§

Source

fn record_batch(&self, _batch: &RecordBatch)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§