Uses of Class
com.couchbase.client.java.transactions.TransactionGetResult
-
Uses of TransactionGetResult in com.couchbase.client.java.transactions
Modifier and TypeMethodDescriptionTransactionAttemptContext.get
(Collection collection, String id) Gets a document from the specified Couchbasecollection
matching the specifiedid
.TransactionAttemptContext.get
(Collection collection, String id, TransactionGetOptions options) Gets a document from the specified Couchbasecollection
matching the specifiedid
.TransactionAttemptContext.getReplicaFromPreferredServerGroup
(Collection collection, String id) A convenience wrapper aroundTransactionAttemptContext.getReplicaFromPreferredServerGroup(Collection, String, TransactionGetReplicaFromPreferredServerGroupOptions)
using default options.TransactionAttemptContext.getReplicaFromPreferredServerGroup
(Collection collection, String id, TransactionGetReplicaFromPreferredServerGroupOptions options) Gets a document from the specified Couchbasecollection
matching the specifiedid
.TransactionAttemptContext.insert
(Collection collection, String id, Object content) Inserts a new document into the specified Couchbasecollection
.TransactionAttemptContext.insert
(Collection collection, String id, Object content, TransactionInsertOptions options) Inserts a new document into the specified Couchbasecollection
.TransactionAttemptContext.replace
(TransactionGetResult doc, Object content) Mutates the specifieddoc
with new content.TransactionAttemptContext.replace
(TransactionGetResult doc, Object content, TransactionReplaceOptions options) Mutates the specifieddoc
with new content.Modifier and TypeMethodDescriptionReactiveTransactionAttemptContext.get
(ReactiveCollection collection, String id) Gets a document with the specifiedid
and from the specified Couchbasecollection
.ReactiveTransactionAttemptContext.get
(ReactiveCollection collection, String id, TransactionGetOptions options) Gets a document with the specifiedid
and from the specified Couchbasecollection
.ReactiveTransactionAttemptContext.getReplicaFromPreferredServerGroup
(ReactiveCollection collection, String id) A convenience wrapper aroundReactiveTransactionAttemptContext.getReplicaFromPreferredServerGroup(ReactiveCollection, String, TransactionGetReplicaFromPreferredServerGroupOptions)
using default options.ReactiveTransactionAttemptContext.getReplicaFromPreferredServerGroup
(ReactiveCollection collection, String id, TransactionGetReplicaFromPreferredServerGroupOptions options) Gets a document from the specified Couchbasecollection
matching the specifiedid
.ReactiveTransactionAttemptContext.insert
(ReactiveCollection collection, String id, Object content) Inserts a new document into the specified Couchbasecollection
.ReactiveTransactionAttemptContext.insert
(ReactiveCollection collection, String id, Object content, TransactionInsertOptions options) Inserts a new document into the specified Couchbasecollection
.ReactiveTransactionAttemptContext.replace
(TransactionGetResult doc, Object content) Mutates the specifieddoc
with new content.ReactiveTransactionAttemptContext.replace
(TransactionGetResult doc, Object content, TransactionReplaceOptions options) Mutates the specifieddoc
with new content.Modifier and TypeMethodDescriptionReactiveTransactionAttemptContext.remove
(TransactionGetResult doc) Removes the specifieddoc
.void
TransactionAttemptContext.remove
(TransactionGetResult doc) Removes the specifieddoc
.ReactiveTransactionAttemptContext.replace
(TransactionGetResult doc, Object content) Mutates the specifieddoc
with new content.ReactiveTransactionAttemptContext.replace
(TransactionGetResult doc, Object content, TransactionReplaceOptions options) Mutates the specifieddoc
with new content.TransactionAttemptContext.replace
(TransactionGetResult doc, Object content) Mutates the specifieddoc
with new content.TransactionAttemptContext.replace
(TransactionGetResult doc, Object content, TransactionReplaceOptions options) Mutates the specifieddoc
with new content.