Skip to main content

Module format

Module format 

Source
Expand description

Logic for different Avro container file formats. Avro Writer Formats for Arrow.

Re-exportsΒ§

use crate::compression::CODEC_METADATA_KEY; πŸ”’
use crate::compression::CompressionCodec; πŸ”’
use crate::errors::AvroError; πŸ”’
use crate::schema::AvroSchema; πŸ”’
use crate::schema::AvroSchemaOptions; πŸ”’
use crate::schema::SCHEMA_METADATA_KEY; πŸ”’
use crate::writer::encoder::write_long; πŸ”’
use arrow_schema::Schema; πŸ”’
use rand::Rng; πŸ”’
use std::fmt::Debug; πŸ”’
use std::fmt::Debug; πŸ”’
use std::io::Write; πŸ”’

StructsΒ§

AvroBinaryFormat
Unframed Avro binary streaming format (β€œraw Avro record body bytes (no prefix, no OCF header)”).
AvroOcfFormat
Avro Object Container File (OCF) format writer.
AvroSoeFormat
Raw Avro binary streaming format using Single-Object Encoding per record.

TraitsΒ§

AvroFormat
Format abstraction implemented by each container‐level writer.

FunctionsΒ§

write_bytes πŸ”’
write_string πŸ”’