Class: Impala::Protocol::Hive::TRow

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/impala/protocol/cli_service_types.rb

Constant Summary collapse

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

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



596
# File 'lib/impala/protocol/cli_service_types.rb', line 596

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


598
599
600
# File 'lib/impala/protocol/cli_service_types.rb', line 598

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