class Impala::Protocol::TScalarType
Constants
- FIELDS
- LEN
- PRECISION
- SCALE
- TYPE
Public Instance Methods
struct_fields()
click to toggle source
# File lib/impala/protocol/types_types.rb 101 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/impala/protocol/types_types.rb 103 def validate 104 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field type is unset!') unless @type 105 unless @type.nil? || ::Impala::Protocol::TPrimitiveType::VALID_VALUES.include?(@type) 106 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field type!') 107 end 108 end