functions in janino

58 views
Skip to first unread message

swami....@ishafoundation.org

unread,
Jul 9, 2015, 6:18:49 AM7/9/15
to scrip...@googlegroups.com
Hi,

I have some Java code in a <query> element, running using Janino connection.
I want to refactor part of it as a reusable function.

Pls can you tell me how to do this since I can't find anything in the docs.


        <query connection-id="janino1">
 <![CDATA[
String function(int i) {
                          //function defn
                        }
                         String s = function(10);
         next();
]]>
    </query>
</etl>



Reply all
Reply to author
Forward
0 new messages