LookupTableReaderWriter
Short Description
LookupTableReaderWriter reads data from a lookup table and/or writes it to a lookup table.
Same input metadata | Sorted inputs | Inputs | Outputs | Each to all outputs[1] | Java | CTL | Auto-propagated metadata |
---|---|---|---|---|---|---|---|
- |
⨯ |
0-1 |
0-n |
✓ |
⨯ |
⨯ |
✓ |
Ports
Port type | Number | Required | Description | Metadata |
---|---|---|---|---|
Input |
0 |
For data records to be written to a lookup table |
Any |
|
Output |
0-n |
For data records to be read from a lookup table |
Input 0[1] |
If the input port is connected and the component cannot write into the Lookup table (see LookupTableReaderWriter Attributes) you have specified, an error will be shown.
Please note writing into Database lookup table is not supported. You should use DatabaseWriter instead. |
Metadata
LookupTableReaderWriter propagates metadata of used lookup table to all ports.
LookupTableReaderWriter Attributes
Attribute | Req | Description | Possible values |
---|---|---|---|
Basic |
|||
Lookup table |
yes |
ID of the lookup table to be used as
|
|
Advanced |
|||
Clear lookup table after finishing |
When set to |
false (default) | true |
Details
LookupTableReaderWriter works in one of the three following ways:
-
Receives data through connected single input port and writes it to the specified lookup table.
-
Reads data from the specified lookup table and sends it out through all connected output ports.
-
Receives data through connected single input port, updates the specified lookup table, reads updated lookup table, and sends data out through all connected output ports.