# Package org.apache.avro.file

A container file for Avro data.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  FileReader<D> | Interface for reading data from a file.
  SeekableInput | An InputStream that supports seek and tell.
  Syncable |

- Class Summary
  Class | Description
  --- | ---
  BZip2Codec | Implements bzip2 compression and decompression.
  Codec | Interface for Avro-supported compression codecs for data files.
  CodecFactory | Encapsulates the ability to specify and configure a compression codec.
  DataFileConstants | Constants used in data files.
  DataFileReader<D> | Random access to files written with `DataFileWriter`.
  DataFileReader12<D> | Read files written by Avro version 1.2.
  DataFileStream<D> | Streaming access to files written by `DataFileWriter`.
  DataFileStream.Header | A handle that can be used to reopen a DataFile without re-reading the header of the stream.
  DataFileWriter<D> | Stores in a file a sequence of data conforming to a schema.
  DeflateCodec | Implements DEFLATE (RFC1951) compression and decompression.
  SeekableByteArrayInput | A `SeekableInput` backed with data in a byte array.
  SeekableFileInput | A `FileInputStream` that implements `SeekableInput`.
  SnappyCodec | Implements Snappy compression and decompression.
  SyncableFileOutputStream | An implementation of Syncable which writes to a file.
  XZCodec | Implements xz compression and decompression.
  ZstandardCodec |

- Exception Summary
  Exception | Description
  --- | ---
  DataFileWriter.AppendWriteException | Thrown by `DataFileWriter.append(Object)` when an exception occurs while writing a datum to the buffer.

## Package org.apache.avro.file Description

A container file for Avro data.

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