class Hive2::Thrift::TOpenSessionResp
Constants
- CONFIGURATION
- FIELDS
- SERVERPROTOCOLVERSION
- SESSIONHANDLE
- STATUS
Public Instance Methods
struct_fields()
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb 990 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb 992 def validate 993 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status 994 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field serverProtocolVersion is unset!') unless @serverProtocolVersion 995 unless @serverProtocolVersion.nil? || ::Hive2::Thrift::TProtocolVersion::VALID_VALUES.include?(@serverProtocolVersion) 996 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field serverProtocolVersion!') 997 end 998 end