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
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.abstract voidskipBytes(int count) Skips bytes.Methods inherited from class org.apache.lucene.store.DataInput
clone, readByte, readBytes, readBytes, readInt, readLong, readShort, readString, readStringSet, readStringStringMap, readVInt, readVLong
-
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. -
skipBytes
public abstract void skipBytes(int count) Skips bytes.
-