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 LegacyDocumentLegacyDocument. create(String id)Creates aLegacyDocumentwhich the document id.static LegacyDocumentLegacyDocument. create(String id, int expiry, Object content)Creates aLegacyDocumentwhich the document id, JSON content and the expiration time.static LegacyDocumentLegacyDocument. create(String id, int expiry, Object content, long cas)Creates aLegacyDocumentwhich the document id, JSON content, CAS value, expiration time and status code.static LegacyDocumentLegacyDocument. create(String id, int expiry, Object content, long cas, MutationToken mutationToken)Creates aLegacyDocumentwhich the document id, JSON content, CAS value, expiration time and status code.static LegacyDocumentLegacyDocument. create(String id, Object content)Creates aLegacyDocumentwhich the document id and JSON content.static LegacyDocumentLegacyDocument. create(String id, Object content, long cas)Creates aLegacyDocumentwhich the document id, JSON content and the CAS value.static LegacyDocumentLegacyDocument. from(LegacyDocument doc, long cas)Creates a copy from a differentLegacyDocument, but changes the CAS value.static LegacyDocumentLegacyDocument. from(LegacyDocument doc, Object content)Creates a copy from a differentLegacyDocument, but changes the content.static LegacyDocumentLegacyDocument. from(LegacyDocument doc, String id)Creates a copy from a differentLegacyDocument, but changes the document ID.static LegacyDocumentLegacyDocument. 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 LegacyDocumentLegacyDocument. from(LegacyDocument doc, long cas)Creates a copy from a differentLegacyDocument, but changes the CAS value.static LegacyDocumentLegacyDocument. from(LegacyDocument doc, Object content)Creates a copy from a differentLegacyDocument, but changes the content.static LegacyDocumentLegacyDocument. from(LegacyDocument doc, String id)Creates a copy from a differentLegacyDocument, but changes the document ID.static LegacyDocumentLegacyDocument. 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 LegacyDocumentLegacyTranscoder. doDecode(String id, com.couchbase.client.deps.io.netty.buffer.ByteBuf content, long cas, int expiry, int flags, ResponseStatus status)LegacyDocumentLegacyTranscoder. newDocument(String id, int expiry, Object content, long cas)LegacyDocumentLegacyTranscoder. 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)
-