Class: GazetteerImport
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- GazetteerImport
- Includes:
- Housekeeping
- Defined in:
- app/models/gazetteer_import.rb
Overview
A GazetteerImport tracks the progress of a gazetteer import job.
Instance Attribute Summary collapse
-
#ended_at ⇒ DateTime
When processing ended.
-
#error_messages ⇒ String
A digest of all errors encountered during shapefile processing.
-
#num_records ⇒ Integer
The total number of records to be imported by this job.
-
#num_records_imported ⇒ Integer
The total number of records successfully imported by this job so far.
-
#project_id ⇒ Integer
The project from which the import job is run (the job may import gazetteers into other projects as well - see project_names).
-
#project_names ⇒ String
A string list of the names of the projects into which these gazetteers are being imported (for reporting purposes).
-
#started_at ⇒ DateTime
When processing began.
Method Summary
Methods included from Housekeeping
#has_polymorphic_relationship?
Methods inherited from ApplicationRecord
Instance Attribute Details
#ended_at ⇒ DateTime
When processing ended
33 34 35 |
# File 'app/models/gazetteer_import.rb', line 33 class GazetteerImport < ApplicationRecord include Housekeeping end |
#error_messages ⇒ String
A digest of all errors encountered during shapefile processing
33 34 35 |
# File 'app/models/gazetteer_import.rb', line 33 class GazetteerImport < ApplicationRecord include Housekeeping end |
#num_records ⇒ Integer
The total number of records to be imported by this job
33 34 35 |
# File 'app/models/gazetteer_import.rb', line 33 class GazetteerImport < ApplicationRecord include Housekeeping end |
#num_records_imported ⇒ Integer
The total number of records successfully imported by this job so far
33 34 35 |
# File 'app/models/gazetteer_import.rb', line 33 class GazetteerImport < ApplicationRecord include Housekeeping end |
#project_id ⇒ Integer
The project from which the import job is run (the job may import gazetteers into other projects as well - see project_names)
33 34 35 |
# File 'app/models/gazetteer_import.rb', line 33 class GazetteerImport < ApplicationRecord include Housekeeping end |
#project_names ⇒ String
A string list of the names of the projects into which these gazetteers are being imported (for reporting purposes)
33 34 35 |
# File 'app/models/gazetteer_import.rb', line 33 class GazetteerImport < ApplicationRecord include Housekeeping end |
#started_at ⇒ DateTime
When processing began
33 34 35 |
# File 'app/models/gazetteer_import.rb', line 33 class GazetteerImport < ApplicationRecord include Housekeeping end |