Struct fastfield_codecs::IterColumn
source · [−]pub struct IterColumn<T>(_);
Expand description
Wraps an iterator into a Column
.
Trait Implementations
sourceimpl<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,
sourcefn 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
sourcefn 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 moresourcefn 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
sourceimpl<T> From<T> for IterColumn<T>where
T: Iterator + Clone + ExactSizeIterator,
impl<T> From<T> for IterColumn<T>where
T: Iterator + Clone + ExactSizeIterator,
Auto Trait Implementations
impl<T> RefUnwindSafe for IterColumn<T>where
T: RefUnwindSafe,
impl<T> Send for IterColumn<T>where
T: Send,
impl<T> Sync for IterColumn<T>where
T: Sync,
impl<T> Unpin for IterColumn<T>where
T: Unpin,
impl<T> UnwindSafe for IterColumn<T>where
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more