Working with TEDA 4.2 architecture.How to call LookUpCache operator in a loop?
I have input as a1;b1;c1|a2;b2;c2|a3;b3;c3
Now I want to use a1 , a2 and a3 as look up key and generate a tuple for each (as output). I have extracted a1,a2,a3 using tokenizer but how to feed it to LookupCache operator so that it uses all keys one by one and generate 3 tuples.
Using the TEDA application framework, you need to prepare the TypesCommon.ReaderOutStreamType schema, which is the output of the parsing and the input to the data enrichment. It is extended with the attributes that are specified in the xxx.streams.custom::TypesCustom.LookupType type.
In xxx.streams.custom.TypesCustom.spl
In xxx.chainprocessor.transformer.custom.DataProcessor.spl you can prepare extract the key attribute for your lookup, fill the
a
attribute and submit n tuples (LookupStream) to the LookupCache operator from a single input tuple (InRec)