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.
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
Overrides
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
Methods
Add(object, object)
Eg add("foo", "bar") -> "foobar"
Declaration
public override object Add(object prefix, object output)
Parameters
Returns
Overrides
Common(object, object)
Eg common("foobar", "food") -> "foo"
Declaration
public override object Common(object output1, object output2)
Parameters
Returns
Overrides
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
Returns
Overrides
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
Overrides
Declaration
public override object Read(DataInput @in)
Parameters
Returns
Overrides
Subtract(object, object)
Eg subtract("foobar", "foo") -> "bar"
Declaration
public override object Subtract(object output, object inc)
Parameters
Returns
Overrides
Write(object, DataOutput)
Declaration
public override void Write(object prefix, DataOutput @out)
Parameters
Overrides