Overview
You can use this Snap to decompress the contents of a binary stream. For example, if a File Reader Snap was is configured to read a compressed file, you can use this Snap to decompress the contents before passing the data to a parser Snap. It currently supports decompressing files in the GZIP, BZIP2, and DEFLATE compression schemes. The decompression scheme can be explicitly chosen or automatically detected based on the contents of the binary stream. If the compression scheme is set to AUTO and the incoming data is not compressed, the raw input data is passed through without any changes.
Note |
---|
This Snap only uncompresses the compressed files on the first level. It does not decompress the archived folders which are located at the second level and deeper. |
Prerequisites
None.
Support for Ultra Pipelines
- Works in Ultra Pipelines.
- This Snap supports decompression of the following compression schemes:
- GZIP
- BZIP2 (or BZ2)
- DEFLATE
Limitations and Known Issues
None.
Snap Input and Output
Input/Output | Type of View | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| The binary file to be decompressed. |
Output | Document |
|
| The decompressed file. |
Snap Settings
Field Name | Field Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Label* | String | Specify the name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline. Default Value: Decompress | |||||||||
Scheme* | Dropdown list | Specify the decompression scheme to use. The available options include:
Default Value: AUTO
| |||||||||
Snap Execution* | Dropdown list |
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|