Avrogen.Avro.Types.Primitive (avrogen v1.1.0)

Copy Markdown View Source

This type is a representation of the Avro array type.

Summary

Types

primitive_type()

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

t()

@type t() :: %Avrogen.Avro.Types.Primitive{type: primitive_type() | nil}

Functions

default_value(atom)

encode_type(atom)

guard_clause(atom)

is_primitive(value)

(macro)

null()

parse(value)

parse_type(binary)