Uses of Interface
org.apache.avro.file.SeekableInput
Package
Description
A container file for Avro data.
Run Hadoop MapReduce jobs over
Avro data, with map and reduce functions written in Java.
-
Uses of SeekableInput in org.apache.avro.file
Modifier and TypeClassDescriptionclass
ASeekableInput
backed with data in a byte array.class
AFileInputStream
that implementsSeekableInput
.Modifier and TypeMethodDescriptionDataFileWriter.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.ModifierConstructorDescriptionDataFileReader
(SeekableInput sin, DatumReader<D> reader) Construct a reader for a file.protected
DataFileReader
(SeekableInput sin, DatumReader<D> reader, boolean closeOnError, byte[] magic) Construct a reader for a file.protected
DataFileReader
(SeekableInput sin, DatumReader<D> reader, DataFileStream.Header header) Construct using aDataFileStream.Header
.DataFileReader12
(SeekableInput sin, DatumReader<D> reader) Construct a reader for a file. -
Uses of SeekableInput in org.apache.avro.mapred
-
Uses of SeekableInput in org.apache.avro.mapreduce
Modifier and TypeMethodDescriptionprotected SeekableInput
AvroRecordReaderBase.createSeekableInput
(Configuration conf, Path path) Creates a seekable input stream to an Avro container file.Modifier and TypeMethodDescriptionprotected DataFileReader
<T> AvroRecordReaderBase.createAvroFileReader
(SeekableInput input, DatumReader<T> datumReader) Creates an Avro container file reader from a seekable input stream.