Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class BufferedInputEnumerator

    This wrapper buffers incoming elements.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    System.Object
    BufferedInputEnumerator
    UnsortedInputEnumerator
    Implements
    IInputEnumerator
    Lucene.Net.Util.IBytesRefEnumerator
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Search.Suggest
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    public class BufferedInputEnumerator : IInputEnumerator, IBytesRefEnumerator

    Constructors

    | Improve this Doc View Source

    BufferedInputEnumerator(IInputEnumerator)

    Creates a new iterator, buffering entries from the specified iterator

    Declaration
    public BufferedInputEnumerator(IInputEnumerator source)
    Parameters
    Type Name Description
    IInputEnumerator source

    Fields

    | Improve this Doc View Source

    m_contextSets

    buffered context set entries

    Declaration
    protected IList<ICollection<BytesRef>> m_contextSets
    Field Value
    Type Description
    System.Collections.Generic.IList<System.Collections.Generic.ICollection<Lucene.Net.Util.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_current

    Declaration
    protected BytesRef m_current
    Field Value
    Type Description
    Lucene.Net.Util.BytesRef
    | Improve this Doc View Source

    m_entries

    buffered term entries

    Declaration
    protected BytesRefArray m_entries
    Field Value
    Type Description
    Lucene.Net.Util.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
    Lucene.Net.Util.BytesRefArray

    Properties

    | Improve this Doc View Source

    Comparer

    Declaration
    public virtual IComparer<BytesRef> Comparer { get; }
    Property Value
    Type Description
    System.Collections.Generic.IComparer<Lucene.Net.Util.BytesRef>
    | Improve this Doc View Source

    Contexts

    Declaration
    public virtual ICollection<BytesRef> Contexts { get; }
    Property Value
    Type Description
    System.Collections.Generic.ICollection<Lucene.Net.Util.BytesRef>
    | Improve this Doc View Source

    Current

    Declaration
    public virtual BytesRef Current { get; }
    Property Value
    Type Description
    Lucene.Net.Util.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
    Lucene.Net.Util.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

    MoveNext()

    Declaration
    public virtual bool MoveNext()
    Returns
    Type Description
    System.Boolean

    Implements

    IInputEnumerator
    Lucene.Net.Util.IBytesRefEnumerator
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.