- java.lang.Object
-
- org.apache.lucene.util.fst.FSTCompiler.NullFSTReader
-
- All Implemented Interfaces:
Accountable
,FSTReader
- Enclosing class:
- FSTCompiler<T>
private static final class FSTCompiler.NullFSTReader extends java.lang.Object implements FSTReader
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 Modifier Constructor Description private
NullFSTReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FST.BytesReader
getReverseBytesReader()
Get the reverse BytesReader for this FSTlong
ramBytesUsed()
Return the memory usage of this object in bytes.void
writeTo(DataOutput out)
Write this FST to another DataOutput-
Methods 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
-
-
-
-
Method Detail
-
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
public FST.BytesReader getReverseBytesReader()
Description copied from interface:FSTReader
Get the reverse BytesReader for this FST- Specified by:
getReverseBytesReader
in interfaceFSTReader
- Returns:
- the reverse BytesReader
-
writeTo
public void writeTo(DataOutput out)
Description copied from interface:FSTReader
Write this FST to another DataOutput
-
-