Class: InstDataShipper::Destinations::Speccable
- Includes:
- Concerns::Chunking
- Defined in:
- lib/inst_data_shipper/destinations/speccable.rb
Constant Summary
Constants included from Concerns::Chunking
Concerns::Chunking::DEFAULT_CHUNK_SIZE
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #chunk_data(generator, table:, extra: nil) ⇒ Object
- #parse_configuration(uri) ⇒ Object
- #upload_data_chunk(table_def, chunk) ⇒ Object
Methods included from Concerns::Chunking
Methods inherited from Base
#cleanup_fatal_error, #config, #finalize_dump, #group_key, #initialize, #initialize_dump, #preinitialize_dump, #user_config
Constructor Details
This class inherits a constructor from InstDataShipper::Destinations::Base
Instance Method Details
#chunk_data(generator, table:, extra: nil) ⇒ Object
6 7 8 9 10 |
# File 'lib/inst_data_shipper/destinations/speccable.rb', line 6 def chunk_data(generator, table:, extra: nil) super(generator) do |batch, idx| yield batch end end |
#parse_configuration(uri) ⇒ Object
14 |
# File 'lib/inst_data_shipper/destinations/speccable.rb', line 14 def parse_configuration(uri); end |
#upload_data_chunk(table_def, chunk) ⇒ Object
12 |
# File 'lib/inst_data_shipper/destinations/speccable.rb', line 12 def upload_data_chunk(table_def, chunk); end |