Class: Impala::Protocol::Hive::TGetInfoResp
- Inherits:
-
Object
- Object
- Impala::Protocol::Hive::TGetInfoResp
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/cli_service_types.rb
Constant Summary collapse
- STATUS =
1
- INFOVALUE =
2
- FIELDS =
{ STATUS => {:type => ::Thrift::Types::STRUCT, :name => 'status', :class => ::Impala::Protocol::Hive::TStatus}, INFOVALUE => {:type => ::Thrift::Types::STRUCT, :name => 'infoValue', :class => ::Impala::Protocol::Hive::TGetInfoValue} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
893 |
# File 'lib/impala/protocol/cli_service_types.rb', line 893 def struct_fields; FIELDS; end |
#validate ⇒ Object
895 896 897 898 |
# File 'lib/impala/protocol/cli_service_types.rb', line 895 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field infoValue is unset!') unless @infoValue end |