Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class NoOutputs

    A null FST Outputs<T> implementation; use this if you just want to build an FSA.

    Note

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

    Inheritance
    object
    Outputs<object>
    NoOutputs
    Inherited Members
    Outputs<object>.WriteFinalOutput(object, DataOutput)
    Outputs<object>.ReadFinalOutput(DataInput)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util.Fst
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class NoOutputs : Outputs<object>

    Properties

    NoOutput

    NOTE: this output is compared with == so you must ensure that all methods return the single object if it's really no output

    Declaration
    public override object NoOutput { get; }
    Property Value
    Type Description
    object
    Overrides
    Outputs<object>.NoOutput

    Singleton

    A null FST Outputs<T> implementation; use this if you just want to build an FSA.

    Note

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

    Declaration
    public static NoOutputs Singleton { get; }
    Property Value
    Type Description
    NoOutputs

    Methods

    Add(object, object)

    Eg add("foo", "bar") -> "foobar"

    Declaration
    public override object Add(object prefix, object output)
    Parameters
    Type Name Description
    object prefix
    object output
    Returns
    Type Description
    object
    Overrides
    Outputs<object>.Add(object, object)

    Common(object, object)

    Eg common("foobar", "food") -> "foo"

    Declaration
    public override object Common(object output1, object output2)
    Parameters
    Type Name Description
    object output1
    object output2
    Returns
    Type Description
    object
    Overrides
    Outputs<object>.Common(object, object)

    Merge(object, object)

    A null FST Outputs<T> implementation; use this if you just want to build an FSA.

    Note

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

    Declaration
    public override object Merge(object first, object second)
    Parameters
    Type Name Description
    object first
    object second
    Returns
    Type Description
    object
    Overrides
    Outputs<object>.Merge(object, object)

    OutputToString(object)

    A null FST Outputs<T> implementation; use this if you just want to build an FSA.

    Note

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

    Declaration
    public override string OutputToString(object output)
    Parameters
    Type Name Description
    object output
    Returns
    Type Description
    string
    Overrides
    Outputs<object>.OutputToString(object)

    Read(DataInput)

    Decode an output value previously written with Write(T, DataOutput).

    Declaration
    public override object Read(DataInput @in)
    Parameters
    Type Name Description
    DataInput in
    Returns
    Type Description
    object
    Overrides
    Outputs<object>.Read(DataInput)

    Subtract(object, object)

    Eg subtract("foobar", "foo") -> "bar"

    Declaration
    public override object Subtract(object output, object inc)
    Parameters
    Type Name Description
    object output
    object inc
    Returns
    Type Description
    object
    Overrides
    Outputs<object>.Subtract(object, object)

    Write(object, DataOutput)

    Encode an output value into a DataOutput.

    Declaration
    public override void Write(object prefix, DataOutput @out)
    Parameters
    Type Name Description
    object prefix
    DataOutput out
    Overrides
    Outputs<object>.Write(object, DataOutput)
    Back to top Copyright © 2024 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.