class Hive2::Thrift::TTypeQualifierValue

Constants

FIELDS
I32VALUE
STRINGVALUE

Public Class Methods

i32Value(val) click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 151
def i32Value(val)
  TTypeQualifierValue.new(:i32Value, val)
end
stringValue(val) click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 155
def stringValue(val)
  TTypeQualifierValue.new(:stringValue, val)
end

Public Instance Methods

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