@Stability.Volatile public class TransactionGetOptions extends Object
Modifier and Type | Class and Description |
---|---|
class |
TransactionGetOptions.Built |
Modifier and Type | Field and Description |
---|---|
static TransactionGetOptions |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
TransactionGetOptions.Built |
build() |
static TransactionGetOptions |
transactionGetOptions() |
TransactionGetOptions |
transcoder(Transcoder transcoder)
Specify a custom
Transcoder that is used to decode the content of the result. |
public static final TransactionGetOptions DEFAULT
public static TransactionGetOptions transactionGetOptions()
@SinceCouchbase(value="7.6.2") public TransactionGetOptions transcoder(Transcoder transcoder)
Transcoder
that is used to decode the content of the result.
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 decoding.@Stability.Internal public TransactionGetOptions.Built build()
Copyright © 2024 Couchbase, Inc.. All rights reserved.