|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RecordReader
The RecordReader
implements a strategy to read records from BufferedInput
into
RecordBuffer
. DataRecord
implementations implement this interface to read
themselves but other implementations might perform complex transformations or do not read
anything at all.
Method Summary | |
---|---|
DataRecord |
getIncomingRecord()
|
DataRecord |
getResultingRecord()
Returns actual DataRecord that shall be used for subscription. |
void |
readRecord(com.devexperts.io.BufferedInput in,
RecordBuffer buffer,
int cipher,
java.lang.String symbol)
Reads record from the specified input and adds it to the specified cursor. |
Method Detail |
---|
void readRecord(com.devexperts.io.BufferedInput in, RecordBuffer buffer, int cipher, java.lang.String symbol) throws java.io.IOException
DataRecord
implementation of this method reads the record itself,
but other implementations might perform complex transformations or do not read
anything at all.
java.io.IOException
DataRecord getResultingRecord()
null
if this reader does not actually read anything. DataRecord
implementation of this method
returns this
.
DataRecord getIncomingRecord()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |