Class: Impala::Protocol::Hive::TGetResultSetMetadataResp
- Inherits:
-
Object
- Object
- Impala::Protocol::Hive::TGetResultSetMetadataResp
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/cli_service_types.rb
Constant Summary collapse
- STATUS =
1
- SCHEMA =
2
- FIELDS =
{ STATUS => {:type => ::Thrift::Types::STRUCT, :name => 'status', :class => ::Impala::Protocol::Hive::TStatus}, SCHEMA => {:type => ::Thrift::Types::STRUCT, :name => 'schema', :class => ::Impala::Protocol::Hive::TTableSchema, :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
1357 |
# File 'lib/impala/protocol/cli_service_types.rb', line 1357 def struct_fields; FIELDS; end |
#validate ⇒ Object
1359 1360 1361 |
# File 'lib/impala/protocol/cli_service_types.rb', line 1359 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status end |