# Blocking transform

## ![](https://4045370068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyxV8XEI7kgTw22LXcPL6%2Fuploads%2FyaZg5Jj5Mc1tSYmqlSjY%2Fimage.png?alt=media\&token=6afe71fa-8449-4183-bd98-5ba83e191be5) Blocking transform

### Description <a href="#description" id="description"></a>

The Blocking transform blocks all output until the very last row is received from the previous transform.

{% hint style="success" %}
The transform blocks until it gets the last row. It does **not** block until the previous transform is finished 100% which is functionality found in the other transform [Blocking until transforms finish](https://docs.primeur.com/data-shaper/data-shaper-designer/pipelines/transforms/blockuntiltransformsfinish).
{% endhint %}

At that point, the last row is sent to the next transform or the complete input is sent off to the next transform. Use the Blocking transform for triggering plugins, stored procedures, Java scripts, …​ or for synchronization purposes.

| Hop Engine | <sup>✓</sup> |
| ---------- | ------------ |
| Spark      | ?            |
| Flink      | ?            |
| Dataflow   | ?            |

### Options

| Option                | Description                                                                                                                     |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Transform name        | Name of the transform; this name has to be unique in a single pipeline.                                                         |
| Pass all rows?        | Determines whether to pass one row or all rows                                                                                  |
| Spool directory       | The directory in which the temporary files are stored if needed; the default is the standard temporary directory for the system |
| Spool-file prefix     | Choose a recognizable prefix to identify the files when they appear in the temp directory                                       |
| Cache size            | The more rows you can store in memory, the faster the transform works                                                           |
| Compress spool files? | Compresses temporary files when they are needed                                                                                 |
