Package org.apache.lucene.util.fst
Class FST.FSTMetadata<T>
java.lang.Object
org.apache.lucene.util.fst.FST.FSTMetadata<T>
- Type Parameters:
T
- the FST output type
Represents the FST metadata.
-
Constructor Summary
ConstructorsConstructorDescriptionFSTMetadata
(FST.INPUT_TYPE inputType, Outputs<T> outputs, T emptyOutput, long startNode, int version, long numBytes) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the version constant of the binary format this FST was written in.
-
Constructor Details
-
FSTMetadata
public FSTMetadata(FST.INPUT_TYPE inputType, Outputs<T> outputs, T emptyOutput, long startNode, int version, long numBytes)
-
-
Method Details
-
getVersion
public int getVersion()Returns the version constant of the binary format this FST was written in. See thestatic final int VERSION
constants in FST's javadoc, e.g.FST.VERSION_CONTINUOUS_ARCS
.
-