Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents

Overview

This Snap compresses You can use this Snap to compress the contents of a binary stream. For example, you can connect this Snap can be placed before upstream of a File Writer Snap to compress the data before upload. If you would like need to archive and compress multiple files into a single ZIP file, use the ZipFile Write Snap.

...

Snap Type

The Compress Snap is a TRANSFORM-type Snap that transforms the binary documents.

...

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Input 

Document

Binary

Binary or Document

 

  • Min:1

  • Max:1

  • File Reader

  • Compress

Output

Document

Binary

Binary or Document

 

  • Min:1

  • Max:1

  • File Writer

  • Decompress

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:

  • Stop Pipeline Execution: Stops the current pipeline execution when the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

...

Field Name

Field Type

Description

Label*

Default ValueCompress
ExampleCompress

String

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 pipelineSpecify a unique name for the Snap.

Compression Scheme*

Default value: GZIP
ExampleDEFLATE

Dropdown list

The compression scheme to use. The available options includeChoose one of the following compression schemes to compress the data:

  • BZIP2

  • DEFLATE

  • GZIP

Snap Execution

Default Value: Validate & Execute
Example: Execute only

Dropdown list

Multiexcerpt include macro
nameSnap_Execution_Introduced
pageAnaplan Read

...

...

Snap Pack

...

History