class Hive2::Thrift::TGetOperationStatusResp

Constants

ERRORCODE
ERRORMESSAGE
FIELDS
OPERATIONSTATE
SQLSTATE
STATUS

Public Instance Methods

struct_fields() click to toggle source
     # File lib/thrift/t_c_l_i_service_types.rb
1488 def struct_fields; FIELDS; end
validate() click to toggle source
     # File lib/thrift/t_c_l_i_service_types.rb
1490 def validate
1491   raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status
1492   unless @operationState.nil? || ::Hive2::Thrift::TOperationState::VALID_VALUES.include?(@operationState)
1493     raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field operationState!')
1494   end
1495 end