Hi Christian, The intention is, when querying a node from BaseX, its subtree should be fetched as part of the same "fetch operation", i.e. there shouldn't be any file system access later for any of its sub nodes.
If you use ANode.toJava() to create BXNode instances, you will get complete copies of the original nodes in main memory, so this might be what you need.
2013/10/19 Christian Grün christian.gruen@gmail.com
When querying a DOM Node (from DB on file system, i.e. no in memory DB) using QueryProcessor command: will the whole Node be fetched from the database or will parts of the Node's children still access the file system if not loaded yet?
I’m not sure what you refer to with DOM: if you use the QueryProcessor, BaseX will use its internal node representation, in which all nodes are basically a reference to the database and a pre value [1]. The full sub tree of a node (which you probably call DOM here) will only be retrieved if you serialize a node, or if you explicitly convert it to a Java DOM instance.