Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Int32sRefFSTEnum<T>

    Enumerates all input (Int32sRef) + output pairs in an FST.

    NOTE: This was IntsRefFSTEnum{T} in Lucene

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    FSTEnum<T>
    Int32sRefFSTEnum<T>
    Inherited Members
    FSTEnum<T>.m_fst
    FSTEnum<T>.m_arcs
    FSTEnum<T>.m_output
    FSTEnum<T>.NO_OUTPUT
    FSTEnum<T>.m_fstReader
    FSTEnum<T>.m_scratchArc
    FSTEnum<T>.m_upto
    FSTEnum<T>.m_targetLength
    FSTEnum<T>.RewindPrefix()
    FSTEnum<T>.DoNext()
    FSTEnum<T>.DoSeekCeil()
    FSTEnum<T>.DoSeekFloor()
    FSTEnum<T>.DoSeekExact()
    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.Util.Fst
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class Int32sRefFSTEnum<T> : FSTEnum<T>
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    Int32sRefFSTEnum(FST<T>)

    doFloor controls the behavior of advance: if it's true doFloor is true, advance positions to the biggest term before target.

    Declaration
    public Int32sRefFSTEnum(FST<T> fst)
    Parameters
    Type Name Description
    FST<T> fst

    Properties

    | Improve this Doc View Source

    Current

    Declaration
    public Int32sRefFSTEnum.InputOutput<T> Current { get; }
    Property Value
    Type Description
    Int32sRefFSTEnum.InputOutput<T>
    | Improve this Doc View Source

    CurrentLabel

    Declaration
    protected override int CurrentLabel { get; set; }
    Property Value
    Type Description
    System.Int32
    Overrides
    Lucene.Net.Util.Fst.FSTEnum<T>.CurrentLabel
    | Improve this Doc View Source

    TargetLabel

    Declaration
    protected override int TargetLabel { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    Lucene.Net.Util.Fst.FSTEnum<T>.TargetLabel

    Methods

    | Improve this Doc View Source

    Grow()

    Declaration
    protected override void Grow()
    Overrides
    Lucene.Net.Util.Fst.FSTEnum<T>.Grow()
    | Improve this Doc View Source

    Next()

    Declaration
    public Int32sRefFSTEnum.InputOutput<T> Next()
    Returns
    Type Description
    Int32sRefFSTEnum.InputOutput<T>
    | Improve this Doc View Source

    SeekCeil(Int32sRef)

    Seeks to smallest term that's >= target.

    Declaration
    public Int32sRefFSTEnum.InputOutput<T> SeekCeil(Int32sRef target)
    Parameters
    Type Name Description
    Int32sRef target
    Returns
    Type Description
    Int32sRefFSTEnum.InputOutput<T>
    | Improve this Doc View Source

    SeekExact(Int32sRef)

    Seeks to exactly this term, returning null if the term doesn't exist. This is faster than using SeekFloor(Int32sRef) or SeekCeil(Int32sRef) because it short-circuits as soon the match is not found.

    Declaration
    public Int32sRefFSTEnum.InputOutput<T> SeekExact(Int32sRef target)
    Parameters
    Type Name Description
    Int32sRef target
    Returns
    Type Description
    Int32sRefFSTEnum.InputOutput<T>
    | Improve this Doc View Source

    SeekFloor(Int32sRef)

    Seeks to biggest term that's <= target.

    Declaration
    public Int32sRefFSTEnum.InputOutput<T> SeekFloor(Int32sRef target)
    Parameters
    Type Name Description
    Int32sRef target
    Returns
    Type Description
    Int32sRefFSTEnum.InputOutput<T>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.