DMSDK QueryBatch how to check list of uri exists in marklogic

时间:2019-03-19 14:59:49

标签: marklogic-9

I'm using Marklogic 9.0-8 on windows 10. from java code, I want to check a list of uris if these uris exists in marklogic, either xml document or binary mode. I'm trying to use java client API with DMSDK, with QueryBatch. But I'm not sure wht to do with method onUrisReady. I was thinking to register ExportListener, but I don't want to return the whole document, I only want to know if the document exists in marklogic or not.

Can anyone give me some suggestion how to check if uri exists in marklogic without pulling all the documents out to client?

Thanks, Helen

1 个答案:

答案 0 :(得分:0)

看看QueryBatcher文档中的示例。可能有用。