Collection
Operations that act on a Couchbase collection.
Functions
Returns a counter backed by a document on the server.
Like get, but sends the request to all replicas in addition to the active. Returns the results from all available sources.
Like get, but sends the request to all replicas in addition to the active. Returns the result from whichever server node responded quickest.
Like getAnyReplica, but returns null instead of throwing DocumentUnretrievableException if the document was not found.
Retrieves specific fields of a document.
Like lookupIn, but sends the request to all replicas in addition to the active. Returns the results from all available sources.
Like lookupIn, but sends the request to all replicas in addition to the active. Returns the result from whichever server node responded quickest.
Like remove, but returns null instead of throwing DocumentNotFoundException if the document was not found.
Depending on the scan type, returns from this collection:
Like scanDocuments, but returns only document IDs instead of full documents.
Updates a document if it exists, otherwise inserts it.