Class: Hive2::Thrift::TUserDefinedTypeEntry

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

TYPECLASSNAME =
1
FIELDS =
{
  TYPECLASSNAME => {:type => ::Thrift::Types::STRING, :name => 'typeClassName'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


297
298
299
# File 'lib/thrift/t_c_l_i_service_types.rb', line 297

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