class Hive2::Thrift::TColumnValue
Constants
- BOOLVAL
- BYTEVAL
- DOUBLEVAL
- FIELDS
- I16VAL
- I32VAL
- I64VAL
- STRINGVAL
Public Class Methods
boolVal(val)
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb 531 def boolVal(val) 532 TColumnValue.new(:boolVal, val) 533 end
byteVal(val)
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb 535 def byteVal(val) 536 TColumnValue.new(:byteVal, val) 537 end
doubleVal(val)
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb 551 def doubleVal(val) 552 TColumnValue.new(:doubleVal, val) 553 end
i16Val(val)
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb 539 def i16Val(val) 540 TColumnValue.new(:i16Val, val) 541 end
i32Val(val)
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb 543 def i32Val(val) 544 TColumnValue.new(:i32Val, val) 545 end
i64Val(val)
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb 547 def i64Val(val) 548 TColumnValue.new(:i64Val, val) 549 end
stringVal(val)
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb 555 def stringVal(val) 556 TColumnValue.new(:stringVal, val) 557 end
Public Instance Methods
struct_fields()
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb 578 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/thrift/t_c_l_i_service_types.rb 580 def validate 581 raise(StandardError, 'Union fields are not set.') if get_set_field.nil? || get_value.nil? 582 end