Struct tantivy_sstable::RangeSSTable
source · pub struct RangeSSTable;
Expand description
SSTable associating keys to ranges. The range are required to partition the space.
In other words, two consecutive keys k1
and k2
are required to observe
range_sstable[k1].end == range_sstable[k2].start
.
The first range is not required to start at 0
.
Trait Implementations§
source§impl Clone for RangeSSTable
impl Clone for RangeSSTable
source§fn clone(&self) -> RangeSSTable
fn clone(&self) -> RangeSSTable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RangeSSTable
impl Debug for RangeSSTable
source§impl SSTable for RangeSSTable
impl SSTable for RangeSSTable
type Value = Range<u64>
type ValueReader = RangeValueReader
type ValueWriter = RangeValueWriter
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<()>
impl Copy for RangeSSTable
Auto Trait Implementations§
impl Freeze for RangeSSTable
impl RefUnwindSafe for RangeSSTable
impl Send for RangeSSTable
impl Sync for RangeSSTable
impl Unpin for RangeSSTable
impl UnwindSafe for RangeSSTable
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