class Hive2::Thrift::TTypeEntry

Constants

ARRAYENTRY
FIELDS
MAPENTRY
PRIMITIVEENTRY
STRUCTENTRY
UNIONENTRY
USERDEFINEDTYPEENTRY

Public Class Methods

arrayEntry(val) click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 311
def arrayEntry(val)
  TTypeEntry.new(:arrayEntry, val)
end
mapEntry(val) click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 315
def mapEntry(val)
  TTypeEntry.new(:mapEntry, val)
end
primitiveEntry(val) click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 307
def primitiveEntry(val)
  TTypeEntry.new(:primitiveEntry, val)
end
structEntry(val) click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 319
def structEntry(val)
  TTypeEntry.new(:structEntry, val)
end
unionEntry(val) click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 323
def unionEntry(val)
  TTypeEntry.new(:unionEntry, val)
end
userDefinedTypeEntry(val) click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb, line 327
def userDefinedTypeEntry(val)
  TTypeEntry.new(:userDefinedTypeEntry, val)
end

Public Instance Methods

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