Class: Hive2::Thrift::TArrayTypeEntry

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

OBJECTTYPEPTR =
1
FIELDS =
{
  OBJECTTYPEPTR => {:type => ::Thrift::Types::I32, :name => 'objectTypePtr'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject


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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)

226
227
228
# File 'lib/thrift/t_c_l_i_service_types.rb', line 226

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