class Hive2::Thrift::TGetInfoValue

Constants

BINARYVALUE
FIELDS
INTEGERBITMASK
INTEGERFLAG
LENVALUE
SMALLINTVALUE
STRINGVALUE

Public Class Methods

binaryValue(val) click to toggle source
     # File lib/thrift/t_c_l_i_service_types.rb
1056 def binaryValue(val)
1057   TGetInfoValue.new(:binaryValue, val)
1058 end
integerBitmask(val) click to toggle source
     # File lib/thrift/t_c_l_i_service_types.rb
1048 def integerBitmask(val)
1049   TGetInfoValue.new(:integerBitmask, val)
1050 end
integerFlag(val) click to toggle source
     # File lib/thrift/t_c_l_i_service_types.rb
1052 def integerFlag(val)
1053   TGetInfoValue.new(:integerFlag, val)
1054 end
lenValue(val) click to toggle source
     # File lib/thrift/t_c_l_i_service_types.rb
1060 def lenValue(val)
1061   TGetInfoValue.new(:lenValue, val)
1062 end
smallIntValue(val) click to toggle source
     # File lib/thrift/t_c_l_i_service_types.rb
1044 def smallIntValue(val)
1045   TGetInfoValue.new(:smallIntValue, val)
1046 end
stringValue(val) click to toggle source
     # File lib/thrift/t_c_l_i_service_types.rb
1040 def stringValue(val)
1041   TGetInfoValue.new(:stringValue, val)
1042 end

Public Instance Methods

struct_fields() click to toggle source
     # File lib/thrift/t_c_l_i_service_types.rb
1081 def struct_fields; FIELDS; end
validate() click to toggle source
     # File lib/thrift/t_c_l_i_service_types.rb
1083 def validate
1084   raise(StandardError, 'Union fields are not set.') if get_set_field.nil? || get_value.nil?
1085 end