Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Int32SequenceOutputs

    An FST Outputs<T> implementation where each output is a sequence of ints.

    NOTE: This was IntSequenceOutputs in Lucene

    Note

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

    Inheritance
    object
    Outputs<Int32sRef>
    Int32SequenceOutputs
    Inherited Members
    Outputs<Int32sRef>.WriteFinalOutput(Int32sRef, DataOutput)
    Outputs<Int32sRef>.ReadFinalOutput(DataInput)
    Outputs<Int32sRef>.Merge(Int32sRef, Int32sRef)
    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 Int32SequenceOutputs : Outputs<Int32sRef>

    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 Int32sRef NoOutput { get; }
    Property Value
    Type Description
    Int32sRef
    Overrides
    Outputs<Int32sRef>.NoOutput

    Singleton

    An FST Outputs<T> implementation where each output is a sequence of ints.

    NOTE: This was IntSequenceOutputs in Lucene

    Note

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

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

    Methods

    Add(Int32sRef, Int32sRef)

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

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

    Common(Int32sRef, Int32sRef)

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

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

    OutputToString(Int32sRef)

    An FST Outputs<T> implementation where each output is a sequence of ints.

    NOTE: This was IntSequenceOutputs in Lucene

    Note

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

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

    Read(DataInput)

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

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

    Subtract(Int32sRef, Int32sRef)

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

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

    Write(Int32sRef, DataOutput)

    Encode an output value into a DataOutput.

    Declaration
    public override void Write(Int32sRef prefix, DataOutput @out)
    Parameters
    Type Name Description
    Int32sRef prefix
    DataOutput out
    Overrides
    Outputs<Int32sRef>.Write(Int32sRef, 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.