Uses of Class
com.couchbase.client.java.document.BinaryDocument
-
Packages that use BinaryDocument Package Description com.couchbase.client.java.document com.couchbase.client.java.transcoder -
-
Uses of BinaryDocument in com.couchbase.client.java.document
Methods in com.couchbase.client.java.document that return BinaryDocument Modifier and Type Method Description static BinaryDocument
BinaryDocument. create(String id)
Creates aBinaryDocument
which the document id.static BinaryDocument
BinaryDocument. create(String id, int expiry, com.couchbase.client.deps.io.netty.buffer.ByteBuf content)
Creates aBinaryDocument
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 aBinaryDocument
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 aBinaryDocument
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 aBinaryDocument
which the document id and content.static BinaryDocument
BinaryDocument. create(String id, com.couchbase.client.deps.io.netty.buffer.ByteBuf content, long cas)
Creates aBinaryDocument
which the document id, content and the CAS value.static BinaryDocument
BinaryDocument. from(BinaryDocument doc, long cas)
Creates a copy from a differentBinaryDocument
, 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 differentBinaryDocument
, but changes the document ID and content.Methods in com.couchbase.client.java.document with parameters of type BinaryDocument Modifier and Type Method Description static BinaryDocument
BinaryDocument. from(BinaryDocument doc, long cas)
Creates a copy from a differentBinaryDocument
, 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 differentBinaryDocument
, but changes the document ID and content. -
Uses of BinaryDocument in com.couchbase.client.java.transcoder
Methods in com.couchbase.client.java.transcoder that return BinaryDocument Modifier and Type Method 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)
Methods in com.couchbase.client.java.transcoder that return types with arguments of type BinaryDocument Modifier and Type Method Description Class<BinaryDocument>
BinaryTranscoder. documentType()
Methods in com.couchbase.client.java.transcoder with parameters of type BinaryDocument Modifier and Type Method Description protected Tuple2<com.couchbase.client.deps.io.netty.buffer.ByteBuf,Integer>
BinaryTranscoder. doEncode(BinaryDocument document)
-