We have a requirement where we want to essentially stream data out of a Notes DB in order to chunk it.
So far, the code does getAllDocuments out of a Database, then iterates fields within each document in order to piece together the content for each doc.
My questions for you are:
a. Does getAllDocuments stream records out of the database or load all of them at once? I see there’s an iterator but it’s hard to tell if the data is streamed.
b. Does getDocumentByUNID only load a lightweight set of stuff? Rather than load all the data for a given document?
c. What about Ddocument.getItems, does it grab everything or stream items out via its Iterator?
d. Ddocument.getItemValue/getItemValueString – is it possible this would return a really huge amount of data?
Also, from the scalability standpoint, if these API’s are not the best, would you recommend a direct usage of the Notes API? Or perhaps the DXL Exporter?
I’d appreciate your recommendations