Class: Impala::Protocol::Hive::TFetchResultsResp
- Inherits:
-
Object
- Object
- Impala::Protocol::Hive::TFetchResultsResp
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/cli_service_types.rb
Constant Summary collapse
- STATUS =
1
- HASMOREROWS =
2
- RESULTS =
3
- FIELDS =
{ STATUS => {:type => ::Thrift::Types::STRUCT, :name => 'status', :class => ::Impala::Protocol::Hive::TStatus}, HASMOREROWS => {:type => ::Thrift::Types::BOOL, :name => 'hasMoreRows', :optional => true}, RESULTS => {:type => ::Thrift::Types::STRUCT, :name => 'results', :class => ::Impala::Protocol::Hive::TRowSet, :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
1404 |
# File 'lib/impala/protocol/cli_service_types.rb', line 1404 def struct_fields; FIELDS; end |
#validate ⇒ Object
1406 1407 1408 |
# File 'lib/impala/protocol/cli_service_types.rb', line 1406 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status end |