AvroEx.Schema.Primitive (AvroEx v2.2.1)

Copy Markdown View Source

Functions for handling primitive types in Avro schemas

Summary

Types

primitive()

@type primitive() ::
  :null | :boolean | :int | :long | :float | :double | :bytes | :string

t()

@type t() :: %AvroEx.Schema.Primitive{
  metadata: AvroEx.Schema.metadata(),
  type: primitive()
}