Do we have a peek method in couchbase. I want to check if an item exists?


#1

Do we have a peek method in couchbase. I want to check if an item exists? I am still on couchbase client (1.4.3). I dont want to do get as my object is big.


#2

It does not seem to exist based on the java doc http://www.couchbase.com/autodocs/couchbase-java-client-1.4.3/index.html
Can I ask you why are you staying on 1.4.3?


#3

The exist() method was introduced in the Java SDK around version 2.2.0 if I remember correctly.


#4

We are upgrading to java SDK. But current prod is in 1.4.3