Package | Description |
---|---|
com.couchbase.client.java.document | |
com.couchbase.client.java.transcoder |
Modifier and Type | Method and Description |
---|---|
static BinaryDocument |
BinaryDocument.create(String id)
Creates a
BinaryDocument which the document id. |
static BinaryDocument |
BinaryDocument.create(String id,
int expiry,
com.couchbase.client.deps.io.netty.buffer.ByteBuf content)
Creates a
BinaryDocument which the document id, content and the expiration time. |
static BinaryDocument |
BinaryDocument.create(String id,
int expiry,
com.couchbase.client.deps.io.netty.buffer.ByteBuf content,
long cas)
Creates a
BinaryDocument which the document id, content, CAS value, expiration time and status code. |
static BinaryDocument |
BinaryDocument.create(String id,
int expiry,
com.couchbase.client.deps.io.netty.buffer.ByteBuf content,
long cas,
MutationToken mutationToken)
Creates a
BinaryDocument which the document id, content, CAS value, expiration time and status code. |
static BinaryDocument |
BinaryDocument.create(String id,
com.couchbase.client.deps.io.netty.buffer.ByteBuf content)
Creates a
BinaryDocument which the document id and content. |
static BinaryDocument |
BinaryDocument.create(String id,
com.couchbase.client.deps.io.netty.buffer.ByteBuf content,
long cas)
Creates a
BinaryDocument which the document id, content and the CAS value. |
static BinaryDocument |
BinaryDocument.from(BinaryDocument doc,
long cas)
Creates a copy from a different
BinaryDocument , but changes the CAS value. |
static BinaryDocument |
BinaryDocument.from(BinaryDocument doc,
String id,
com.couchbase.client.deps.io.netty.buffer.ByteBuf content)
Creates a copy from a different
BinaryDocument , but changes the document ID and content. |
Modifier and Type | Method and Description |
---|---|
static BinaryDocument |
BinaryDocument.from(BinaryDocument doc,
long cas)
Creates a copy from a different
BinaryDocument , but changes the CAS value. |
static BinaryDocument |
BinaryDocument.from(BinaryDocument doc,
String id,
com.couchbase.client.deps.io.netty.buffer.ByteBuf content)
Creates a copy from a different
BinaryDocument , but changes the document ID and content. |
Modifier and Type | Method and Description |
---|---|
protected BinaryDocument |
BinaryTranscoder.doDecode(String id,
com.couchbase.client.deps.io.netty.buffer.ByteBuf content,
long cas,
int expiry,
int flags,
ResponseStatus status) |
BinaryDocument |
BinaryTranscoder.newDocument(String id,
int expiry,
com.couchbase.client.deps.io.netty.buffer.ByteBuf content,
long cas) |
BinaryDocument |
BinaryTranscoder.newDocument(String id,
int expiry,
com.couchbase.client.deps.io.netty.buffer.ByteBuf content,
long cas,
MutationToken mutationToken) |
Modifier and Type | Method and Description |
---|---|
Class<BinaryDocument> |
BinaryTranscoder.documentType() |
Modifier and Type | Method and Description |
---|---|
protected Tuple2<com.couchbase.client.deps.io.netty.buffer.ByteBuf,Integer> |
BinaryTranscoder.doEncode(BinaryDocument document) |
Copyright © 2015 Couchbase, Inc.