This is the base class for all result operations
The standard return type for Couchbase operations.
This is a lightweight object and may be subclassed by other operations which may required additional fields.
libcouchbase error code
Determine whether operation succeeded or not
Returns a textual representation of the error
Key for the operation
Result type returned for operations which do not fetch data
The result type returned for operations which retrieve a value
CAS For the key
Flags for the value
Value for the operation
Generic object returned for HTTP operations
Return true if this request has no more data. This is most useful when issuing a streaming request where multiple chunks of data may arrive.
Headers dict for the request. None unless ‘fetch_headers’ was passed to the request
HTTP Status Code
Minimum number of rows to pass to callback
Whether the HTTP request was successful
These constants are returned as values for ObserveInfo.flags field.
The key exists on the given node’s cache, though it may not have been stored to disk yet.
The key is persisted to the given node’s disk.
The key is not present in the node’s cache.
The key is not present in the node’s cache, however it is still present on the persistent store. If the node would crash at this moment, the key would still be present when it starts up again.
This is equivalent to OBS_NOTFOUND | OBS_PERSISTED
Object containing information about a key’s OBSERVED state
CAS as it exists on the given node. It is possible (though not likely) that different nodes will have a different CAS value for a given key. In this case, the actual CAS being used should be the one from the master (use from_master)
Server-side flags received from observe
Whether this response is from the master node. This evaluates to False if this status is from a replica