Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3458

Re: File Lookup in PI

$
0
0

Arun,

 

There will be no performance issue. Try below code (200 if conditions)

 

public String udf_myLookup(String in, Container container) throws StreamTransformationException{  if (in.equals("ABC")) return "0001";  if (in.equals("DEF")) return "0001";  if (in.equals("GHI")) return "0002";  return in;
}

Viewing all articles
Browse latest Browse all 3458

Trending Articles