Trait IterBuilder

Source
pub trait IterBuilder: Send + Sync {
    // Required method
    fn build(
        &self,
        metrics: Option<MemScanMetrics>,
    ) -> Result<BoxedBatchIterator>;

    // Provided methods
    fn is_record_batch(&self) -> bool { ... }
    fn build_record_batch(
        &self,
        metrics: Option<MemScanMetrics>,
    ) -> Result<BoxedRecordBatchIterator> { ... }
}
Expand description

Builder to build an iterator to read the range. The builder should know the projection and the predicate to build the iterator.

Required Methods§

Source

fn build(&self, metrics: Option<MemScanMetrics>) -> Result<BoxedBatchIterator>

Returns the iterator to read the range.

Provided Methods§

Source

fn is_record_batch(&self) -> bool

Returns whether the iterator is a record batch iterator.

Source

fn build_record_batch( &self, metrics: Option<MemScanMetrics>, ) -> Result<BoxedRecordBatchIterator>

Returns the record batch iterator to read the range.

Implementors§