Class TransactionGetMultiReplicasFromPreferredServerGroupSpec
java.lang.Object
com.couchbase.client.java.transactions.getmulti.TransactionGetMultiReplicasFromPreferredServerGroupSpec
A request to fetch a particular document.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(Collection collection, String id) Creates a request to fetch a document for the given `collection` and `id`.id()
toString()
@Nullable Transcoder
transcoder
(Transcoder transcoder) Provide a transcoder so that e.g.
-
Method Details
-
create
public static TransactionGetMultiReplicasFromPreferredServerGroupSpec create(Collection collection, String id) Creates a request to fetch a document for the given `collection` and `id`. -
transcoder
Provide a transcoder so that e.g. binary documents can be handled.(Most applications will not need to set this.)
-
collection
-
id
-
transcoder
-
toString
-