java.lang.Object
org.apache.lucene.store.DataInput
org.apache.lucene.util.fst.FST.BytesReader
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ForwardBytesReader,ReverseBytesReader,ReverseRandomAccessReader
Reads bytes stored in an FST.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract longGet current read position.abstract booleanreversed()Returns true if this reader uses reversed bytes under-the-hood.abstract voidsetPosition(long pos) Set current read position.Methods inherited from class org.apache.lucene.store.DataInput
clone, readByte, readBytes, readBytes, readFloats, readInt, readInts, 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.
-