Uses of Interface
com.couchbase.client.java.codec.JsonSerializer
Package
Description
Namespace for various analytics-service related classes.
Utilities and interfaces for encoding and decoding.
Holds classes related to the environment and its configuration.
Namespace for various kv-service related classes.
Namespace for various query-service related classes.
Namespace for various search-service related classes.
Holds search result classes and interfaces.
Namespace for various view-service related classes.
-
Uses of JsonSerializer in com.couchbase.client.java.analytics
Modifier and TypeMethodDescriptionstatic CompletableFuture
<AnalyticsResult> AnalyticsAccessor.analyticsQueryAsync
(Core core, AnalyticsRequest request, JsonSerializer serializer) static Mono
<ReactiveAnalyticsResult> AnalyticsAccessor.analyticsQueryReactive
(Core core, AnalyticsRequest request, JsonSerializer serializer) AnalyticsOptions.serializer
(JsonSerializer serializer) Provides a customJsonSerializer
to be used for decoding the rows as they return from the server. -
Uses of JsonSerializer in com.couchbase.client.java.codec
Modifier and TypeClassDescriptionclass
The default JSON serializer.class
A serializer backed by a user-provided JacksonObjectMapper
.class
Wraps another serializer, intercepting and handling requests to [de]serialize JsonObject and JsonArray.Modifier and TypeMethodDescriptionstatic JsonTranscoder
JsonTranscoder.create
(JsonSerializer serializer) static LegacyTranscoder
LegacyTranscoder.create
(JsonSerializer jsonSerializer) -
Uses of JsonSerializer in com.couchbase.client.java.env
Modifier and TypeMethodDescriptionClusterEnvironment.jsonSerializer()
Returns the default serializer used to serialize and deserialize JSON values.Modifier and TypeMethodDescriptionClusterEnvironment.Builder.jsonSerializer
(JsonSerializer jsonSerializer) Sets the default serializer for converting between JSON and Java objects. -
Uses of JsonSerializer in com.couchbase.client.java.kv
Modifier and TypeMethodDescriptionLookupInAllReplicasOptions.Built.serializer()
LookupInAnyReplicaOptions.Built.serializer()
LookupInOptions.Built.serializer()
MutateInOptions.Built.serializer()
Modifier and TypeMethodDescription<T> T
MutateInResult.contentAs
(int index, TypeRef<T> target, JsonSerializer serializer) Decodes the content at the given index into an instance of the target type with a custom decoder.<T> T
MutateInResult.contentAs
(int index, Class<T> target, JsonSerializer serializer) Decodes the content at the given index into an instance of the target class with a custom decoder.static LookupInReplicaResult
LookupInReplicaResult.from
(CoreSubdocGetResult response, JsonSerializer serializer) LookupInAllReplicasOptions.serializer
(JsonSerializer serializer) Allows to specify a custom serializer that is used to decode the content of the result.LookupInAnyReplicaOptions.serializer
(JsonSerializer serializer) Allows to specify a custom serializer that is used to decode the content of the result.LookupInOptions.serializer
(JsonSerializer serializer) Customizes the serializer that is used to decode the contents of theLookupInResult
.MutateInOptions.serializer
(JsonSerializer serializer) Customizes the serializer that is used to encoded the contents of this request.ArrayAddUnique.toCore
(JsonSerializer serializer) ArrayAppend.toCore
(JsonSerializer serializer) ArrayInsert.toCore
(JsonSerializer serializer) ArrayPrepend.toCore
(JsonSerializer serializer) Increment.toCore
(JsonSerializer serializer) Insert.toCore
(JsonSerializer serializer) abstract CoreSubdocMutateCommand
MutateInSpec.toCore
(JsonSerializer serializer) Internal operation called from the encoding side that encodes the spec into its internal representation.Remove.toCore
(JsonSerializer serializer) Replace.toCore
(JsonSerializer serializer) ReplaceBodyWithXattr.toCore
(JsonSerializer serializer) Upsert.toCore
(JsonSerializer serializer) ModifierConstructorDescriptionLookupInResult
(CoreSubdocGetResult core, JsonSerializer serializer) MutateInResult
(CoreSubdocMutateResult core, JsonSerializer serializer) -
Uses of JsonSerializer in com.couchbase.client.java.manager.raw
ModifierConstructorDescriptionRawManagerResponse
(ServiceType serviceType, JsonSerializer serializer, int httpStatus, byte[] payload) -
Uses of JsonSerializer in com.couchbase.client.java.query
Modifier and TypeMethodDescriptionQueryOptions.serializer
(JsonSerializer serializer) Provides a customJsonSerializer
to be used for decoding the rows as they return from the server.ModifierConstructorDescriptionQueryResult
(CoreQueryResult internal, JsonSerializer serializer) Creates a new QueryResult.ReactiveQueryResult
(CoreReactiveQueryResult internal, JsonSerializer serializer) -
Uses of JsonSerializer in com.couchbase.client.java.search
-
Uses of JsonSerializer in com.couchbase.client.java.search.result
ModifierConstructorDescriptionReactiveSearchResult
(CoreReactiveSearchResult internal, JsonSerializer serializer) SearchResult
(CoreSearchResult internal, JsonSerializer serializer) Creates a new SearchResult.SearchRow
(CoreSearchRow internal, JsonSerializer serializer) -
Uses of JsonSerializer in com.couchbase.client.java.transactions
Modifier and TypeMethodDescriptionTransactionQueryOptions.serializer
(JsonSerializer serializer) Provides a customJsonSerializer
to be used for decoding the rows as they return from the server.ModifierConstructorDescriptionReactiveTransactions
(Core core, JsonSerializer serializer) TransactionQueryResult
(CoreQueryResult internal, JsonSerializer serializer) Creates a new TransactionQueryResult.Transactions
(Core core, JsonSerializer serializer) -
Uses of JsonSerializer in com.couchbase.client.java.transactions.internal
Modifier and TypeMethodDescriptionstatic Transcoder.EncodedValue
EncodingUtil.encode
(Object content, RequestSpan span, JsonSerializer serializer, Transcoder transcoder, CoreContext coreContext) -
Uses of JsonSerializer in com.couchbase.client.java.view
Modifier and TypeMethodDescriptionViewOptions.serializer
(JsonSerializer serializer) static CompletableFuture
<ViewResult> ViewAccessor.viewQueryAsync
(Core core, ViewRequest request, JsonSerializer serializer) static Mono
<ReactiveViewResult> ViewAccessor.viewQueryReactive
(Core core, ViewRequest request, JsonSerializer serializer)