Struct fastfield_codecs::VecColumn
source · [−]pub struct VecColumn<'a, T = u64> { /* private fields */ }
Expand description
VecColumn provides Column
over a slice.
Trait Implementations
sourceimpl<'a, T: Copy + PartialOrd + Send + Sync + Debug> Column<T> for VecColumn<'a, T>
impl<'a, T: Copy + PartialOrd + Send + Sync + Debug> Column<T> for VecColumn<'a, T>
sourcefn get_val(&self, position: u32) -> T
fn get_val(&self, position: u32) -> T
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
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for VecColumn<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for VecColumn<'a, T>where
T: Send + Sync,
impl<'a, T> Sync for VecColumn<'a, T>where
T: Sync,
impl<'a, T> Unpin for VecColumn<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for VecColumn<'a, T>where
T: UnwindSafe + RefUnwindSafe,
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