Table of Contents

Class AvroFile

Namespace
AvroSharp.Containers
Assembly
AvroSharp.dll

Operations on whole object container files.

public static class AvroFile
Inheritance
AvroFile
Inherited Members

Methods

Concat(Stream, IEnumerable<Stream>, AvroFileReaderOptions?)

Concatenates container files of one schema into one file, block by block, without decoding their objects, as Apache Avro Java's avro-tools concat does. The output has the first input's codec and metadata; blocks of that codec are copied byte for byte, and blocks of any other codec are recompressed. The streams are left open. When an input fails, the output holds the header and the blocks copied before it: write to a temporary file and keep it only on success.

See Also