Class: Type
- Inherits:
-
Object
- Object
- Type
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/thrift/hive_metastore_types.rb
Constant Summary collapse
- NAME =
1
- TYPE1 =
2
- TYPE2 =
3
- FIELDS =
{ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}, TYPE1 => {:type => ::Thrift::Types::STRING, :name => 'type1', :optional => true}, TYPE2 => {:type => ::Thrift::Types::STRING, :name => 'type2', :optional => true}, FIELDS => {:type => ::Thrift::Types::LIST, :name => 'fields', :element => {:type => ::Thrift::Types::STRUCT, :class => FieldSchema}, :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
62 |
# File 'lib/thrift/hive_metastore_types.rb', line 62 def struct_fields; FIELDS; end |
#validate ⇒ Object
64 65 |
# File 'lib/thrift/hive_metastore_types.rb', line 64 def validate end |