Class: Hive2::Thrift::TStructTypeEntry

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/thrift/t_c_l_i_service_types.rb

Constant Summary collapse

NAMETOTYPEPTR =
1
FIELDS =
{
  NAMETOTYPEPTR => {:type => ::Thrift::Types::MAP, :name => 'nameToTypePtr', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I32}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



261
# File 'lib/thrift/t_c_l_i_service_types.rb', line 261

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


263
264
265
# File 'lib/thrift/t_c_l_i_service_types.rb', line 263

def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field nameToTypePtr is unset!') unless @nameToTypePtr
end