Hitachi Vantara Pentaho Community Wiki
Child pages
  • Properties Output
Skip to end of metadata
Go to start of metadata

Description

This step outputs a set of rows of data to a Java properties files. For more information on this file format, read this: http://en.wikipedia.org/wiki/.properties.

The data needs to be structured in a key/value format to be usable for a properties file.

See also: Property Input and the Row Normaliser steps.

General tab

Option

Definition

Step name

The name of this step as it appears in the transformation workspace.

Key field

The input field name that will contain the key part to be written to the properties file.

Value field

The input field name that will contain the value part to be written to the properties file.

Comment

Short comment that is going to be copied into the properties file (at the top).NOTE: Only the first line is commented out. The next ones need to be commented by the user.

Content

Option

Definition

Filename

The filename without the file extension.

Append

Check this option to update an existing property file. Properties in the file that are not processed by the step will remain unchanged.

Create parent folder

Check this option if you want to automatically create the parent folder.

Accept file name from field?

Check this option if the file name is specified in an input stream field.

File name field

Specifies the field that contains the name of the file to write to.

Extension

Specify the file extension. Usually this is "properties".

Include stepnr in filename

Includes the step number (when running in multiple copies) in the output filename.

Include date in filename

Includes the date in the output filename with format yyyyMMdd (20081231).

Include time in filename

Includes the date in the output filename with format HHmmss (235959).

Show filenames(s)...

Displays the path of the file to be written to.

Result filename

Add files to result filename : Adds the generated filenames read to the result of this transformation. A unique list is being kept in memory that can be used in the next job entry in a job, for example in another transformation.

  • No labels