GetResult

open class GetResult

The result retrieving a full document.

Functions

Link copied to clipboard
inline fun <T> contentAs(transcoder: Transcoder? = null): T

Returns the document content after transcoding it into the type specified by the type parameter.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val cas: Long

The Compare And Swap (CAS) value of the document at the time the content was retrieved.

Link copied to clipboard
val content: Content

The retrieved content. Useful for accessing the raw bytes of the document.

Link copied to clipboard
val expiry: Expiry

A value of Expiry.Unknown means the expiry is unknown because the withExpiry argument was false when getting the document.

Link copied to clipboard
val id: String

The document ID of the retrieved document.

Inheritors

Link copied to clipboard