So, I have a couple of (hopefully simple) questions about the Java APIs 
provided by BaseX.

Based on the comments in the examples, it looks like the function calls in the 
RunQueries.java example 
(https://github.com/BaseXdb/basex-examples/blob/master/src/main/java/org/basex/examples/local/RunQueries.java)
 are strictly local calls that operate directly on local XML documents - 
there's no BaseX server involved, no client communication, no files created in 
org.basex.path, etc.  Is that correct?

What's the difference between the queries in RunQueries.java and 
QueryCollection.java?  My guess from skimming the documentation is that, per 
above, RunQueries just uses BaseX's XQuery API, without taking advantage of 
BaseX's indexing, etc capabilities, whereas QueryCollection creates a (local) 
BaseX server, indexes the document, and then its queries would be accelerated 
using those indexes.  Is this also correct?

Thanks,

-David
_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to