Uses of Interface
com.couchbase.client.java.codec.Transcoder
Package
Description
Utilities and interfaces for encoding and decoding.
Holds classes related to the environment and its configuration.
Namespace for various kv-service related classes.
-
Uses of Transcoder in com.couchbase.client.java.codec
Modifier and TypeClassDescriptionclass
class
class
class
class
class
This transcoder is compatible with the Java SDK 2 "LegacyTranscoder", which makes it usable back to Java SDK 1 as a result.class
This transcoder allows to serialize and deserialize objects if they implement theSerializable
interface. -
Uses of Transcoder in com.couchbase.client.java.env
Modifier and TypeMethodDescriptionClusterEnvironment.transcoder()
Returns the default transcoder used for all operations if not overridden on a per-operation basis.Modifier and TypeMethodDescriptionClusterEnvironment.Builder.transcoder
(Transcoder transcoder) Allows to override the default transcoder going to be used for all KV operations. -
Uses of Transcoder in com.couchbase.client.java.kv
Modifier and TypeFieldDescriptionprotected final Transcoder
GetResult.transcoder
The default transcoder which should be used.Modifier and TypeMethodDescriptionGetAllReplicasOptions.Built.transcoder()
GetAndLockOptions.Built.transcoder()
GetAndTouchOptions.Built.transcoder()
GetAnyReplicaOptions.Built.transcoder()
GetOptions.Built.transcoder()
InsertOptions.Built.transcoder()
ReplaceOptions.Built.transcoder()
ScanOptions.Built.transcoder()
UpsertOptions.Built.transcoder()
Modifier and TypeMethodDescriptionstatic GetReplicaResult
GetReplicaResult.from
(CoreGetResult get, Transcoder transcoder) static GetReplicaResult
GetReplicaResult.from
(ReplicaHelper.GetReplicaResponse response, Transcoder transcoder) GetAllReplicasOptions.transcoder
(Transcoder transcoder) Allows to specify a custom transcoder that is used to decode the content of the result.GetAndLockOptions.transcoder
(Transcoder transcoder) Allows to specify a custom transcoder that is used to decode the content of the result.GetAndTouchOptions.transcoder
(Transcoder transcoder) Allows to specify a custom transcoder that is used to decode the content of the result.GetAnyReplicaOptions.transcoder
(Transcoder transcoder) Allows to specify a custom transcoder that is used to decode the content of the result.GetOptions.transcoder
(Transcoder transcoder) Allows to specify a custom transcoder that is used to decode the content of the result.InsertOptions.transcoder
(Transcoder transcoder) Allows to specify a custom transcoder that is used to encode the content of the request.ReplaceOptions.transcoder
(Transcoder transcoder) Allows to specify a custom transcoder that is used to encode the content of the request.ScanOptions.transcoder
(Transcoder transcoder) Allows to specify a custom transcoder that is used to decode the content of the result.UpsertOptions.transcoder
(Transcoder transcoder) Allows to specify a custom transcoder that is used to encode the content of the request.ModifierConstructorDescriptionGetResult
(byte[] content, int flags, long cas, Optional<Instant> expiry, Transcoder transcoder) Creates a newGetResult
.GetResult
(CoreGetResult core, Transcoder transcoder) ScanResult
(boolean idOnly, String id, byte[] content, int flags, long cas, Optional<Instant> expiry, Transcoder transcoder) Creates a newGetResult
. -
Uses of Transcoder in com.couchbase.client.java.transactions.config
Modifier and TypeMethodDescriptionTransactionGetOptions.Built.transcoder()
TransactionInsertOptions.Built.transcoder()
TransactionReplaceOptions.Built.transcoder()
Modifier and TypeMethodDescriptionTransactionGetOptions.transcoder
(Transcoder transcoder) Specify a customTranscoder
that is used to decode the content of the result.TransactionInsertOptions.transcoder
(Transcoder transcoder) Specify a customTranscoder
that is used to encode the content.TransactionReplaceOptions.transcoder
(Transcoder transcoder) Specify a customTranscoder
that is used to encode the content. -
Uses of Transcoder in com.couchbase.client.java.transactions.internal
Modifier and TypeMethodDescriptionstatic Transcoder.EncodedValue
EncodingUtil.encode
(Object content, RequestSpan span, JsonSerializer serializer, Transcoder transcoder, CoreContext coreContext)