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
1053 def binaryValue(val)
1054   TGetInfoValue.new(:binaryValue, val)
1055 end
integerBitmask(val) click to toggle source
     # File lib/impala/protocol/t_c_l_i_service_types.rb
1045 def integerBitmask(val)
1046   TGetInfoValue.new(:integerBitmask, val)
1047 end
integerFlag(val) click to toggle source
     # File lib/impala/protocol/t_c_l_i_service_types.rb
1049 def integerFlag(val)
1050   TGetInfoValue.new(:integerFlag, val)
1051 end
lenValue(val) click to toggle source
     # File lib/impala/protocol/t_c_l_i_service_types.rb
1057 def lenValue(val)
1058   TGetInfoValue.new(:lenValue, val)
1059 end
smallIntValue(val) click to toggle source
     # File lib/impala/protocol/t_c_l_i_service_types.rb
1041 def smallIntValue(val)
1042   TGetInfoValue.new(:smallIntValue, val)
1043 end
stringValue(val) click to toggle source
     # File lib/impala/protocol/t_c_l_i_service_types.rb
1037 def stringValue(val)
1038   TGetInfoValue.new(:stringValue, val)
1039 end

Public Instance Methods

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