public class ConcatenateBinaryRecordReader extends java.lang.Object implements AbstractBinaryRecordReader
| Constructor and Description |
|---|
ConcatenateBinaryRecordReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
concatenateReader(AbstractBinaryRecordReader r)
add the reader to the readers, so that this reader will be used after the
others are used.
|
int |
readRecord(java.nio.ByteBuffer buf)
read data to fill the buffer, or return null if no more data
is available.
|
public void concatenateReader(AbstractBinaryRecordReader r)
r - public int readRecord(java.nio.ByteBuffer buf)
throws java.io.IOException
AbstractBinaryRecordReaderreadRecord in interface AbstractBinaryRecordReaderjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException