We assume that you have already learned what is described in:
If you want to find the right Other component for your purposes, see Others Comparison.
LookupTableReaderWriter reads data from lookup table and/or writes it to lookup table.
Component | Same input metadata | Sorted inputs | Inputs | Outputs | Each to all outputs1) | Java | CTL |
---|---|---|---|---|---|---|---|
LookupTableReaderWriter | - | no | 0-1 | 0-n | yes | no | no |
1) Component sends each data record to all connected output ports.
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.
Port type | Number | Required | Description | Metadata |
---|---|---|---|---|
Input | 0 | 1) | For data records to be written to lookup table | Any |
Output | 0-n | 1) | For data records to be read from lookup table | Input 01) |
Legend:
1): At least one of them must be connected. If input port is connected, component receives data through it and writes it to lookup table. If output port is connected, component reads data from lookup table and sends it out through this port.
Attribute | Req | Description | Possible values |
---|---|---|---|
Basic | |||
Lookup table | yes | ID of the lookup table to be used as a source of records when component is used as a reader and as a deposit when component is used as a writer or both when it is used as both a reader and a writer. | |
Advanced | |||
Free lookup table after finishing | By default, contents of lookup table are not deleted
after graph finishes. If set to true ,
lookup table is emptied after the processing ends. | false (default) | true |