class Impala::Protocol::TTypeNode
Constants
- FIELDS
- SCALAR_TYPE
- STRUCT_FIELDS
- TYPE
Public Instance Methods
struct_fields()
click to toggle source
# File lib/impala/protocol/types_types.rb 144 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/impala/protocol/types_types.rb 146 def validate 147 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field type is unset!') unless @type 148 unless @type.nil? || ::Impala::Protocol::TTypeNodeType::VALID_VALUES.include?(@type) 149 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field type!') 150 end 151 end