Add support for SubDoc API

Description

We need to add support for the SubDoc API to allow for lookupIn and mutateIn operations. These allows for partial retrieval of a documents properties, as well as selective updating of a documents properties on the server without the need to retrieve the entire document.

http://blog.couchbase.com/2016/may/couchbase-server-45s-new-sub-document

https://developer.couchbase.com/documentation/server/current/sdk/subdocument-operations.html

sub-document operations can be used to efficiently access parts of documents. Sub-document operations may be quicker and more network-efficient than full-document operations such as upsert, update and get because they only transmit the accessed sections of the document over the network. Sub-document operations are also atomic, allowing safe modifications to documents with built-in concurrency control.

While full-document retrievals retrieve the entire document and full document updates require sending the entire document, sub-document retrievals only retrieve relevant parts of a document and sub-document updates only require sending the updated portions of a document. You should use sub-document operations when you are modifying only portions of a document, and full-document operations when the contents of a document is to change significantly.

Gliffy Diagrams

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Priority

Sentry

Created August 3, 2016 at 3:35 PM
Updated September 15, 2017 at 8:32 PM
Resolved September 15, 2017 at 8:32 PM