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