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
  Enclosing class:
    FST<T>

      public abstract static class FST.BytesReader
      extends DataInput

  Reads bytes stored in an FST.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BytesReader()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract long` | `getPosition()` 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, readInt, readLong, readMapOfStrings, readSetOfStrings, readShort, readString, readVInt, readVLong, readZInt, readZLong, skipBytes`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BytesReader

          public BytesReader()

  - ### Method Detail

    - #### 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.

Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.