lib/rocket_job/sliced/slice.rb in rocketjob-6.0.0.rc3 vs lib/rocket_job/sliced/slice.rb in rocketjob-6.0.0

- old
+ new

@@ -93,12 +93,16 @@ transitions from: :failed, to: :queued end end # Returns whether this is a specialized binary slice for creating binary data from each slice - # that is then just downloaded as-is into output files. - def self.binary? - false + # that is downloaded without conversion into output files. + def self.binary_format + end + + # For binary formats only, format the supplied records into the binary format for this slice + def self.to_binary(_records) + raise NotImplementedError end # `records` array has special handling so that it can be modified in place instead of having # to replace the entire array every time. For example, when appending lines with `<<`. def records