Read Table
Operation name
Read Table
Function overview
Reads data stored in a table.
Data model
The data model of this component is table model type.
Tutorials
For details about how to create a connection to a MySQL database, refer to the following tutorial:
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Destination |
Required |
Not available |
Select a connection resource.
|
|
Table name |
Required |
Available |
Select or enter a table name to be read. |
|
Enclose table name with quotation marks |
Optional |
Not available |
Select whether or not to enclose the specified table name with quotation marks.
If the table name includes a character like a space, you need to enclose the table name with quotation marks. For details on characters that need to be enclosed with quotation marks, contact the database vendor. |
Quotation marks which is set in each database connector is as follows:
Note
|
Schema definition |
Required |
- |
The schema definition of the table specified in Table name is displayed. |
|
Schema definition/Target |
Optional |
Not available |
Select whether to include each column of the table specified in Table Name in the target to read or not.
|
Note
One or more columns must be selected. |
Schema definition/Column name |
Required |
Not available |
A column name in the table specified in Table name is displayed. |
|
Schema definition/Type |
Required |
Not available |
The type of Column name is displayed. |
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Extraction test |
Issue a SELECT statement for the specified table. The number of retrieved records will be displayed as a result. |
|
Update schema definition |
Update the schema definition of the table specified in Table name. |
|
Read settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Fetch size |
Optional |
Available |
Specify the JDBC fetch size. |
Note
|
Enable query timeout |
Required |
Not available |
Select whether or not to enable the query timeout.
|
|
Query timeout (seconds) |
Required |
Available |
Set the query timeout. |
|
Data processing method
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Data processing method |
Required |
Not available |
Select a data processing method.
|
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Schemas
Input schema
None.
Output schema
The number of columns varies depending on the Schema definition settings.
For schema structure, refer to Table model type .
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Transaction
Transaction is supported.Mass data processing
Mass data processing is supported.
Parallel Stream Processing
PSP is supported.
For details on PSP, refer to Parallel Stream Processing.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
count |
The number of read data records is stored. |
Note
Value isn't stored when using PSP. |
error_code |
When an error (SQLException) occurs, the error code corresponding to the error is stored. |
Note
Error codes are based on the specifications of each driver. |
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations