com.devexperts.qd.kit
Class RecordReaderSkipper
java.lang.Object
com.devexperts.qd.kit.RecordReaderSkipper
- All Implemented Interfaces:
- RecordReader
public final class RecordReaderSkipper
- extends java.lang.Object
- implements RecordReader
Reads records from BufferedInput
, but does not add anything into RecordBuffer
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordReaderSkipper
public RecordReaderSkipper(DataRecord record)
readRecord
public void readRecord(com.devexperts.io.BufferedInput in,
RecordBuffer buffer,
int cipher,
java.lang.String symbol)
throws java.io.IOException
- Description copied from interface:
RecordReader
- Reads record from the specified input and adds it to the specified cursor.
DataRecord
implementation of this method reads the record itself,
but other implementations might perform complex transformations or do not read
anything at all.
- Specified by:
readRecord
in interface RecordReader
- Throws:
java.io.IOException
getResultingRecord
public DataRecord getResultingRecord()
- Description copied from interface:
RecordReader
- Returns actual DataRecord that shall be used for subscription. It might return
null
if this reader does not actually read anything. DataRecord
implementation of this method
returns this
.
- Specified by:
getResultingRecord
in interface RecordReader
getIncomingRecord
public DataRecord getIncomingRecord()
- Specified by:
getIncomingRecord
in interface RecordReader