Package | Description |
---|---|
com.couchbase.client.java.analytics |
Namespace for various analytics-service related classes.
|
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.manager.raw | |
com.couchbase.client.java.query |
Namespace for various query-service related classes.
|
com.couchbase.client.java.search |
Namespace for various search-service related classes.
|
com.couchbase.client.java.search.result |
Holds search result classes and interfaces.
|
com.couchbase.client.java.transactions | |
com.couchbase.client.java.transactions.internal | |
com.couchbase.client.java.view |
Namespace for various view-service related classes.
|
Modifier and Type | Method and Description |
---|---|
JsonSerializer |
AnalyticsOptions.Built.serializer() |
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<AnalyticsResult> |
AnalyticsAccessor.analyticsQueryAsync(com.couchbase.client.core.Core core,
com.couchbase.client.core.msg.analytics.AnalyticsRequest request,
JsonSerializer serializer) |
static Mono<ReactiveAnalyticsResult> |
AnalyticsAccessor.analyticsQueryReactive(com.couchbase.client.core.Core core,
com.couchbase.client.core.msg.analytics.AnalyticsRequest request,
JsonSerializer serializer) |
AnalyticsOptions |
AnalyticsOptions.serializer(JsonSerializer serializer)
Provides a custom
JsonSerializer to be used for decoding the rows as they return from the server. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultJsonSerializer
The default JSON serializer.
|
class |
JacksonJsonSerializer
A serializer backed by a user-provided Jackson
ObjectMapper . |
class |
JsonValueSerializerWrapper
Wraps another serializer, intercepting and handling requests to
[de]serialize JsonObject and JsonArray.
|
Modifier and Type | Method and Description |
---|---|
static JsonTranscoder |
JsonTranscoder.create(JsonSerializer serializer) |
static LegacyTranscoder |
LegacyTranscoder.create(JsonSerializer jsonSerializer) |
Constructor and Description |
---|
JsonValueSerializerWrapper(JsonSerializer wrapped) |
Modifier and Type | Method and Description |
---|---|
JsonSerializer |
ClusterEnvironment.jsonSerializer()
Returns the default serializer used to serialize and deserialize JSON values.
|
Modifier and Type | Method and Description |
---|---|
ClusterEnvironment.Builder |
ClusterEnvironment.Builder.jsonSerializer(JsonSerializer jsonSerializer)
Sets the default serializer for converting between JSON and Java objects.
|
Modifier and Type | Method and Description |
---|---|
JsonSerializer |
LookupInAnyReplicaOptions.Built.serializer() |
JsonSerializer |
LookupInAllReplicasOptions.Built.serializer() |
JsonSerializer |
MutateInOptions.Built.serializer() |
JsonSerializer |
LookupInOptions.Built.serializer() |
Modifier and Type | Method and Description |
---|---|
<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.
|
<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.
|
static LookupInReplicaResult |
LookupInReplicaResult.from(com.couchbase.client.core.api.kv.CoreSubdocGetResult response,
JsonSerializer serializer) |
LookupInAnyReplicaOptions |
LookupInAnyReplicaOptions.serializer(JsonSerializer serializer)
Allows to specify a custom serializer that is used to decode the content of the result.
|
LookupInAllReplicasOptions |
LookupInAllReplicasOptions.serializer(JsonSerializer serializer)
Allows to specify a custom serializer that is used to decode the content of the result.
|
MutateInOptions |
MutateInOptions.serializer(JsonSerializer serializer)
Customizes the serializer that is used to encoded the contents of this request.
|
LookupInOptions |
LookupInOptions.serializer(JsonSerializer serializer)
Customizes the serializer that is used to decode the contents of the
LookupInResult . |
com.couchbase.client.core.api.kv.CoreSubdocMutateCommand |
ArrayAppend.toCore(JsonSerializer serializer) |
abstract com.couchbase.client.core.api.kv.CoreSubdocMutateCommand |
MutateInSpec.toCore(JsonSerializer serializer)
Internal operation called from the encoding side that encodes the spec into its internal representation.
|
com.couchbase.client.core.api.kv.CoreSubdocMutateCommand |
Upsert.toCore(JsonSerializer serializer) |
com.couchbase.client.core.api.kv.CoreSubdocMutateCommand |
ArrayInsert.toCore(JsonSerializer serializer) |
com.couchbase.client.core.api.kv.CoreSubdocMutateCommand |
ArrayAddUnique.toCore(JsonSerializer serializer) |
com.couchbase.client.core.api.kv.CoreSubdocMutateCommand |
Increment.toCore(JsonSerializer serializer) |
com.couchbase.client.core.api.kv.CoreSubdocMutateCommand |
Replace.toCore(JsonSerializer serializer) |
com.couchbase.client.core.api.kv.CoreSubdocMutateCommand |
ReplaceBodyWithXattr.toCore(JsonSerializer serializer) |
com.couchbase.client.core.api.kv.CoreSubdocMutateCommand |
Remove.toCore(JsonSerializer serializer) |
com.couchbase.client.core.api.kv.CoreSubdocMutateCommand |
Insert.toCore(JsonSerializer serializer) |
com.couchbase.client.core.api.kv.CoreSubdocMutateCommand |
ArrayPrepend.toCore(JsonSerializer serializer) |
Constructor and Description |
---|
LookupInResult(com.couchbase.client.core.api.kv.CoreSubdocGetResult core,
JsonSerializer serializer) |
MutateInResult(com.couchbase.client.core.api.kv.CoreSubdocMutateResult core,
JsonSerializer serializer) |
Modifier and Type | Method and Description |
---|---|
JsonSerializer |
RawManagerOptions.Built.serializer() |
Modifier and Type | Method and Description |
---|---|
RawManagerOptions |
RawManagerOptions.serializer(JsonSerializer serializer) |
Constructor and Description |
---|
RawManagerResponse(com.couchbase.client.core.service.ServiceType serviceType,
JsonSerializer serializer,
int httpStatus,
byte[] payload) |
Modifier and Type | Method and Description |
---|---|
JsonSerializer |
QueryOptions.Built.serializer() |
Modifier and Type | Method and Description |
---|---|
QueryOptions |
QueryOptions.serializer(JsonSerializer serializer)
Provides a custom
JsonSerializer to be used for decoding the rows as they return from the server. |
Constructor and Description |
---|
QueryResult(com.couchbase.client.core.api.query.CoreQueryResult internal,
JsonSerializer serializer)
Creates a new QueryResult.
|
ReactiveQueryResult(com.couchbase.client.core.api.query.CoreReactiveQueryResult internal,
JsonSerializer serializer) |
Modifier and Type | Method and Description |
---|---|
JsonSerializer |
SearchOptions.Built.serializer() |
Modifier and Type | Method and Description |
---|---|
SearchOptions |
SearchOptions.serializer(JsonSerializer serializer) |
Constructor and Description |
---|
ReactiveSearchResult(com.couchbase.client.core.api.search.result.CoreReactiveSearchResult internal,
JsonSerializer serializer) |
SearchResult(com.couchbase.client.core.api.search.result.CoreSearchResult internal,
JsonSerializer serializer)
Creates a new SearchResult.
|
SearchRow(com.couchbase.client.core.api.search.result.CoreSearchRow internal,
JsonSerializer serializer) |
Modifier and Type | Method and Description |
---|---|
TransactionQueryOptions |
TransactionQueryOptions.serializer(JsonSerializer serializer)
Provides a custom
JsonSerializer to be used for decoding the rows as they return from the server. |
Constructor and Description |
---|
ReactiveTransactions(com.couchbase.client.core.Core core,
JsonSerializer serializer) |
TransactionQueryResult(com.couchbase.client.core.api.query.CoreQueryResult internal,
JsonSerializer serializer)
Creates a new TransactionQueryResult.
|
Transactions(com.couchbase.client.core.Core core,
JsonSerializer serializer) |
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) |
Modifier and Type | Method and Description |
---|---|
JsonSerializer |
ViewOptions.Built.serializer() |
Modifier and Type | Method and Description |
---|---|
ViewOptions |
ViewOptions.serializer(JsonSerializer serializer) |
static CompletableFuture<ViewResult> |
ViewAccessor.viewQueryAsync(com.couchbase.client.core.Core core,
com.couchbase.client.core.msg.view.ViewRequest request,
JsonSerializer serializer) |
static Mono<ReactiveViewResult> |
ViewAccessor.viewQueryReactive(com.couchbase.client.core.Core core,
com.couchbase.client.core.msg.view.ViewRequest request,
JsonSerializer serializer) |
Copyright © 2024 Couchbase, Inc.. All rights reserved.