LookupTableReaderWriter
Short Description
LookupTableReaderWriter reads data from a lookup table and/or writes it to a lookup table.
COMPONENT | SAME INPUT METADATA | SORTED INPUTS | INPUTS | OUTPUTS | EACH TO ALL OUTPUTS[1] | JAVA | CTL | AUTO-PROPAGATED METADATA |
---|---|---|---|---|---|---|---|---|
LookupTableReaderWriter | - | x | 0-1 | 0-n | ✓ | x | x | x |
[1] Component sends each data record to all connected output ports.
Ports
PORT TYPE | NUMBER | REQUIRED | DESCRIPTION | METADATA |
---|---|---|---|---|
Input | 0 | [1] | For data records to be written to a lookup table | Any |
Output | 0-n | [1] | For data records to be read to a lookup table | Input 0[1] |
[1] At least one of them has to be connected. If the input port is connected, the component receives data through it and writes it to the lookup table. If an output port is connected, the component reads data from the lookup table and sends it out through this port.
If the input port is connected and the component cannot write into the Lookup table (see LookupTableReaderWriter Attributes below) you have specified, an error will be shown.
Warning!Please note writing into Database lookup table is not supported. You should use DatabaseWriter instead.
LookupTableReaderWriter Attributes
ATTRIBUTE | REQ | DESCRIPTION | POSSIBLE VALUES |
---|---|---|---|
Basic | |||
Lookup table | yes | ID of the lookup table to be used as - a source of records when the component is used as a reader, or - a deposit when the component is used as a writer, or - both when it is used for both reading and writing. | |
Advanced | |||
Clear lookup table after finishing | When set to true , memory caches of the lookup table will be emptied at the end of the execution of this component. This has different effects on different lookup table types. Simple lookup table and Range lookup table will contain 0 entries after this operation. For the other lookup table types this will only erase cached data and therefore make more memory available, but the lookup table will still contain the same entries. | 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.
See also
Updated 12 months ago