Uses of Class
com.couchbase.client.core.transaction.CoreTransactionGetResult
Package
Description
-
Uses of CoreTransactionGetResult in com.couchbase.client.core.error.transaction
Modifier and TypeMethodDescriptionDocumentAlreadyInTransactionException.create
(CoreTransactionAttemptContext ctx, CoreTransactionGetResult doc) -
Uses of CoreTransactionGetResult in com.couchbase.client.core.transaction
Modifier and TypeMethodDescriptionstatic CoreTransactionGetResult
CoreTransactionGetResult.createFrom
(CollectionIdentifier collection, String documentId, CoreSubdocGetResult doc) static CoreTransactionGetResult
CoreTransactionGetResult.createFrom
(CoreTransactionGetResult doc, byte[] content) Modifier and TypeMethodDescriptionCoreTransactionAttemptContext.get
(CollectionIdentifier collection, String id) Gets a document with the specifiedid
and from the specified Couchbasebucket
.CoreTransactionAttemptContext.getReplicaFromPreferredServerGroup
(CollectionIdentifier collection, String id) CoreTransactionAttemptContext.insert
(CollectionIdentifier collection, String id, byte[] content, int flagsToStage, SpanWrapper pspan) Inserts a new document into the specified Couchbasecollection
.CoreTransactionAttemptContext.insert
(CollectionIdentifier collection, String id, byte[] content, SpanWrapper pspan) Deprecated.CoreTransactionAttemptContext.replace
(CoreTransactionGetResult doc, byte[] content, int flags, SpanWrapper pspan) Mutates the specifieddoc
with new content, using the document's lastcas()
.CoreTransactionAttemptContext.replace
(CoreTransactionGetResult doc, byte[] content, SpanWrapper pspan) Deprecated.in favor ofCoreTransactionAttemptContext.replace(CoreTransactionGetResult, byte[], int, SpanWrapper)
which takes an additional 'flags' argument.Modifier and TypeMethodDescriptionstatic CoreTransactionGetResult
CoreTransactionGetResult.createFrom
(CoreTransactionGetResult doc, byte[] content) CoreTransactionAttemptContext.remove
(CoreTransactionGetResult doc, SpanWrapper pspan) Removes the specifieddoc
, using the document's lastcas()
.CoreTransactionAttemptContext.replace
(CoreTransactionGetResult doc, byte[] content, int flags, SpanWrapper pspan) Mutates the specifieddoc
with new content, using the document's lastcas()
.CoreTransactionAttemptContext.replace
(CoreTransactionGetResult doc, byte[] content, SpanWrapper pspan) Deprecated.in favor ofCoreTransactionAttemptContext.replace(CoreTransactionGetResult, byte[], int, SpanWrapper)
which takes an additional 'flags' argument. -
Uses of CoreTransactionGetResult in com.couchbase.client.core.transaction.components
Modifier and TypeMethodDescriptionstatic Mono
<Optional<CoreTransactionGetResult>> DocumentGetter.getAsync
(Core core, CoreTransactionLogger LOGGER, CollectionIdentifier collection, CoreMergedTransactionConfig config, String docId, String byAttemptId, boolean justReturn, SpanWrapper span, Optional<String> resolvingMissingATREntry, MeteringUnits.MeteringUnitsBuilder units, CoreTransactionsSupportedExtensions supported, boolean preferredReplicaMode) DocumentGetter.justGetDoc
(Core core, CollectionIdentifier collection, String docId, Duration timeout, SpanWrapper span, boolean accessDeleted, CoreTransactionLogger logger, MeteringUnits.MeteringUnitsBuilder units, boolean preferredReplicaMode) -
Uses of CoreTransactionGetResult in com.couchbase.client.core.transaction.util
Modifier and TypeMethodDescriptionstatic LogDeferDocId
DebugUtil.docId
(CoreTransactionGetResult doc)
CoreTransactionAttemptContext.insert(CollectionIdentifier, String, byte[], int, SpanWrapper)
which takes an additional 'flags' argument.