Class: Impala::Protocol::TSlotRef
- Inherits:
-
Object
- Object
- Impala::Protocol::TSlotRef
- 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_fields ⇒ Object
243 |
# File 'lib/impala/protocol/exprs_types.rb', line 243 def struct_fields; FIELDS; end |
#validate ⇒ Object
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 |