on 02-01-2016 3:19 PM
Hi
I am writing UDF to handle below requirement. Need help on java code rather than pointing me for links.
I have two queues with same number of context changes (17). Queue 1 may have multiple values in a single context.
Need to copy Queue 1 to Result(output), by replacing each context value (including text USER#) starting USER# with corresponding context value of Queue 2 starting with DR#(entire values including text DR#).
While other values in the context of Queue 1, not starting with text USER#, should not be replaced and remain same.
Appreciate any help on java code for this requirement.
Thanks
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kumar,
You can do this using collapse context and then having a if else condition checking for the text starting with "User#" using Startswith function.
Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.