You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Tommaso Teofili <to...@gmail.com> on 2014/11/25 15:26:24 UTC

checking items in DS

Hi all,

what's the best way of checking out if an item with a certain (internal) id
exists or not inside a document store?
I am getting an exception while attempting to read data from the backend
[1] and I'd like to double check if the doc it's actually missing in there
(I'm using SegmentNS by the way).

Thanks in advance,
Tommaso

[1] :
https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.0.8/oak-blob/src/main/java/org/apache/jackrabbit/oak/spi/blob/AbstractBlobStore.java#L452