class Impala::Protocol::Hive::TGetInfoValue

Constants

BINARYVALUE
FIELDS
INTEGERBITMASK
INTEGERFLAG
LENVALUE
SMALLINTVALUE
STRINGVALUE

Public Class Methods

binaryValue(val) click to toggle source
# File lib/impala/protocol/cli_service_types.rb, line 826
def binaryValue(val)
  TGetInfoValue.new(:binaryValue, val)
end
integerBitmask(val) click to toggle source
# File lib/impala/protocol/cli_service_types.rb, line 818
def integerBitmask(val)
  TGetInfoValue.new(:integerBitmask, val)
end
integerFlag(val) click to toggle source
# File lib/impala/protocol/cli_service_types.rb, line 822
def integerFlag(val)
  TGetInfoValue.new(:integerFlag, val)
end
lenValue(val) click to toggle source
# File lib/impala/protocol/cli_service_types.rb, line 830
def lenValue(val)
  TGetInfoValue.new(:lenValue, val)
end
smallIntValue(val) click to toggle source
# File lib/impala/protocol/cli_service_types.rb, line 814
def smallIntValue(val)
  TGetInfoValue.new(:smallIntValue, val)
end
stringValue(val) click to toggle source
# File lib/impala/protocol/cli_service_types.rb, line 810
def stringValue(val)
  TGetInfoValue.new(:stringValue, val)
end

Public Instance Methods

struct_fields() click to toggle source
# File lib/impala/protocol/cli_service_types.rb, line 851
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/impala/protocol/cli_service_types.rb, line 853
def validate
  raise(StandardError, 'Union fields are not set.') if get_set_field.nil? || get_value.nil?
end