Trait tantivy::termdict::TermStreamerBuilder [] [src]

pub trait TermStreamerBuilder {
    type Streamer: TermStreamer;
    fn ge<T: AsRef<[u8]>>(self, bound: T) -> Self;
fn gt<T: AsRef<[u8]>>(self, bound: T) -> Self;
fn lt<T: AsRef<[u8]>>(self, bound: T) -> Self;
fn le<T: AsRef<[u8]>>(self, bound: T) -> Self;
fn into_stream(self) -> Self::Streamer; }

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

Associated Types

Associated TermStreamer type that this builder is building.

Required Methods

Limit the range to terms greater or equal to the bound

Limit the range to terms strictly greater than the bound

Limit the range to terms lesser or equal to the bound

Limit the range to terms lesser or equal to the bound

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

Implementors