class Impala::Protocol::TGetInfoValue

Constants

BINARYVALUE
FIELDS
INTEGERBITMASK
INTEGERFLAG
LENVALUE
SMALLINTVALUE
STRINGVALUE

Public Class Methods

binaryValue(val) click to toggle source
     # File lib/impala/protocol/t_c_l_i_service_types.rb
1050 def binaryValue(val)
1051   TGetInfoValue.new(:binaryValue, val)
1052 end
integerBitmask(val) click to toggle source
     # File lib/impala/protocol/t_c_l_i_service_types.rb
1042 def integerBitmask(val)
1043   TGetInfoValue.new(:integerBitmask, val)
1044 end
integerFlag(val) click to toggle source
     # File lib/impala/protocol/t_c_l_i_service_types.rb
1046 def integerFlag(val)
1047   TGetInfoValue.new(:integerFlag, val)
1048 end
lenValue(val) click to toggle source
     # File lib/impala/protocol/t_c_l_i_service_types.rb
1054 def lenValue(val)
1055   TGetInfoValue.new(:lenValue, val)
1056 end
smallIntValue(val) click to toggle source
     # File lib/impala/protocol/t_c_l_i_service_types.rb
1038 def smallIntValue(val)
1039   TGetInfoValue.new(:smallIntValue, val)
1040 end
stringValue(val) click to toggle source
     # File lib/impala/protocol/t_c_l_i_service_types.rb
1034 def stringValue(val)
1035   TGetInfoValue.new(:stringValue, val)
1036 end

Public Instance Methods

struct_fields() click to toggle source
     # File lib/impala/protocol/t_c_l_i_service_types.rb
1075 def struct_fields; FIELDS; end
validate() click to toggle source
     # File lib/impala/protocol/t_c_l_i_service_types.rb
1077 def validate
1078   raise(StandardError, 'Union fields are not set.') if get_set_field.nil? || get_value.nil?
1079 end