Class: Impala::Protocol::TSlotRef

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

Constant Summary collapse

SLOT_ID =
1
FIELDS =
{
SLOT_ID => { :type => ::Thrift::Types::I32, :name => 'slot_id' }
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



243
# File 'lib/impala/protocol/exprs_types.rb', line 243

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


245
246
247
# File 'lib/impala/protocol/exprs_types.rb', line 245

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