Class: Hive2::Thrift::TTypeQualifiers

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

QUALIFIERS =
1
FIELDS =
{
  QUALIFIERS => {:type => ::Thrift::Types::MAP, :name => 'qualifiers', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Hive2::Thrift::TTypeQualifierValue}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject


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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)

187
188
189
# File 'lib/thrift/t_c_l_i_service_types.rb', line 187

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