Java SDK: Bulk gets and ViewRow results with CAS values
I am currently writing an application which uses Couchbase as a backend and I am wondering if it is possible to make bulk gets which include the CAS value. I have the same requirement for queries on views. Is there a way to get the CAS value (for instance as an additional property of ViewRow)?
Right now, I am not using bulk gets and for views, I only recuperate the document IDs and then do 1 by 1 document fetches using "gets" which allows me to get the CAS value. I am relying on the CAS value for optimistic locking. As Couchbase uses memcached, I guess the overhead for fetching objects 1 by 1 is merely the network overhead but I am not sure.
Is there any way to get the CAS values when making bulk gets or obtaining view results? If not are there any plans to provide this feature in a future release of the Java SDK?