| Package | Description |
|---|---|
| com.couchbase.client.java.transactions |
| Modifier and Type | Method and Description |
|---|---|
TransactionGetResult |
TransactionAttemptContext.get(Collection collection,
String id)
Gets a document from the specified Couchbase
collection matching the specified id. |
TransactionGetResult |
TransactionAttemptContext.get(Collection collection,
String id,
TransactionGetOptions options)
Gets a document from the specified Couchbase
collection matching the specified id. |
TransactionGetResult |
TransactionAttemptContext.insert(Collection collection,
String id,
Object content)
Inserts a new document into the specified Couchbase
collection. |
TransactionGetResult |
TransactionAttemptContext.insert(Collection collection,
String id,
Object content,
TransactionInsertOptions options)
Inserts a new document into the specified Couchbase
collection. |
TransactionGetResult |
TransactionAttemptContext.replace(TransactionGetResult doc,
Object content)
Mutates the specified
doc with new content. |
TransactionGetResult |
TransactionAttemptContext.replace(TransactionGetResult doc,
Object content,
TransactionReplaceOptions options)
Mutates the specified
doc with new content. |
| Modifier and Type | Method and Description |
|---|---|
Mono<TransactionGetResult> |
ReactiveTransactionAttemptContext.get(ReactiveCollection collection,
String id)
Gets a document with the specified
id and from the specified Couchbase collection. |
Mono<TransactionGetResult> |
ReactiveTransactionAttemptContext.get(ReactiveCollection collection,
String id,
TransactionGetOptions options)
Gets a document with the specified
id and from the specified Couchbase collection. |
Mono<TransactionGetResult> |
ReactiveTransactionAttemptContext.insert(ReactiveCollection collection,
String id,
Object content)
Inserts a new document into the specified Couchbase
collection. |
Mono<TransactionGetResult> |
ReactiveTransactionAttemptContext.insert(ReactiveCollection collection,
String id,
Object content,
TransactionInsertOptions options)
Inserts a new document into the specified Couchbase
collection. |
Mono<TransactionGetResult> |
ReactiveTransactionAttemptContext.replace(TransactionGetResult doc,
Object content)
Mutates the specified
doc with new content. |
Mono<TransactionGetResult> |
ReactiveTransactionAttemptContext.replace(TransactionGetResult doc,
Object content,
TransactionReplaceOptions options)
Mutates the specified
doc with new content. |
| Modifier and Type | Method and Description |
|---|---|
void |
TransactionAttemptContext.remove(TransactionGetResult doc)
Removes the specified
doc. |
Mono<Void> |
ReactiveTransactionAttemptContext.remove(TransactionGetResult doc)
Removes the specified
doc. |
TransactionGetResult |
TransactionAttemptContext.replace(TransactionGetResult doc,
Object content)
Mutates the specified
doc with new content. |
Mono<TransactionGetResult> |
ReactiveTransactionAttemptContext.replace(TransactionGetResult doc,
Object content)
Mutates the specified
doc with new content. |
TransactionGetResult |
TransactionAttemptContext.replace(TransactionGetResult doc,
Object content,
TransactionReplaceOptions options)
Mutates the specified
doc with new content. |
Mono<TransactionGetResult> |
ReactiveTransactionAttemptContext.replace(TransactionGetResult doc,
Object content,
TransactionReplaceOptions options)
Mutates the specified
doc with new content. |
Copyright © 2024 Couchbase, Inc.. All rights reserved.