tAmazonMysqlInput
Reads a database and extracts fields based on a query.
tAmazonMysqlInput executes a DB query with a strictly defined order
which must correspond to the schema definition. Then it passes on the field list to the
next component via a Row > Main
link.
tAmazonMysqlInput Standard properties
These properties are used to configure tAmazonMysqlInput running in the Standard Job framework.
The Standard
tAmazonMysqlInput component belongs to the Cloud and the Databases families.
The component in this framework is generally available.
Basic settings
Property type |
Either Built-in or Repository. |
|
Built-in: No property data stored |
|
Repository: Select the repository |
DB Version |
MySQL 5 is available. |
Use an existing connection |
Select this check box and in the Component Note:
When a Job contains the parent Job and the child Job, if you need to share an
existing connection between the two levels, for example, to share the connection created by the parent Job with the child Job, you have to:
For an example about how to share a database connection across Job levels, see |
Host |
Database server IP address. |
Port |
Listening port number of DB server. |
Database |
Name of the database. |
Username and |
DB user authentication data. To enter the password, click the […] button next to the |
Schema and Edit |
A schema is a row description, it defines the number of fields to This component offers the This dynamic schema |
|
Built-in: The schema is created |
|
Repository: The schema already |
Table |
Name of the table to be read. |
Query type and |
Enter your DB query paying particularly attention to properly
If using the dynamic schema |
Advanced settings
Additional JDBC parameters |
Specify additional connection properties for the DB connection you Note:
When you need to handle data of the time-stamp type
|
Enable stream |
Select this check box to enables streaming over buffering which |
Trim all the String/Char columns |
Select this check box to remove leading and trailing whitespace |
Trim column |
Remove leading and trailing whitespace from defined Note:
Deselect Trim all the String/Char |
tStatCatcher Statistics |
Select this check box to collect log data at the component |
Global Variables
Global Variables |
NB_LINE: the number of rows read by an input component or
QUERY: the query statement being processed. This is a Flow
ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
Usage
Usage rule |
This component covers all possible SQL queries for Mysql |
Dynamic settings |
Click the [+] button to add a The Dynamic settings table is For examples on using dynamic parameters, see Scenario: Reading data from databases through context-based dynamic connections and Scenario: Reading data from different MySQL databases using dynamically loaded connection parameters. For more information on Dynamic |
Related scenarios
For related scenarios, see tMysqlInput.