java.lang.Object
org.apache.lucene.util.fst.FSTCompiler.NullFSTReader
- All Implemented Interfaces:
Accountable
,FSTReader
- Enclosing class:
FSTCompiler<T>
This class is used for FST backed by non-FSTReader DataOutput. It does not allow getting the
reverse BytesReader nor writing to a DataOutput.
-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the reverse BytesReader for this FSTlong
Return the memory usage of this object in bytes.void
writeTo
(DataOutput out) Write this FST to another DataOutputMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
Constructor Details
-
NullFSTReader
private NullFSTReader()
-
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()Description copied from interface:Accountable
Return the memory usage of this object in bytes. Negative values are illegal.- Specified by:
ramBytesUsed
in interfaceAccountable
-
getReverseBytesReader
Description copied from interface:FSTReader
Get the reverse BytesReader for this FST- Specified by:
getReverseBytesReader
in interfaceFSTReader
- Returns:
- the reverse BytesReader
-
writeTo
Description copied from interface:FSTReader
Write this FST to another DataOutput
-