Author |
Message
|
Shafikz |
Posted: Fri Jul 13, 2012 1:46 am Post subject: Urgent: Java function to esql |
|
|
Apprentice
Joined: 12 Apr 2012 Posts: 29
|
Hi all,
I have two questions so i need your help
1. I need to call java function in esql.
but java function is taking input in an array and returning an arraylist.
how can I do this work?
2. is it possible to put array/arraylist in GlobalEnvironmentTree as a variable.?
thanks in advance.... |
|
Back to top |
|
 |
kimbert |
Posted: Fri Jul 13, 2012 4:20 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
|
Back to top |
|
 |
Shafikz |
Posted: Fri Jul 13, 2012 4:27 am Post subject: |
|
|
Apprentice
Joined: 12 Apr 2012 Posts: 29
|
thanks for your reply.....
can u please share some materials/links/examples for 2nd question? |
|
Back to top |
|
 |
kimbert |
Posted: Fri Jul 13, 2012 4:42 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
In your JavaCompute node, iterate over the array. For each element in the array, create a named element in the (Local)Environment tree. Use the same name for all of the elements.
I assume that you know how to do that. If not, you will need to get some education ( either by reading the info center, or by browsing the web, or by taking a training course ). |
|
Back to top |
|
 |
Shafikz |
Posted: Fri Jul 13, 2012 5:25 am Post subject: |
|
|
Apprentice
Joined: 12 Apr 2012 Posts: 29
|
thanks alot. it works perfectly  |
|
Back to top |
|
 |
|