Class TransactionReplaceOptions
java.lang.Object
com.couchbase.client.java.transactions.config.TransactionReplaceOptions
Operations controlling a transactional replace.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuild()static TransactionReplaceOptionstranscoder(Transcoder transcoder) Specify a customTranscoderthat is used to encode the content.
-
Method Details
-
transactionReplaceOptions
-
transcoder
Specify a customTranscoderthat is used to encode the content.If not-specified, the
ClusterEnvironment'sJsonSerializer(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.
- Parameters:
transcoder- the custom transcoder that should be used for encoding.- Returns:
- this to allow method chaining.
-
build
-