Package | Description |
---|---|
com.couchbase.client.java.document | |
com.couchbase.client.java.transcoder |
Modifier and Type | Method and Description |
---|---|
static LegacyDocument |
LegacyDocument.create(String id)
Creates a
LegacyDocument which the document 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,
com.couchbase.client.core.message.kv.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)
Creates a
LegacyDocument which the document id and JSON 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. |
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
protected LegacyDocument |
LegacyTranscoder.doDecode(String id,
com.couchbase.client.deps.io.netty.buffer.ByteBuf content,
long cas,
int expiry,
int flags,
com.couchbase.client.core.message.ResponseStatus status) |
LegacyDocument |
LegacyTranscoder.newDocument(String id,
int expiry,
Object content,
long cas) |
LegacyDocument |
LegacyTranscoder.newDocument(String id,
int expiry,
Object content,
long cas,
com.couchbase.client.core.message.kv.MutationToken mutationToken) |
Modifier and Type | Method and Description |
---|---|
Class<LegacyDocument> |
LegacyTranscoder.documentType() |
Modifier and Type | Method and Description |
---|---|
protected com.couchbase.client.core.lang.Tuple2<com.couchbase.client.deps.io.netty.buffer.ByteBuf,Integer> |
LegacyTranscoder.doEncode(LegacyDocument document) |
Copyright © 2015 Couchbase, Inc.. All rights reserved.