[−][src]Struct rucene::core::codec::postings::blocktree::SegmentTermIteratorInner
Fields
input: Option<Box<dyn IndexInput>>
stack: Vec<SegmentTermsIterFrame>
current_frame_ord: usize
term_exists: bool
term: Vec<u8>
term_len: usize
Methods
impl SegmentTermIteratorInner
[src]
pub fn field_reader(&self) -> &FieldReader
[src]
pub fn term(&self) -> &[u8]
[src]
pub fn init_index_input(&mut self) -> Result<()>
[src]
pub fn push_frame_by_fp(
&mut self,
arc: Option<FSTArc<ByteSequenceOutput>>,
fp: i64,
length: usize
) -> Result<usize>
[src]
&mut self,
arc: Option<FSTArc<ByteSequenceOutput>>,
fp: i64,
length: usize
) -> Result<usize>
pub fn current_frame(&self) -> &SegmentTermsIterFrame
[src]
pub fn resize_term(&mut self, len: usize)
[src]
Trait Implementations
impl TermIterator for SegmentTermIteratorInner
[src]
type Postings = Lucene50PostingIterator
type TermState = BlockTermState
fn next(&mut self) -> Result<Option<Vec<u8>>>
[src]
fn seek_exact(&mut self, target: &[u8]) -> Result<bool>
[src]
fn seek_ceil(&mut self, target: &[u8]) -> Result<SeekStatus>
[src]
fn seek_exact_ord(&mut self, _ord: i64) -> Result<()>
[src]
fn seek_exact_state(
&mut self,
text: &[u8],
state: &Self::TermState
) -> Result<()>
[src]
&mut self,
text: &[u8],
state: &Self::TermState
) -> Result<()>
fn term(&self) -> Result<&[u8]>
[src]
fn ord(&self) -> Result<i64>
[src]
fn doc_freq(&mut self) -> Result<i32>
[src]
fn total_term_freq(&mut self) -> Result<i64>
[src]
fn postings(&mut self) -> Result<Self::Postings>
[src]
fn postings_with_flags(&mut self, flags: u16) -> Result<Self::Postings>
[src]
fn term_state(&mut self) -> Result<Self::TermState>
[src]
fn is_empty(&self) -> bool
[src]
Auto Trait Implementations
impl !Send for SegmentTermIteratorInner
impl !Sync for SegmentTermIteratorInner
impl Unpin for SegmentTermIteratorInner
impl !UnwindSafe for SegmentTermIteratorInner
impl !RefUnwindSafe for SegmentTermIteratorInner
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,