Class: Impala::Protocol::Hive::TGetLogResp
- Inherits:
-
Object
- Object
- Impala::Protocol::Hive::TGetLogResp
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/cli_service_types.rb
Constant Summary collapse
- STATUS =
1
- LOG =
2
- FIELDS =
{ STATUS => {:type => ::Thrift::Types::STRUCT, :name => 'status', :class => ::Impala::Protocol::Hive::TStatus}, LOG => {:type => ::Thrift::Types::STRING, :name => 'log'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
1440 |
# File 'lib/impala/protocol/cli_service_types.rb', line 1440 def struct_fields; FIELDS; end |
#validate ⇒ Object
1442 1443 1444 1445 |
# File 'lib/impala/protocol/cli_service_types.rb', line 1442 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 log is unset!') unless @log end |