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 933 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/impala/protocol/t_c_l_i_service_types.rb 935 def validate 936 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field operationId is unset!') unless @operationId 937 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field operationType is unset!') unless @operationType 938 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field hasResultSet is unset!') if @hasResultSet.nil? 939 unless @operationType.nil? || ::Impala::Protocol::TOperationType::VALID_VALUES.include?(@operationType) 940 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field operationType!') 941 end 942 end