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 java.lang.Object implements org.apache.lucene.store.RandomAccessInput
IndexInput
adapter that exposes it as aRandomAccessInput
.
-
-
Constructor Summary
Constructors Constructor Description SeekingRandomAccessInput(org.apache.lucene.store.IndexInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
readByte(long pos)
int
readInt(long pos)
long
readLong(long pos)
short
readShort(long pos)
java.lang.String
toString()
-
-
-
Method Detail
-
readByte
public byte readByte(long pos) throws java.io.IOException
- Specified by:
readByte
in interfaceorg.apache.lucene.store.RandomAccessInput
- Throws:
java.io.IOException
-
readShort
public short readShort(long pos) throws java.io.IOException
- Specified by:
readShort
in interfaceorg.apache.lucene.store.RandomAccessInput
- Throws:
java.io.IOException
-
readInt
public int readInt(long pos) throws java.io.IOException
- Specified by:
readInt
in interfaceorg.apache.lucene.store.RandomAccessInput
- Throws:
java.io.IOException
-
readLong
public long readLong(long pos) throws java.io.IOException
- Specified by:
readLong
in interfaceorg.apache.lucene.store.RandomAccessInput
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-