class Impala::Protocol::TOperationHandle
Constants
- FIELDS
- HASRESULTSET
- MODIFIEDROWCOUNT
- OPERATIONID
- OPERATIONTYPE
Public Instance Methods
struct_fields()
click to toggle source
# File lib/impala/protocol/t_c_l_i_service_types.rb 930 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/impala/protocol/t_c_l_i_service_types.rb 932 def validate 933 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field operationId is unset!') unless @operationId 934 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field operationType is unset!') unless @operationType 935 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field hasResultSet is unset!') if @hasResultSet.nil? 936 unless @operationType.nil? || ::Impala::Protocol::TOperationType::VALID_VALUES.include?(@operationType) 937 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field operationType!') 938 end 939 end