Interface IScanResult
An individual result from a KV Range Scan
Assembly: Couchbase.NetClient.dll
Syntax
public interface IScanResult
Properties
View Source
Cas
Compare and Set value for optimistic locking of a document.
Declaration
Property Value
View Source
ExpiryTime
The time in which the document will expire and be evicted from the cluster.
Declaration
DateTime? ExpiryTime { get; }
Property Value
View Source
Id
The identifier for the document.
Declaration
Property Value
View Source
IdOnly
Indicates if the scan was requested with IDs only.
Declaration
Property Value
Methods
View Source
ContentAsBytes()
Declaration
Returns
View Source
ContentAsString()
Declaration
Returns
View Source
ContentAs<T>()
Returns the content of the scan result if IdsOnly(bool) is false.
Declaration
Returns
Type Parameters
| Name |
Description |
| T |
The underlying document type; POCO or dynamic/object for example.
|