Table of Contents

Class AvroFileWriterOptions

Namespace
AvroSharp.Containers
Assembly
AvroSharp.dll

Options for AvroFileWriter<T>.

public sealed class AvroFileWriterOptions
Inheritance
AvroFileWriterOptions
Inherited Members

Fields

DefaultSyncInterval

The default SyncInterval: 64 KiB.

Properties

Codec

Gets the codec that compresses each block. The default is Null.

Default

Gets the default options.

LeaveOpen

Gets whether disposing the writer leaves the stream open. The default is false.

Metadata

Gets the application metadata written to the file header. Keys beginning with avro. are reserved by the specification and rejected; strings are conventionally stored as UTF-8.

SyncInterval

Gets the approximate size of a block before compression: a block is written once its encoded objects reach this many bytes. The default is DefaultSyncInterval.

See Also