## Uses of Interface
org.apache.avro.file.SeekableInput

- Packages that use SeekableInput
  Package | Description
  --- | ---
  org.apache.avro.file | A container file for Avro data.
  org.apache.avro.mapred | Run Hadoop MapReduce jobs over Avro data, with map and reduce functions written in Java.
  org.apache.avro.mapreduce |

- - ### Uses of SeekableInput in org.apache.avro.file

    Classes in org.apache.avro.file that implement SeekableInput
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SeekableByteArrayInput` A `SeekableInput` backed with data in a byte array.
    `class` | `SeekableFileInput` A `FileInputStream` that implements `SeekableInput`.

    Methods in org.apache.avro.file with parameters of type SeekableInput
    Modifier and Type | Method and Description
    --- | ---
    `DataFileWriter<D>` | DataFileWriter.`appendTo(SeekableInput in, OutputStream out)` Open a writer appending to an existing file.
    `static <D> FileReader<D>` | DataFileReader.`openReader(SeekableInput in, DatumReader<D> reader)` Open a reader for a file.
    `static <D> DataFileReader<D>` | DataFileReader.`openReader(SeekableInput in, DatumReader<D> reader, DataFileStream.Header header, boolean sync)` Construct a reader for a file at the current position of the input, without reading the header.

    Constructors in org.apache.avro.file with parameters of type SeekableInput
    Constructor and Description
    `DataFileReader(SeekableInput sin, DatumReader<D> reader)` Construct a reader for a file.
    `DataFileReader(SeekableInput sin, DatumReader<D> reader, boolean closeOnError, byte[] magic)` Construct a reader for a file.
    `DataFileReader(SeekableInput sin, DatumReader<D> reader, DataFileStream.Header header)` Construct using a `DataFileStream.Header`.
    `DataFileReader12(SeekableInput sin, DatumReader<D> reader)` Construct a reader for a file.

  - ### Uses of SeekableInput in org.apache.avro.mapred

    Classes in org.apache.avro.mapred that implement SeekableInput
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FsInput` Adapt an `FSDataInputStream` to `SeekableInput`.

  - ### Uses of SeekableInput in org.apache.avro.mapreduce

    Methods in org.apache.avro.mapreduce that return SeekableInput
    Modifier and Type | Method and Description
    --- | ---
    `protected SeekableInput` | AvroRecordReaderBase.`createSeekableInput(Configuration conf, Path path)` Creates a seekable input stream to an Avro container file.

    Methods in org.apache.avro.mapreduce with parameters of type SeekableInput
    Modifier and Type | Method and Description
    --- | ---
    `protected DataFileReader<T>` | AvroRecordReaderBase.`createAvroFileReader(SeekableInput input, DatumReader<T> datumReader)` Creates an Avro container file reader from a seekable input stream.

Copyright © 2009–2024 The Apache Software Foundation. All rights reserved.