7. Avro Serialization - Primitive Types
Type
null
boolean
int
long
float
double
bytes
string
Desc
no value
a binary value
long
64-bit signed integer
single precision (32-bit) IEEE 754 floating point number
double precision (64-bit) IEEE 754 floating-point number
sequence of 8-bit unsigned bytes
unicode character sequence
{ “type” : “string” } 의 꼴로 표현된다.
8. Avro Serialization - Complex Types
Type
Desc
Recodes
Use the type name “recode”
Enums
Use the type name “enum”
Arrays
Use the type name “array”
Maps
Use the type name “map”
Unions
Unions are represented using JSON arrays.
Unisons my not contain more than one schema with the same type
Fixed
Use the type name “fixed”
진짜로 Complex하다. 맨뒤 레퍼런스 참고.