Package com.illumon.iris.binarystore
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.binarystore.TableReader
TableReader.MissingPropertyGetterException -
Method Summary
Modifier and Type Method Description longgetSize()voidsetBlocking(boolean blocking)As implemented, blocking means sleep and retry.voidskipToRecord(long recordNo)Methods inherited from interface com.illumon.iris.binarystore.TableReader
close, getApplicationVersion, getColumnNames, getColumnType, getFlagGetter, getGetter, getGetter, getPropertyGetter, getRecordDataGetter, readAllEntries, readAllEntries, readEntry, readRow
-
Method Details
-
skipToRecord
- Throws:
IOException
-
getSize
- Throws:
IOException
-
setBlocking
void setBlocking(boolean blocking)As implemented, blocking means sleep and retry.
-