Class: Impala::Protocol::TScanRangeParams
- Inherits:
-
Object
- Object
- Impala::Protocol::TScanRangeParams
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/impala_internal_service_types.rb
Constant Summary collapse
- SCAN_RANGE =
1
- VOLUME_ID =
2
- FIELDS =
{ SCAN_RANGE => { :type => ::Thrift::Types::STRUCT, :name => 'scan_range', :class => Impala::Protocol::TScanRange }, VOLUME_ID => { :type => ::Thrift::Types::I32, :name => 'volume_id', :default => -1, :optional => true } }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
84 |
# File 'lib/impala/protocol/impala_internal_service_types.rb', line 84 def struct_fields; FIELDS; end |
#validate ⇒ Object
86 87 88 |
# File 'lib/impala/protocol/impala_internal_service_types.rb', line 86 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field scan_range is unset!') unless @scan_range end |