...
Snap type:
Transform
...
Description:
...
In this article
Table of Contents |
---|
Overview
You can use this Snap to compress the contents of a binary stream. For example, you can connect this Snap
...
upstream of a File Writer Snap to compress the data before upload.
...
If you need to archive and compress multiple files into a single ZIP file, use the ZipFile Write Snap.
...
[None]
...
- Ultra pipelines: Works in Ultra Pipelines.
- Spark mode: Not supported in Spark mode.
...
Accounts are not used with this Snap.
...
Input | This Snap has exactly one binary input view. |
---|---|
Output | This Snap has exactly one document output view. |
Error | This Snap has at most one binary error view and produces binaries in the view. |
...
Settings
Label
...
Compression Scheme
...
Snap Type
The Compress Snap is a TRANSFORM-type Snap that transforms the binary documents.
Prerequisites
None.
Support for Ultra Pipelines
Works in Ultra Pipelines.
Limitations and Known Issues
None.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Binary
|
|
| The Binary file to be compressed. |
Output | Binary
|
|
| The Binary file in the specified compression format:
|
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:
Learn more about Error handling in Pipelines. |
Snap Settings
Info |
---|
|
Field Name | Field Type | Description |
---|---|---|
Label* Default Value: Compress | String | Specify a unique name for the Snap. |
Compression Scheme* Default value: GZIP | Dropdown list | Choose one of the following compression schemes to compress the data:
|
Snap Execution Default |
...
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Value: |
---|
...
Validate & Execute | Dropdown list |
|
---|
...
...
Snap Pack
...