Struct fastfield_codecs::IterColumn
source · pub struct IterColumn<T>(_);
Expand description
Wraps an iterator into a Column
.
Trait Implementations§
source§impl<T> Column<<T as Iterator>::Item> for IterColumn<T>where
T: Iterator + Clone + ExactSizeIterator + Send + Sync,
T::Item: PartialOrd + Debug,
impl<T> Column<<T as Iterator>::Item> for IterColumn<T>where
T: Iterator + Clone + ExactSizeIterator + Send + Sync,
T::Item: PartialOrd + Debug,
source§fn get_val(&self, idx: u32) -> T::Item
fn get_val(&self, idx: u32) -> T::Item
Return the value associated with the given idx. Read more
source§fn get_range(&self, start: u64, output: &mut [T])
fn get_range(&self, start: u64, output: &mut [T])
Fills an output buffer with the fast field values
associated with the
DocId
going from
start
to start + output.len()
. Read moresource§fn get_docids_for_value_range(
&self,
value_range: RangeInclusive<T>,
doc_id_range: Range<u32>,
positions: &mut Vec<u32>
)
fn get_docids_for_value_range(
&self,
value_range: RangeInclusive<T>,
doc_id_range: Range<u32>,
positions: &mut Vec<u32>
)
Get the positions of values which are in the provided value range. Read more