class Impala::Protocol::TOpenSessionResp

Constants

CONFIGURATION
FIELDS
SERVERPROTOCOLVERSION
SESSIONHANDLE
STATUS

Public Instance Methods

struct_fields() click to toggle source
    # File lib/impala/protocol/t_c_l_i_service_types.rb
984 def struct_fields; FIELDS; end
validate() click to toggle source
    # File lib/impala/protocol/t_c_l_i_service_types.rb
986 def validate
987   raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status
988   raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field serverProtocolVersion is unset!') unless @serverProtocolVersion
989   unless @serverProtocolVersion.nil? || ::Impala::Protocol::TProtocolVersion::VALID_VALUES.include?(@serverProtocolVersion)
990     raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field serverProtocolVersion!')
991   end
992 end