Class: Icss::EnumerableType

Inherits:
Type
  • Object
show all
Defined in:
lib/icss/type.rb

Overview

base class for Avro enumerable types (array, map and union)

(do not confuse with EnumType, which is not an EnumerableType. sigh).

Direct Known Subclasses

ArrayType, MapType, UnionType

Constant Summary

Constants inherited from Type

Type::PRIMITIVE_TYPES

Instance Method Summary collapse

Methods inherited from Type

find, pig_name, primitive?, #primitive?, #title, #to_json

Instance Method Details

#to_hashObject



390
391
392
# File 'lib/icss/type.rb', line 390

def to_hash
  super.merge( :type => type.to_s )
end