## Uses of Class
org.apache.avro.file.DataFileWriter

- Packages that use DataFileWriter
  Package | Description
  --- | ---
  org.apache.avro.file | A container file for Avro data.

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

    Methods in org.apache.avro.file that return DataFileWriter
    Modifier and Type | Method and Description
    --- | ---
    `DataFileWriter<D>` | DataFileWriter.`appendTo(File file)` Open a writer appending to an existing file.
    `DataFileWriter<D>` | DataFileWriter.`appendTo(SeekableInput in, OutputStream out)` Open a writer appending to an existing file.
    `DataFileWriter<D>` | DataFileWriter.`create(Schema schema, File file)` Open a new file for data matching a schema with a random sync.
    `DataFileWriter<D>` | DataFileWriter.`create(Schema schema, OutputStream outs)` Open a new file for data matching a schema with a random sync.
    `DataFileWriter<D>` | DataFileWriter.`create(Schema schema, OutputStream outs, byte[] sync)` Open a new file for data matching a schema with an explicit sync.
    `DataFileWriter<D>` | DataFileWriter.`setCodec(CodecFactory c)` Configures this writer to use the given codec.
    `DataFileWriter<D>` | DataFileWriter.`setEncoder(Function<OutputStream,BinaryEncoder> initEncoderFunc)` Allows setting a different encoder than the default DirectBinaryEncoder.
    `DataFileWriter<D>` | DataFileWriter.`setMeta(String key, byte[] value)` Set a metadata property.
    `DataFileWriter<D>` | DataFileWriter.`setMeta(String key, long value)` Set a metadata property.
    `DataFileWriter<D>` | DataFileWriter.`setMeta(String key, String value)` Set a metadata property.
    `DataFileWriter<D>` | DataFileWriter.`setSyncInterval(int syncInterval)` Set the synchronization interval for this file, in bytes.

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