public class RecordReader
extends java.lang.Object
Constructor and Description |
---|
RecordReader(java.io.InputStream in,
java.lang.String format)
Creates a new instance of RecordReader.
|
Modifier and Type | Method and Description |
---|---|
void |
read(Record r)
Deserialize a record
|
public RecordReader(java.io.InputStream in, java.lang.String format) throws java.io.IOException
in
- Stream from which to deserialize a recordformat
- Deserialization format ("binary", "xml", or "csv")java.io.IOException
public void read(Record r) throws java.io.IOException
r
- Record to be deserializedjava.io.IOException
Copyright © 2019 The Apache Software Foundation