pub enum ScanRows<'a> {
F32RowMajor(&'a F32Rows),
F32BorrowedRowMajor(&'a [f32]),
F16RowMajor(&'a [u16]),
Int8RowMajor {
codes: &'a [i8],
factors: &'a [Int8Factors],
},
Bit4RowMajor {
codes: &'a [u8],
factors: &'a [Bit4Factors],
},
}Expand description
Strongly typed row representation for an exact scan.
Variants§
F32RowMajor(&'a F32Rows)
Contiguous row-major full-precision rows.
F32BorrowedRowMajor(&'a [f32])
Borrowed contiguous row-major full-precision rows.
Persisted F32 segments use this variant so a query does not copy the mapped vector region merely to enter the scan executor.
F16RowMajor(&'a [u16])
Contiguous row-major IEEE-f16 bit patterns.
Int8RowMajor
Contiguous row-major signed-byte codes and affine row factors.
Fields
§
factors: &'a [Int8Factors]One validated affine factor pair per row.
Bit4RowMajor
Contiguous row-major packed four-bit codes and estimator factors.
Fields
§
factors: &'a [Bit4Factors]One Extended-RaBitQ factor record per row.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ScanRows<'a>
impl<'a> RefUnwindSafe for ScanRows<'a>
impl<'a> Send for ScanRows<'a>
impl<'a> Sync for ScanRows<'a>
impl<'a> Unpin for ScanRows<'a>
impl<'a> UnsafeUnpin for ScanRows<'a>
impl<'a> UnwindSafe for ScanRows<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more