@Stability.Volatile public class TransactionReplaceOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
TransactionReplaceOptions.Built |
| Modifier and Type | Field and Description |
|---|---|
static TransactionReplaceOptions |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
TransactionReplaceOptions.Built |
build() |
static TransactionReplaceOptions |
transactionReplaceOptions() |
TransactionReplaceOptions |
transcoder(Transcoder transcoder)
Specify a custom
Transcoder that is used to encode the content. |
public static final TransactionReplaceOptions DEFAULT
public static TransactionReplaceOptions transactionReplaceOptions()
@SinceCouchbase(value="7.6.2") public TransactionReplaceOptions transcoder(Transcoder transcoder)
Transcoder that is used to encode the content.
If not-specified, the ClusterEnvironment's JsonSerializer
(NOT transcoder) is used.
It is marked as being available from 7.6.2 because prior to this, only JSON documents were supported in transactions. This release added support for binary documents.
transcoder - the custom transcoder that should be used for encoding.@Stability.Internal public TransactionReplaceOptions.Built build()
Copyright © 2024 Couchbase, Inc.. All rights reserved.