August 17, 2023

tFixedFlowInput – Docs for ESB 5.x

tFixedFlowInput

tFixedFlowInput_icon32_white.png

tFixedFlowInput properties

Component family

Misc

 

Function

tFixedFlowInput generates as many
lines and columns as you want using the context variables.

Purpose

tFixedFlowInput allows you to
generate fixed flow from internal variables.

Basic settings

Schema and Edit
Schema

A schema is a row description, it defines the number of fields
that will be processed and passed on to the next component. The
schema is either built-in or remote in the Repository.

Since version 5.6, both the Built-In mode and the Repository mode are
available in any of the Talend solutions.

Click Edit schema to make changes to the schema. If the
current schema is of the Repository type, three options are
available:

  • View schema: choose this option to view the
    schema only.

  • Change to built-in property: choose this option
    to change the schema to Built-in for local
    changes.

  • Update repository connection: choose this option to change
    the schema stored in the repository and decide whether to propagate the changes to
    all the Jobs upon completion. If you just want to propagate the changes to the
    current Job, you can select No upon completion and
    choose this schema metadata again in the [Repository
    Content]
    window.

 

 

Built-in: The schema will be
created and stored locally for this component only. Related topic:
see Talend Studio User Guide.

 

 

Repository: You have already
created the schema and stored it in the Repository, hence can be
reused in various projects and job designs. Related topic: see
Talend Studio User
Guide
.

 

Mode

From the three options, select the mode that you want to
use.

Use Single Table : Enter the data
that you want to generate in the relevant value field.

Use Inline Table : Add the row(s)
that you want to generate.

Use Inline Content : Enter the data
that you want to generate, separated by the separators that you have
already defined in the Row and
Field Separator fields.

 

Number of rows

Enter the number of lines to be generated.

 

Values

Between inverted commas, enter the values corresponding to the
columns you defined in the schema dialog box via the Edit schema button.

Advanced settings

tStat
Catcher Statistics

Select this check box to gather the Job processing metadata at a
Job level as well as at each component level.

Global Variables

NB_LINE: the number of rows processed. This is an After
variable and it returns an integer.

ERROR_MESSAGE: the error message generated by the
component when an error occurs. This is an After variable and it returns a string. This
variable functions only if the Die on error check box is
cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable
functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl +
Space
to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio
User Guide.

Usage

This component can be used as a start or intermediate component
and thus requires an output component.

Usage in Storm Jobs

In a Talend Storm Job, it is used as a start component. The other
components used along with it must be Storm components, too. They generate native Storm code
that can be executed directly in a Storm system.

The Storm version does not support the use of the global variables.

You need to use the Storm Configuration tab in the
Run view to define the connection to a given Storm
system for the whole Job.

This connection is effective on a per-Job basis.

For further information about a Talend Storm Job, see the sections
describing how to create and configure a Talend Storm Job of the Talend Big Data Getting Started Guide.

Note that in this documentation, unless otherwise explicitly stated, a scenario presents
only Standard Jobs, that is to say traditional Talend data
integration Jobs.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x