Click or drag to resize

IDocumentFragmentTDocument Interface

Namespace:  Couchbase
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.5.7-alpha1

The IDocumentFragmentTDocument type exposes the following members.

Properties
  NameDescription
Public propertyCas
The 'Check and Set' or 'CAS' value for enforcing optimistic concurrency.
(Inherited from IOperationResult.)
Public propertyDurability
The level of durability that the operation achieved
(Inherited from IOperationResult.)
Public propertyException
If Success is false and an exception has been caught internally, this field will contain the exception.
(Inherited from IResult.)
Public propertyExpiry
The time-to-live or TTL for the document before it's evicted from disk in milliseconds.
Public propertyId
Gets the id or key for the document.
(Inherited from IOperationResult.)
Public propertyMessage
If the operation wasn't succesful, a message indicating why it was not succesful.
(Inherited from IResult.)
Public propertyOpCode
Gets the op code.
(Inherited from IOperationResult.)
Public propertyStatus
The server's response status for the operation.
(Inherited from IOperationResult.)
Public propertySuccess
Returns true if the operation was succesful.
(Inherited from IResult.)
Public propertyToken
Gets the mutation token for the operation if enhanced durability is enabled.
(Inherited from IOperationResult.)
Public propertyValue
The value returned by the operation.
(Inherited from IOperationResultT.)
Top
Methods
  NameDescription
Public methodContentTContent(Int32)
The value if it exists for a specific index.
(Inherited from IDocumentFragment.)
Public methodContentTContent(String)
The value if it exists for a specific path.
(Inherited from IDocumentFragment.)
Public methodCount
The count of the sub-document operations chained togather.
(Inherited from IDocumentFragment.)
Public methodExists
Checks whether the given path is part of this result set, eg. an operation targeted it, and the operation executed successfully.
(Inherited from IDocumentFragment.)
Public methodIsNmv
Checks if the server responded with a Not My Vbucket.
(Inherited from IOperationResult.)
Public methodOpStatus(Int32)
Gets the ResponseStatus for a specific operation at it's index.
(Inherited from IDocumentFragment.)
Public methodOpStatus(String)
Gets the ResponseStatus for a specific operation at it's path.
(Inherited from IDocumentFragment.)
Public methodShouldRetry
If the response indicates the request is retryable, returns true.
(Inherited from IResult.)
Top
Extension Methods
  NameDescription
Public Extension MethodContentTDocument, TContent
Get the result type TContent from a document of type TDocument, using a given lambda expression path.
(Defined by SubdocExtensions.)
Public Extension MethodEnsureSuccess
Throws a CouchbaseKeyValueResponseException on any error.
(Defined by ResponseExtensions.)
Public Extension MethodExistsTDocument, TContent
Get the existence result for a fragement of type TContent from a document of type TDocument, using a given lambda expression path.
(Defined by SubdocExtensions.)
Top
See Also