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, line 1050 def binaryValue(val) TGetInfoValue.new(:binaryValue, val) end
integerBitmask(val)
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 1042 def integerBitmask(val) TGetInfoValue.new(:integerBitmask, val) end
integerFlag(val)
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 1046 def integerFlag(val) TGetInfoValue.new(:integerFlag, val) end
lenValue(val)
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 1054 def lenValue(val) TGetInfoValue.new(:lenValue, val) end
smallIntValue(val)
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 1038 def smallIntValue(val) TGetInfoValue.new(:smallIntValue, val) end
stringValue(val)
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 1034 def stringValue(val) TGetInfoValue.new(:stringValue, val) end
Public Instance Methods
struct_fields()
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 1075 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 1077 def validate raise(StandardError, 'Union fields are not set.') if get_set_field.nil? || get_value.nil? end