[][src]Struct tantivy::termdict::TermStreamerBuilder

pub struct TermStreamerBuilder<'a, A = AlwaysMatch> where
    A: Automaton
{ /* fields omitted */ }

TermStreamerBuilder is a helper object used to define a range of terms that should be streamed.

Methods

impl<'a, A> TermStreamerBuilder<'a, A> where
    A: Automaton
[src]

pub fn ge<T: AsRef<[u8]>>(self, bound: T) -> Self[src]

Limit the range to terms greater or equal to the bound

pub fn gt<T: AsRef<[u8]>>(self, bound: T) -> Self[src]

Limit the range to terms strictly greater than the bound

pub fn le<T: AsRef<[u8]>>(self, bound: T) -> Self[src]

Limit the range to terms lesser or equal to the bound

pub fn lt<T: AsRef<[u8]>>(self, bound: T) -> Self[src]

Limit the range to terms lesser or equal to the bound

pub fn into_stream(self) -> TermStreamer<'a, A>[src]

Creates the stream corresponding to the range of terms defined using the TermStreamerBuilder.

Auto Trait Implementations

impl<'a, A> Sync for TermStreamerBuilder<'a, A> where
    A: Sync

impl<'a, A> Send for TermStreamerBuilder<'a, A> where
    A: Send

impl<'a, A> Unpin for TermStreamerBuilder<'a, A> where
    A: Unpin

impl<'a, A = AlwaysMatch> !UnwindSafe for TermStreamerBuilder<'a, A>

impl<'a, A = AlwaysMatch> !RefUnwindSafe for TermStreamerBuilder<'a, A>

Blanket Implementations

impl<T> Fruit for T where
    T: Send + Downcast
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T[src]

impl<T> Downcast for T where
    T: Any
[src]