Package org.apache.lucene.util.fst
Interface FSTReader
-
- All Superinterfaces:
Accountable
- All Known Subinterfaces:
FSTStore
- All Known Implementing Classes:
OffHeapFSTStore
,OnHeapFSTStore
public interface FSTReader extends Accountable
Abstraction for reading bytes necessary for FST.
-
-
Field Summary
-
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FST.BytesReader
getReverseBytesReader()
Get the reverse BytesReader for this FSTvoid
writeTo(DataOutput out)
Write this FST to another DataOutput-
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources, ramBytesUsed
-
-
-
-
Method Detail
-
getReverseBytesReader
FST.BytesReader getReverseBytesReader()
Get the reverse BytesReader for this FST- Returns:
- the reverse BytesReader
-
writeTo
void writeTo(DataOutput out) throws IOException
Write this FST to another DataOutput- Parameters:
out
- the DataOutput- Throws:
IOException
- if exception occurred during writing
-
-