public class RecordReader extends Object
| Constructor and Description |
|---|
RecordReader(InputStream in,
String format)
Creates a new instance of RecordReader.
|
public RecordReader(InputStream in, String format)
in - Stream from which to deserialize a recordformat - Deserialization format ("binary", "xml", or "csv")public void read(Record r) throws IOException
r - Record to be deserializedIOExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.