Package com.illumon.iris.binarystore
Class BinaryStoreReaderV1
java.lang.Object
com.illumon.iris.binarystore.AbstractBinaryStoreReader
com.illumon.iris.binarystore.AbstractBinaryStoreReaderV1
com.illumon.iris.binarystore.BinaryStoreReaderV1
- All Implemented Interfaces:
BinaryStoreReader,SkipableTableReader,TableReader
@Deprecated
public class BinaryStoreReaderV1
extends AbstractBinaryStoreReaderV1
implements SkipableTableReader
Deprecated.
Table reader for Version 1 of the binary store.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.iris.binarystore.AbstractBinaryStoreReader
AbstractBinaryStoreReader.MissingGetterException -
Field Summary
Fields inherited from class com.illumon.iris.binarystore.AbstractBinaryStoreReader
columnNames, columnTypes, dataBuffer, mask, rowGetters, typeMetadata -
Constructor Summary
ConstructorsConstructorDescriptionBinaryStoreReaderV1(@NotNull File path) Deprecated.BinaryStoreReaderV1(@NotNull String path) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated.Close the input source for this TableReader.longgetSize()Deprecated.protected voidreadData(int minAmount, ByteBuffer dataBuffer) Deprecated.If this reader is not in blocking mode, read up to dataBuffer.remaining() bytes and return.voidseek(long position) Deprecated.voidsetBlocking(boolean blocking) Deprecated.As implemented, blocking means sleep and retry.voidskipToRecord(long recordNo) Deprecated.Methods inherited from class com.illumon.iris.binarystore.AbstractBinaryStoreReaderV1
getApplicationVersion, getFlagGetter, readHeader, readRowMethods inherited from class com.illumon.iris.binarystore.AbstractBinaryStoreReader
getColumnNames, getColumnType, getGetter, getGetter, getTypeMetadataString, handleRecord, handleRow, readDataBuffer, readHeader, readIntoByteBuffer, setRecordHandler, setRowHandlerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.binarystore.TableReader
getApplicationVersion, getColumnNames, getColumnType, getFlagGetter, getGetter, getGetter, getPropertyGetter, getRecordDataGetter, readAllEntries, readAllEntries, readAllEntries, readEntry, readRow
-
Constructor Details
-
BinaryStoreReaderV1
Deprecated.- Throws:
IOException
-
BinaryStoreReaderV1
Deprecated.- Throws:
IOException
-
-
Method Details
-
setBlocking
public void setBlocking(boolean blocking) Deprecated.Description copied from interface:SkipableTableReaderAs implemented, blocking means sleep and retry.- Specified by:
setBlockingin interfaceSkipableTableReader
-
getSize
Deprecated.- Specified by:
getSizein interfaceSkipableTableReader- Throws:
IOException
-
skipToRecord
Deprecated.- Specified by:
skipToRecordin interfaceSkipableTableReader- Throws:
IOException
-
seek
Deprecated.- Throws:
IOException
-
close
Deprecated.Description copied from interface:TableReaderClose the input source for this TableReader.- Specified by:
closein interfaceTableReader- Throws:
IOException
-
readData
Deprecated.If this reader is not in blocking mode, read up to dataBuffer.remaining() bytes and return.If blocking, read at least minAmount bytes from the input channel. Sleep 1 second between attempts to get more data up to minAmount. Do not acknowledge EOF, hoping more data will appear.
- Specified by:
readDatain classAbstractBinaryStoreReader- Parameters:
minAmount- don't return without this many bytes (if blocking)dataBuffer- put the bytes in ths buffer.- Throws:
IOException
-