Package | Description |
---|---|
com.couchbase.client.java.codec |
Utilities and interfaces for encoding and decoding.
|
com.couchbase.client.java.env |
Holds classes related to the environment and its configuration.
|
com.couchbase.client.java.kv |
Namespace for various kv-service related classes.
|
com.couchbase.client.java.transactions.config | |
com.couchbase.client.java.transactions.internal |
Modifier and Type | Class and Description |
---|---|
class |
JsonTranscoder |
class |
LegacyTranscoder |
class |
RawBinaryTranscoder |
class |
RawJsonTranscoder |
class |
RawStringTranscoder |
class |
Sdk2CompatibleLegacyTranscoder
This transcoder is compatible with the Java SDK 2 "LegacyTranscoder", which makes it usable
back to Java SDK 1 as a result.
|
class |
SerializableTranscoder
This transcoder allows to serialize and deserialize objects if they implement the
Serializable interface. |
Modifier and Type | Method and Description |
---|---|
Transcoder |
ClusterEnvironment.transcoder()
Returns the default transcoder used for all operations if not overridden on a per-operation basis.
|
Modifier and Type | Method and Description |
---|---|
ClusterEnvironment.Builder |
ClusterEnvironment.Builder.transcoder(Transcoder transcoder)
Allows to override the default transcoder going to be used for all KV operations.
|
Modifier and Type | Field and Description |
---|---|
protected Transcoder |
GetResult.transcoder
The default transcoder which should be used.
|
Modifier and Type | Method and Description |
---|---|
Transcoder |
InsertOptions.Built.transcoder() |
Transcoder |
GetAndLockOptions.Built.transcoder() |
Transcoder |
GetAllReplicasOptions.Built.transcoder() |
Transcoder |
GetAnyReplicaOptions.Built.transcoder() |
Transcoder |
UpsertOptions.Built.transcoder() |
Transcoder |
GetAndTouchOptions.Built.transcoder() |
Transcoder |
GetOptions.Built.transcoder() |
Transcoder |
ReplaceOptions.Built.transcoder() |
Transcoder |
ScanOptions.Built.transcoder() |
Modifier and Type | Method and Description |
---|---|
static GetReplicaResult |
GetReplicaResult.from(com.couchbase.client.core.api.kv.CoreGetResult get,
Transcoder transcoder) |
static GetReplicaResult |
GetReplicaResult.from(com.couchbase.client.core.service.kv.ReplicaHelper.GetReplicaResponse response,
Transcoder transcoder) |
InsertOptions |
InsertOptions.transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to encode the content of the request.
|
GetAndLockOptions |
GetAndLockOptions.transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to decode the content of the result.
|
GetAllReplicasOptions |
GetAllReplicasOptions.transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to decode the content of the result.
|
GetAnyReplicaOptions |
GetAnyReplicaOptions.transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to decode the content of the result.
|
UpsertOptions |
UpsertOptions.transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to encode the content of the request.
|
GetAndTouchOptions |
GetAndTouchOptions.transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to decode the content of the result.
|
GetOptions |
GetOptions.transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to decode the content of the result.
|
ReplaceOptions |
ReplaceOptions.transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to encode the content of the request.
|
ScanOptions |
ScanOptions.transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to decode the content of the result.
|
Constructor and Description |
---|
GetResult(byte[] content,
int flags,
long cas,
Optional<Instant> expiry,
Transcoder transcoder)
Creates a new
GetResult . |
GetResult(com.couchbase.client.core.api.kv.CoreGetResult core,
Transcoder transcoder) |
ScanResult(boolean idOnly,
String id,
byte[] content,
int flags,
long cas,
Optional<Instant> expiry,
Transcoder transcoder)
Creates a new
GetResult . |
Modifier and Type | Method and Description |
---|---|
Transcoder |
TransactionInsertOptions.Built.transcoder() |
Transcoder |
TransactionReplaceOptions.Built.transcoder() |
Transcoder |
TransactionGetOptions.Built.transcoder() |
Modifier and Type | Method and Description |
---|---|
TransactionInsertOptions |
TransactionInsertOptions.transcoder(Transcoder transcoder)
Specify a custom
Transcoder that is used to encode the content. |
TransactionReplaceOptions |
TransactionReplaceOptions.transcoder(Transcoder transcoder)
Specify a custom
Transcoder that is used to encode the content. |
TransactionGetOptions |
TransactionGetOptions.transcoder(Transcoder transcoder)
Specify a custom
Transcoder that is used to decode the content of the result. |
Modifier and Type | Method and Description |
---|---|
static Transcoder.EncodedValue |
EncodingUtil.encode(Object content,
com.couchbase.client.core.cnc.RequestSpan span,
JsonSerializer serializer,
Transcoder transcoder,
com.couchbase.client.core.CoreContext coreContext) |
Copyright © 2024 Couchbase, Inc.. All rights reserved.