Class SeekingRandomAccessInput

java.lang.Object
org.apache.cassandra.index.sai.disk.io.SeekingRandomAccessInput
All Implemented Interfaces:
org.apache.lucene.store.RandomAccessInput

public class SeekingRandomAccessInput extends Object implements org.apache.lucene.store.RandomAccessInput
IndexInput adapter that exposes it as a RandomAccessInput.
  • Constructor Details

    • SeekingRandomAccessInput

      public SeekingRandomAccessInput(org.apache.lucene.store.IndexInput in)
  • Method Details

    • readByte

      public byte readByte(long pos) throws IOException
      Specified by:
      readByte in interface org.apache.lucene.store.RandomAccessInput
      Throws:
      IOException
    • readShort

      public short readShort(long pos) throws IOException
      Specified by:
      readShort in interface org.apache.lucene.store.RandomAccessInput
      Throws:
      IOException
    • readInt

      public int readInt(long pos) throws IOException
      Specified by:
      readInt in interface org.apache.lucene.store.RandomAccessInput
      Throws:
      IOException
    • readLong

      public long readLong(long pos) throws IOException
      Specified by:
      readLong in interface org.apache.lucene.store.RandomAccessInput
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object