Struct tantivy_sstable::MonotonicU64SSTable
source · pub struct MonotonicU64SSTable;
Expand description
SSTable associated keys to u64 sorted in order.
In other words, two keys k1
and k2
such that k1
<= k2
, are required to observe
range_sstable[k1] <= range_sstable[k2]
.
Trait Implementations§
source§impl SSTable for MonotonicU64SSTable
impl SSTable for MonotonicU64SSTable
type Value = u64
type ValueReader = U64MonotonicValueReader
type ValueWriter = U64MonotonicValueWriter
fn delta_writer<W: Write>(write: W) -> DeltaWriter<W, Self::ValueWriter>
fn writer<W: Write>(wrt: W) -> Writer<W, Self::ValueWriter>
fn delta_reader(reader: OwnedBytes) -> DeltaReader<Self::ValueReader>
fn reader(reader: OwnedBytes) -> Reader<Self::ValueReader>
source§fn create_empty_reader() -> Reader<Self::ValueReader>
fn create_empty_reader() -> Reader<Self::ValueReader>
Returns an empty static reader.
fn merge<W: Write, M: ValueMerger<Self::Value>>( io_readers: Vec<OwnedBytes>, w: W, merger: M ) -> Result<()>
Auto Trait Implementations§
impl Freeze for MonotonicU64SSTable
impl RefUnwindSafe for MonotonicU64SSTable
impl Send for MonotonicU64SSTable
impl Sync for MonotonicU64SSTable
impl Unpin for MonotonicU64SSTable
impl UnwindSafe for MonotonicU64SSTable
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