Module: Avro::Builder::TypeFactory
- Included in:
- DSL, Field, Avro::Builder::Types::TypeReferencer
- Defined in:
- lib/avro/builder/type_factory.rb
Overview
This concern is used by classes that create new Type instances.
Constant Summary collapse
- COMPLEX_TYPES =
Set.new(%w(array enum fixed map record union).map(&:freeze)).freeze
- BUILTIN_TYPES =
Avro::Schema::PRIMITIVE_TYPES.union(COMPLEX_TYPES).freeze