| Modifier and Type | Method and Description |
|---|---|
static DocumentAlreadyInTransactionException |
DocumentAlreadyInTransactionException.create(CoreTransactionAttemptContext ctx,
CoreTransactionGetResult doc) |
| Modifier and Type | Method and Description |
|---|---|
static CoreTransactionGetResult |
CoreTransactionGetResult.createFrom(CollectionIdentifier collection,
String documentId,
SubdocGetResponse doc) |
static CoreTransactionGetResult |
CoreTransactionGetResult.createFrom(CoreTransactionGetResult doc,
byte[] content) |
| Modifier and Type | Method and Description |
|---|---|
Mono<CoreTransactionGetResult> |
CoreTransactionAttemptContext.get(CollectionIdentifier collection,
String id)
Gets a document with the specified
id and from the specified Couchbase bucket. |
Mono<CoreTransactionGetResult> |
CoreTransactionAttemptContext.insert(CollectionIdentifier collection,
String id,
byte[] content,
int flagsToStage,
SpanWrapper pspan)
Inserts a new document into the specified Couchbase
collection. |
Mono<CoreTransactionGetResult> |
CoreTransactionAttemptContext.replace(CoreTransactionGetResult doc,
byte[] content,
int flags,
SpanWrapper pspan)
Mutates the specified
doc with new content, using the
document's last cas(). |
| Modifier and Type | Method and Description |
|---|---|
static CoreTransactionGetResult |
CoreTransactionGetResult.createFrom(CoreTransactionGetResult doc,
byte[] content) |
Mono<Void> |
CoreTransactionAttemptContext.remove(CoreTransactionGetResult doc,
SpanWrapper pspan)
Removes the specified
doc, using the document's last
cas(). |
Mono<CoreTransactionGetResult> |
CoreTransactionAttemptContext.replace(CoreTransactionGetResult doc,
byte[] content,
int flags,
SpanWrapper pspan)
Mutates the specified
doc with new content, using the
document's last cas(). |
| Modifier and Type | Method and Description |
|---|---|
static 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) |
static Mono<Optional<Tuple2<CoreTransactionGetResult,SubdocGetResponse>>> |
DocumentGetter.justGetDoc(Core core,
CollectionIdentifier collection,
String docId,
Duration timeout,
SpanWrapper span,
boolean accessDeleted,
CoreTransactionLogger logger,
MeteringUnits.MeteringUnitsBuilder units) |
| Modifier and Type | Method and Description |
|---|---|
static LogDeferDocId |
DebugUtil.docId(CoreTransactionGetResult doc) |
Copyright © 2024 Couchbase, Inc.. All rights reserved.