[basex-talk] Create XQuery map from from Java

2015-08-18 Thread Andy Bunce
Hi, Is there a simple example of how to create write a Java function that returns an XQuery map anywhere? /Andy

[basex-talk] Same XQuery faster 2nd+ time

2015-08-18 Thread Philipp Steiner
Hi, i'm a student learning XPath/XQuery/BaseX and currently experiment with XQueries on large xml files in BaseX, hope i didn't miss something obvious :) Test: 1st FLOWR query on collection: ~700ms 2nd+ identical query same collection: just ~200ms ! ? My XML-files are OPTIMIZE'd on import,

Re: [basex-talk] Same XQuery faster 2nd+ time

2015-08-18 Thread Christian Grün
Hi Philipp, 1st FLOWR query on collection: ~700ms 2nd+ identical query same collection: just ~200ms ! If I get it right, you ran the same query, and the second run was faster than the first run? This will mostly be the case, no matter which database you are testing. Once a query has been run,

Re: [basex-talk] Create XQuery map from from Java

2015-08-18 Thread Christian Grün
Hi Andy, Please check the attached Java class for a basic example. Feel free to ask for more details. Christian On Tue, Aug 18, 2015 at 12:58 PM, Andy Bunce bunce.a...@gmail.com wrote: Hi, Is there a simple example of how to create write a Java function that returns an XQuery map