Method: QueueryClient::ManifestFile#column_types

Defined in:
lib/queuery_client/manifest_file.rb

#column_typesObject



9
10
11
12
13
14
15
16
17
18
# File 'lib/queuery_client/manifest_file.rb', line 9

def column_types
  @column_types ||=
    begin
      f = open
      j = JSON.load(f)
      j['schema']['elements'].map{|x| x['type']['base']}
    ensure
      f.close
    end
end