On this Page
Table of Contents | ||||
---|---|---|---|---|
|
Snap type: | Format | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: | This Snap provides fixed width formatting for the column values and writes binary data to the output view. Fixed width format for columns has data where every field will have a fixed width. For those fields values where their width is less than the specified width, they will be padded with spaces. The field width is user configurable. | |||||||||||||
Prerequisites: | None. | |||||||||||||
Support and limitations: | Works Does not work in Ultra Pipelines. | |||||||||||||
Account: | Accounts are not used with this Snap. | |||||||||||||
Views: |
| |||||||||||||
Settings | ||||||||||||||
Label | Required. 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. | |||||||||||||
Skip lines | Number of lines to skip at beginning of the data Example: 2 Default value: 0 | |||||||||||||
Line separator | The character used to separate lines in the output. Enter "\n" to separate the lines with a new line character. Default value: \n | |||||||||||||
Add header | This option specifies whether or not the Snap should write the field names while writing the formatted data to the output. Default value: Selected | |||||||||||||
Field configuration | Details to be filled for each field that is required in the output. | |||||||||||||
Input field | Required. Field name to be used while writing the header Example: First Name Last Name Default value: [None] | |||||||||||||
Field width | Required. Fixed width for the field. If the value for this field is less than the specified width, the value will be padded with spaces. Example: 25 Default value: [None] | |||||||||||||
Format type | Required. The format type to be performed on the field value when the field width is less than the specified width. The options available include:
Default value: [None] | |||||||||||||
Action | Required. Action to be performed when the existing field value is larger than the specified width The options available include:
| |||||||||||||
Null-safe access | Enabled: Lets you set the target value to null in case the source path does not exist. | |||||||||||||
|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|