@InterfaceStability.Committed
@InterfaceAudience.Public
public interface Document<T>
Represents a Couchbase Server Document
which is stored in and retrieved from a AsyncBucket
.
Modifier and Type | Method and Description |
---|---|
long |
cas()
The last-known CAS value for the
Document (0 if not set). |
T |
content()
The content of the
Document . |
int |
expiry()
The optional expiration time for the
Document (0 if not set). |
java.lang.String |
id()
The per-bucket unique ID of the
Document . |
java.lang.String id()
The per-bucket unique ID of the Document
.
long cas()
The last-known CAS value for the Document
(0 if not set).
int expiry()
The optional expiration time for the Document
(0 if not set).