Class: Impala::Protocol::HiveMetastore::Type

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/impala/protocol/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 }
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



87
# File 'lib/impala/protocol/hive_metastore_types.rb', line 87

def struct_fields; FIELDS; end

#validateObject



89
90
# File 'lib/impala/protocol/hive_metastore_types.rb', line 89

def validate
end