RecordReader (Apache ZooKeeper - Jute 3.7.0 API)
Date: 2021-03-17

org.apache.jute

## Class RecordReader

- java.lang.Object
- - org.apache.jute.RecordReader

-     public class RecordReader
      extends Object

  Front-end interface to deserializers. Also acts as a factory for deserializers.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RecordReader(InputStream in, String format)` Creates a new instance of RecordReader.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `read(Record r)` Deserialize a record.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RecordReader

          public RecordReader(InputStream in,
                              String format)

      Creates a new instance of RecordReader.
      Parameters:
        `in` - Stream from which to deserialize a record
        `format` - Deserialization format ("binary", "xml", or "csv")

  - ### Method Detail

    - #### read

          public void read(Record r)
                    throws IOException

      Deserialize a record.
      Parameters:
        `r` - Record to be deserialized
      Throws:
        `IOException`

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.