Enum Type

Each AvroSchema has a type, with complex types allowing a schema to contain other schemas of the same or different types.

enum Type : int { ... }

Enum members

NameDescription
ARRAY A list of values which all have the same type.
BOOLEAN a binary value
BYTES sequence of 8-bit unsigned bytes
DOUBLE double precision (64-bit) IEEE 754 floating-point number
ENUM An enumerated list of named values.
FIXED A numerical value with a fixed size in bytes.
FLOAT single precision (32-bit) IEEE 754 floating-point number
INT 32-bit signed integer
LONG 64-bit signed integer
MAP An associative array from a string name to values with a given type.
NULL [Primitive Types](https://avro.apache.org/docs/current/spec.html#schema_primitive)

no value

RECORD [Complex Types](https://avro.apache.org/docs/current/spec.html#schema_complex)

A record contains several fields, each with a name and type.

STRING unicode character sequence
UNION A value with has one of several possible types.