Package org.apache.lucene.util.fst
Class FST.BytesReader
java.lang.Object
org.apache.lucene.store.DataInput
org.apache.lucene.util.fst.FST.BytesReader
- All Implemented Interfaces:
Cloneable
Reads bytes stored in an FST.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract long
Get current read position.abstract boolean
reversed()
Returns true if this reader uses reversed bytes under-the-hood.abstract void
setPosition
(long pos) Set current read position.Methods inherited from class org.apache.lucene.store.DataInput
clone, readByte, readBytes, readBytes, readFloats, readInt, readLong, readLongs, readMapOfStrings, readSetOfStrings, readShort, readString, readVInt, readVLong, readZInt, readZLong, skipBytes
-
Constructor Details
-
BytesReader
public BytesReader()
-
-
Method Details
-
getPosition
public abstract long getPosition()Get current read position. -
setPosition
public abstract void setPosition(long pos) Set current read position. -
reversed
public abstract boolean reversed()Returns true if this reader uses reversed bytes under-the-hood.
-