Class: RocketJob::Sliced::EncryptedBZip2OutputSlice
- Defined in:
- lib/rocket_job/sliced/encrypted_bzip2_output_slice.rb
Overview
This is a specialized output serializer that renders each output slice as a single BZip2 compressed stream. BZip2 allows multiple output streams to be written into a single BZip2 file.
Notes:
-
The ‘bzip2` linux command line utility supports multiple embedded BZip2 stream, but some other custom implementations may not. They may only read the first slice and stop.
-
It is only designed for use on output collections.
Class Method Summary collapse
-
.binary_format ⇒ Object
This is a specialized binary slice for creating BZip2 binary data from each slice that must be downloaded as-is into output files.
Methods inherited from Slice
#as_attributes, #current_record_number, #fail_on_exception!, #failed_record, #inspect, #records, #records=, #set_exception, to_binary
Class Method Details
.binary_format ⇒ Object
This is a specialized binary slice for creating BZip2 binary data from each slice that must be downloaded as-is into output files.
13 14 15 |
# File 'lib/rocket_job/sliced/encrypted_bzip2_output_slice.rb', line 13 def self.binary_format :bz2 end |