Class: Avro::Builder::Types::MapType
- Inherits:
-
ComplexType
- Object
- Type
- ComplexType
- Avro::Builder::Types::MapType
- Includes:
- TypeReferencer
- Defined in:
- lib/avro/builder/types/map_type.rb
Constant Summary
Constants included from Avro::Builder::TypeFactory
Avro::Builder::TypeFactory::BUILTIN_TYPES, Avro::Builder::TypeFactory::COMPLEX_TYPES, Avro::Builder::TypeFactory::NAMED_TYPES
Constants included from DslAttributes
DslAttributes::ATTRIBUTE_NAMES
Instance Attribute Summary
Attributes inherited from Type
Instance Method Summary collapse
Methods inherited from ComplexType
avro_type_name, #initialize, #namespace
Methods inherited from Type
#abstract?, #cache!, #configure_options, #dsl_method?, #dsl_respond_to?, #initialize, #namespace, #serialize, #to_h, union_with_null
Methods included from Metadata
attribute?, #method_missing, register, reset!, #respond_to_missing?
Methods included from DslAttributes
Methods included from DslOptions
Constructor Details
This class inherits a constructor from Avro::Builder::Types::ComplexType
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Avro::Builder::Metadata
Instance Method Details
#validate! ⇒ Object
17 18 19 |
# File 'lib/avro/builder/types/map_type.rb', line 17 def validate! validate_required_attribute!(:values) end |