Struct tantivy::fastfield::U64FastFieldReader
[−]
[src]
pub struct U64FastFieldReader { /* fields omitted */ }
FastFieldReader
for unsigned 64-bits integers.
Methods
impl U64FastFieldReader
[src]
pub fn min_value(&self) -> u64
[src]
Returns the minimum value for this fast field.
The min value does not take in account of possible deleted document, and should be considered as a lower bound of the actual minimum value.
pub fn max_value(&self) -> u64
[src]
Returns the maximum value for this fast field.
The max value does not take in account of possible deleted document, and should be considered as an upper bound of the actual maximum value.
Trait Implementations
impl Clone for U64FastFieldReader
[src]
fn clone(&self) -> U64FastFieldReader
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl FastFieldReader for U64FastFieldReader
[src]
type ValueType = u64
Type of the value stored in the fastfield.
fn get(&self, doc: DocId) -> u64
[src]
Return the value associated to the given document. Read more
fn is_enabled(field_type: &FieldType) -> bool
[src]
Returns true iff the given field_type makes it possible to access the field values via a fastfield. Read more
fn get_range(&self, start: u32, output: &mut [Self::ValueType])
[src]
Fills an output buffer with the fast field values associated with the DocId
going from start
to start + output.len()
. Read more
fn open(data: ReadOnlySource) -> U64FastFieldReader
[src]
impl From<Vec<u64>> for U64FastFieldReader
[src]
fn from(vals: Vec<u64>) -> U64FastFieldReader
[src]
Performs the conversion.