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