Dear Huy,
have you looked at the Session classes (LocalSession/ClientSession)? These classes supports input and output streams to do pipelining, such as querying results and sending them to another target without first materializing all data.
Hope this helps, Christian
On Sun, Dec 18, 2011 at 10:27 AM, Huy Vu qhuyvu@gmail.com wrote:
Hello,
I am writing my code in Java and the result after querying xml files in my BaseX database is very large, about 500MB. Thus, I would like to stream the output to another xml file in the BaseX database. Could you tell me how to do this?
Many thanks,
Huy Vu
-- Huy Vu Oxford University, United Kingdom http://www.cs.ox.ac.uk/people/huy.vu/