Class GetOptions
Assembly: Couchbase.NetClient.dll
Syntax
Fields
|
Edit this page
View Source
DefaultReadOnly
Declaration
public static readonly GetOptions.ReadOnly DefaultReadOnly
Field Value
Methods
|
Edit this page
View Source
AsReadOnly()
Declaration
public GetOptions.ReadOnly AsReadOnly()
Returns
|
Edit this page
View Source
CancellationToken(CancellationToken)
Declaration
public GetOptions CancellationToken(CancellationToken token)
Parameters
Returns
|
Edit this page
View Source
Deconstruct(out bool, out ReadOnlyCollection<string>, out TimeSpan?, out CancellationToken, out ITypeTranscoder?, out IRetryStrategy?, out IRequestSpan?, out bool)
Declaration
public void Deconstruct(out bool includeExpiry, out ReadOnlyCollection<string> projectList, out TimeSpan? timeout, out CancellationToken token, out ITypeTranscoder? transcoder, out IRetryStrategy? retryStrategy, out IRequestSpan? requestSpan, out bool preferReturn)
Parameters
|
Edit this page
View Source
Expiry()
The time for the key/value pair to exist on the server.
Declaration
public GetOptions Expiry()
Returns
|
Edit this page
View Source
Projection(params string[])
A list or array of fields to project - if called will switch to subdoc and only fetch the fields requested.
If the number of fields is > 16, then it will perform a full-doc lookup instead.
Declaration
public GetOptions Projection(params string[] fields)
Parameters
Type |
Name |
Description |
string[] |
fields |
|
Returns
|
Edit this page
View Source
RequestSpan(IRequestSpan)
Inject an external span which will the be the parent span of the internal span(s).
Declaration
public GetOptions RequestSpan(IRequestSpan span)
Parameters
Returns
|
Edit this page
View Source
RetryStrategy(IRetryStrategy)
Declaration
public GetOptions RetryStrategy(IRetryStrategy retryStrategy)
Parameters
Returns
|
Edit this page
View Source
Timeout(TimeSpan)
The time in which the operation will timeout if it does not complete.
Declaration
public GetOptions Timeout(TimeSpan timeout)
Parameters
Returns
|
Edit this page
View Source
Transcoder(ITypeTranscoder?)
Declaration
public GetOptions Transcoder(ITypeTranscoder? transcoder)
Parameters
Returns