Struct tantivy::fastfield::BytesFastFieldReader [−][src]
pub struct BytesFastFieldReader { /* fields omitted */ }
Expand description
Reader for byte array fast fields
The reader is implemented as a u64
fast field and a separate collection of bytes.
The vals_reader
will access the concatenated list of all values for all documents.
The idx_reader
associates, for each document, the index of its first value.
Reading the value for a document is done by reading the start index for it, and the start index for the next document, and keeping the bytes in between.
Implementations
Returns the bytes associated to the given doc
Returns the length of the bytes associated to the given doc
Returns the overall number of bytes in this bytes fast field.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for BytesFastFieldReader
impl Send for BytesFastFieldReader
impl Sync for BytesFastFieldReader
impl Unpin for BytesFastFieldReader
impl !UnwindSafe for BytesFastFieldReader
Blanket Implementations
Mutably borrows from an owned value. Read more
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
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more