Show / Hide Table of Contents

    Class BufferedInputIterator

    This wrapper buffers incoming elements.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    BufferedInputIterator
    UnsortedInputIterator
    Implements
    IInputIterator
    IBytesRefIterator
    Namespace: Lucene.Net.Search.Suggest
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    public class BufferedInputIterator : object, IInputIterator, IBytesRefIterator

    Constructors

    | Improve this Doc View Source

    BufferedInputIterator(IInputIterator)

    Creates a new iterator, buffering entries from the specified iterator

    Declaration
    public BufferedInputIterator(IInputIterator source)
    Parameters
    Type Name Description
    IInputIterator source

    Fields

    | Improve this Doc View Source

    m_contextSets

    buffered context set entries

    Declaration
    protected IList<IEnumerable<BytesRef>> m_contextSets
    Field Value
    Type Description
    IList<IEnumerable<BytesRef>>
    | Improve this Doc View Source

    m_curPos

    current buffer position

    Declaration
    protected int m_curPos
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_entries

    buffered term entries

    Declaration
    protected BytesRefArray m_entries
    Field Value
    Type Description
    BytesRefArray
    | Improve this Doc View Source

    m_freqs

    buffered weights, parallel with m_entries

    Declaration
    protected long[] m_freqs
    Field Value
    Type Description
    System.Int64[]
    | Improve this Doc View Source

    m_payloads

    buffered payload entries

    Declaration
    protected BytesRefArray m_payloads
    Field Value
    Type Description
    BytesRefArray

    Properties

    | Improve this Doc View Source

    Comparer

    Declaration
    public virtual IComparer<BytesRef> Comparer { get; }
    Property Value
    Type Description
    IComparer<BytesRef>
    | Improve this Doc View Source

    Contexts

    Declaration
    public virtual IEnumerable<BytesRef> Contexts { get; }
    Property Value
    Type Description
    IEnumerable<BytesRef>
    | Improve this Doc View Source

    HasContexts

    Declaration
    public virtual bool HasContexts { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    HasPayloads

    Declaration
    public virtual bool HasPayloads { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Payload

    Declaration
    public virtual BytesRef Payload { get; }
    Property Value
    Type Description
    BytesRef
    | Improve this Doc View Source

    Weight

    Declaration
    public virtual long Weight { get; }
    Property Value
    Type Description
    System.Int64

    Methods

    | Improve this Doc View Source

    Next()

    Declaration
    public virtual BytesRef Next()
    Returns
    Type Description
    BytesRef

    Implements

    IInputIterator
    IBytesRefIterator
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)