Class: ExportToGcloud::PGExporter
- Defined in:
- lib/export_to_gcloud/exporters/pg_exporter.rb
Class Attribute Summary collapse
-
.default_executor ⇒ Object
Returns the value of attribute default_executor.
Class Method Summary collapse
Methods inherited from Exporter
#add_data_part, #bq_table, define, #get_storage_files, #initialize, #local_file_path, #process_all_parts!, #process_part!, #recreate_bq_table!, #start_load_job, #storage_file_path, #upload_file!
Constructor Details
This class inherits a constructor from ExportToGcloud::Exporter
Class Attribute Details
.default_executor ⇒ Object
Returns the value of attribute default_executor.
12 13 14 |
# File 'lib/export_to_gcloud/exporters/pg_exporter.rb', line 12 def default_executor @default_executor end |
Class Method Details
.validate_definition!(definition) ⇒ Object
6 7 8 |
# File 'lib/export_to_gcloud/exporters/pg_exporter.rb', line 6 def self.validate_definition! definition definition.get_sql_executor || default_executor || raise('`sql_executor` needs to be defined!') end |