All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.avro.thrift.package.html Maven / Gradle / Ivy

There is a newer version: 1.12.0
Show newest version




Thrift compatibility.

Thrift primitive types are mapped to Avro schemas as follows:

Thrift typeAvro schema
bool"boolean"
byte{"type": "int", "thrift": "byte"}
i16{"type": "int", "thrift": "short"}
i32"int"
i64"long"
double"double"
string"string"
binary"bytes"

Thrift complex types are mapped to Avro complex types as follows:

ThriftAvro
structrecord
enumenum
listarray
setarray (Note: "thrift":"set" is added to schema.)
mapmap (Note: only string keys are permitted.)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy