Enum tantivy_columnar::MergeRowOrder
source · pub enum MergeRowOrder {
Stack(StackMergeOrder),
Shuffled(ShuffleMergeOrder),
}
Variants§
Stack(StackMergeOrder)
Columnar tables are simply stacked one above the other.
If the i-th columnar_readers has n_rows_i rows, then
in the resulting columnar,
rows [r0..n_row_0) contains the row of columnar_readers[0]
, in ordder
rows [n_row_0..n_row_0 + n_row_1 contains the row of columnar_readers[1]
, in order.
..
No documents is deleted.
Shuffled(ShuffleMergeOrder)
Some more complex mapping, that may interleaves rows from the different readers and drop rows, or do both.
Implementations§
Trait Implementations§
source§impl From<ShuffleMergeOrder> for MergeRowOrder
impl From<ShuffleMergeOrder> for MergeRowOrder
source§fn from(shuffle_merge_order: ShuffleMergeOrder) -> MergeRowOrder
fn from(shuffle_merge_order: ShuffleMergeOrder) -> MergeRowOrder
Converts to this type from the input type.
source§impl From<StackMergeOrder> for MergeRowOrder
impl From<StackMergeOrder> for MergeRowOrder
source§fn from(stack_merge_order: StackMergeOrder) -> MergeRowOrder
fn from(stack_merge_order: StackMergeOrder) -> MergeRowOrder
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MergeRowOrder
impl !RefUnwindSafe for MergeRowOrder
impl Send for MergeRowOrder
impl Sync for MergeRowOrder
impl Unpin for MergeRowOrder
impl !UnwindSafe for MergeRowOrder
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
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.