Interface SkipableTableReader

All Superinterfaces:
TableReader
All Known Implementing Classes:
BinaryStoreReaderV1, BinaryStoreReaderV2, SwitchBinaryStoreReader

public interface SkipableTableReader extends TableReader
A table reader that can advance to a given record, return its size, and block instead of returning an EOF. Note that advancing N records is still a linear operation, and requires reading the skipped records from disk.
  • Method Details

    • skipToRecord

      void skipToRecord(long recordNo) throws IOException
      Throws:
      IOException
    • getSize

      long getSize() throws IOException
      Throws:
      IOException
    • setBlocking

      void setBlocking(boolean blocking)
      As implemented, blocking means sleep and retry.