Class: Hive2::Thrift::TRow

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

COLVALS =
1
FIELDS =
{
  COLVALS => {:type => ::Thrift::Types::LIST, :name => 'colVals', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Hive2::Thrift::TColumnValue}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


597
598
599
# File 'lib/thrift/t_c_l_i_service_types.rb', line 597

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