Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Interface IDocumentFragment<TDocument>

Represents one more fragments of a document that is returned by the sub-document API.

Inherited Members
IOperationResult<TDocument>.Content
IDocumentFragment.Content<TContent>(string)
IDocumentFragment.Content<TContent>(int)
IDocumentFragment.Content(string)
IDocumentFragment.Content(int)
IDocumentFragment.Exists(string)
IDocumentFragment.Count()
IDocumentFragment.OpStatus(string)
IDocumentFragment.OpStatus(int)
IOperationResult.IsNmv()
IOperationResult.Token
IOperationResult.Cas
IOperationResult.Status
IOperationResult.Durability
IOperationResult.Id
IOperationResult.OpCode
IResult.ShouldRetry()
IResult.Success
IResult.Message
IResult.Exception
Namespace: Couchbase.Core.IO.Operations.SubDocument
Assembly: Couchbase.NetClient.dll
Syntax
[Obsolete("This interface is not required and will be removed in a future release.")]
public interface IDocumentFragment<out TDocument> : IOperationResult<TDocument>, IDocumentFragment, IOperationResult, IResult
Type Parameters
Name Description
TDocument

The document

Properties

View Source

Expiry

The time-to-live or TTL for the document before it's evicted from disk in milliseconds.

Declaration
uint Expiry { get; set; }
Property Value
Type Description
uint
Remarks

Setting this to zero or less will give the document infinite lifetime

  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.