-
Methods in com.couchbase.client.java.document that return LegacyDocument
Modifier and Type |
Method |
Description |
static LegacyDocument |
LegacyDocument.create(String id) |
|
static LegacyDocument |
LegacyDocument.create(String id,
int expiry,
Object content) |
Creates a LegacyDocument which the document id, JSON content and the expiration time.
|
static LegacyDocument |
LegacyDocument.create(String id,
int expiry,
Object content,
long cas) |
Creates a LegacyDocument which the document id, JSON content, CAS value, expiration time and status code.
|
static LegacyDocument |
LegacyDocument.create(String id,
int expiry,
Object content,
long cas,
MutationToken mutationToken) |
Creates a LegacyDocument which the document id, JSON content, CAS value, expiration time and status code.
|
static LegacyDocument |
LegacyDocument.create(String id,
Object content) |
|
static LegacyDocument |
LegacyDocument.create(String id,
Object content,
long cas) |
Creates a LegacyDocument which the document id, JSON content and the CAS value.
|
static LegacyDocument |
LegacyDocument.from(LegacyDocument doc,
long cas) |
Creates a copy from a different LegacyDocument , but changes the CAS value.
|
static LegacyDocument |
LegacyDocument.from(LegacyDocument doc,
Object content) |
Creates a copy from a different LegacyDocument , but changes the content.
|
static LegacyDocument |
LegacyDocument.from(LegacyDocument doc,
String id) |
Creates a copy from a different LegacyDocument , but changes the document ID.
|
static LegacyDocument |
LegacyDocument.from(LegacyDocument doc,
String id,
Object content) |
Creates a copy from a different LegacyDocument , but changes the document ID and content.
|
-
Methods in com.couchbase.client.java.transcoder that return LegacyDocument
Modifier and Type |
Method |
Description |
protected LegacyDocument |
LegacyTranscoder.doDecode(String id,
com.couchbase.client.deps.io.netty.buffer.ByteBuf content,
long cas,
int expiry,
int flags,
ResponseStatus status) |
|
LegacyDocument |
LegacyTranscoder.newDocument(String id,
int expiry,
Object content,
long cas) |
|
LegacyDocument |
LegacyTranscoder.newDocument(String id,
int expiry,
Object content,
long cas,
MutationToken mutationToken) |
|