Version

    LookupTableReaderWriter

    Short Description
    Ports
    LookupTableReaderWriter Attributes
    Details
    See also

    Short Description

    LookupTableReaderWriter reads data from a lookup table and/or writes it to a lookup table.

    ComponentSame input metadataSorted inputsInputsOutputsEach to all outputs[1]JavaCTLAuto-propagated metadata
    LookupTableReaderWriter-0-10-n

    [1]  Component sends each data record to all connected output ports.

    Ports

    Port typeNumberRequiredDescriptionMetadata
    Input0[1]For data records to be written to a lookup tableAny
    Output0-n[1]For data records to be read from a lookup tableInput 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) you have specified, an error will be shown.

    [Important]Important

    Please note writing into Database lookup table is not supported. You should use DatabaseWriter instead.

    LookupTableReaderWriter Attributes

    AttributeReqDescriptionPossible values
    Basic
    Lookup tableyes

    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.