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
311 def arrayEntry(val)
312   TTypeEntry.new(:arrayEntry, val)
313 end
mapEntry(val) click to toggle source
    # File lib/thrift/t_c_l_i_service_types.rb
315 def mapEntry(val)
316   TTypeEntry.new(:mapEntry, val)
317 end
primitiveEntry(val) click to toggle source
    # File lib/thrift/t_c_l_i_service_types.rb
307 def primitiveEntry(val)
308   TTypeEntry.new(:primitiveEntry, val)
309 end
structEntry(val) click to toggle source
    # File lib/thrift/t_c_l_i_service_types.rb
319 def structEntry(val)
320   TTypeEntry.new(:structEntry, val)
321 end
unionEntry(val) click to toggle source
    # File lib/thrift/t_c_l_i_service_types.rb
323 def unionEntry(val)
324   TTypeEntry.new(:unionEntry, val)
325 end
userDefinedTypeEntry(val) click to toggle source
    # File lib/thrift/t_c_l_i_service_types.rb
327 def userDefinedTypeEntry(val)
328   TTypeEntry.new(:userDefinedTypeEntry, val)
329 end

Public Instance Methods

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