tMemSQLOutput
Reads data incoming from the preceding component in the Job and executes the action
defined on a given MemSQL table and/or on the data contained in the table.
tMemSQLOutput connects to a gvien MemSQL database and
writes, updates, makes changes or suppresses entries in that database.
tMemSQLOutput Standard properties
These properties are used to configure tMemSQLOutput running in the Standard Job framework.
The Standard
tMemSQLOutput component belongs to the Big Data and the Databases families.
The component in this framework is available when you are using one of the Talend solutions with Big Data.
Basic settings
|
Property type |
Either Built-in or |
|
|
Built-in: No property data stored |
|
|
Repository: Select the repository |
|
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 |
Enter the location of the server of the MemSQL database to be |
|
Port |
Enter the listening port number of the database server. |
|
Database |
Enter the name of the MemSQL database to be used. |
|
Username and |
Enter the user authentication data for connecting to the database |
|
Table |
Enter the name of the table to be written. Note that only one |
|
Action on table |
On the table defined, you can perform one of the following
None: No operation is carried
Drop and create a table: The table
Create a table: The table does not
Create a table if not exists: The
Drop a table if exists and create:
Clear a table: The table content is |
|
Action on data |
On the data of the table defined, you can perform:
Insert: Add new entries to the
Update: Make changes to existing Insert or update: Insert a new record. If Update or insert: Update the record with the
Delete: Remove entries Warning:
You must specify at least one column as |
|
Schema and Edit |
A schema is a row description. It defines the number of fields (columns) to This component offers the This dynamic schema |
|
|
Built-In: You create and store the |
|
|
Repository: You have already created When the schema to be reused has default values that are integers or You can find more details about how to verify default |
|
Click Edit schema to make changes to the schema.
|
|
|
Die on error |
This check box is clear by default.This allows you to skip the row |
Advanced settings
|
Additional JDBC parameters |
Specify additional connection properties for the DB connection you Note:
You can press Ctrl+Space to |
|
Use batch size |
Select this check box to activate the batch mode for data |
|
Additional Columns |
This option is not available if you have just created the database |
|
|
Name: Type in the name of the |
|
|
SQL expression: Type in the SQL |
|
|
Position: Select Before, Replace or After, |
|
|
Reference column: Type in a |
|
Use field options |
Select this check box to customize a request, particularly if |
|
Enable debug mode |
Select this check box to display each step involved in the process |
|
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
NB_LINE_UPDATED: the number of rows updated. This is an
NB_LINE_INSERTED: the number of rows inserted. This is an
NB_LINE_DELETED: the number of rows deleted. This is an
NB_LINE_REJECTED: the number of rows rejected. This is an
ERROR_MESSAGE: the error message generated by the To fill up a field or expression with a variable, press Ctrl + For further information about variables, see A Flow variable functions during the execution of a component while an After variable |
Usage
|
Usage rule |
This component must be used as an output component. It allows you |
|
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 |
| Limitation |
Due to license incompatibility, one or more JARs required to use this component are not |
Related scenario
For a related scenario, see Scenario: Writing data to and reading data from a MemSQL database table.