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.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.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(Core core,
AnalyticsRequest request,
JsonSerializer serializer) |
static Mono<ReactiveAnalyticsResult> |
AnalyticsAccessor.analyticsQueryReactive(Core core,
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 . |
Modifier and Type | Method and Description |
---|---|
static JsonTranscoder |
JsonTranscoder.create(JsonSerializer serializer) |
static LegacyTranscoder |
LegacyTranscoder.create(JsonSerializer jsonSerializer) |
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 |
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.
|
SubdocMutateRequest.Command |
ArrayAddUnique.encode(JsonSerializer serializer,
int originalIndex) |
abstract SubdocMutateRequest.Command |
MutateInSpec.encode(JsonSerializer serializer,
int originalIndex)
Internal operation called from the encoding side that encodes the spec into its internal representation.
|
SubdocMutateRequest.Command |
Increment.encode(JsonSerializer serializer,
int originalIndex) |
SubdocMutateRequest.Command |
Remove.encode(JsonSerializer defaultSerializer,
int originalIndex) |
SubdocMutateRequest.Command |
ArrayInsert.encode(JsonSerializer serializer,
int originalIndex) |
SubdocMutateRequest.Command |
ArrayAppend.encode(JsonSerializer serializer,
int originalIndex) |
SubdocMutateRequest.Command |
Insert.encode(JsonSerializer serializer,
int originalIndex) |
SubdocMutateRequest.Command |
Upsert.encode(JsonSerializer serializer,
int originalIndex) |
SubdocMutateRequest.Command |
ArrayPrepend.encode(JsonSerializer serializer,
int originalIndex) |
SubdocMutateRequest.Command |
Replace.encode(JsonSerializer serializer,
int originalIndex) |
static CompletableFuture<LookupInResult> |
LookupInAccessor.lookupInAccessor(Core core,
SubdocGetRequest request,
JsonSerializer serializer) |
static CompletableFuture<MutateInResult> |
MutateInAccessor.mutateIn(Core core,
SubdocMutateRequest request,
String key,
PersistTo persistTo,
ReplicateTo replicateTo,
Boolean insertDocument,
JsonSerializer serializer) |
MutateInOptions |
MutateInOptions.serializer(JsonSerializer serializer) |
LookupInOptions |
LookupInOptions.serializer(JsonSerializer serializer) |
Modifier and Type | Method and Description |
---|---|
JsonSerializer |
QueryOptions.Built.serializer() |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<QueryResult> |
QueryAccessor.queryAsync(QueryRequest request,
QueryOptions.Built options,
JsonSerializer serializer)
Performs a N1QL query and returns the result as a future.
|
Mono<ReactiveQueryResult> |
QueryAccessor.queryReactive(QueryRequest request,
QueryOptions.Built options,
JsonSerializer serializer)
Performs a N1QL query and returns the result as a future.
|
QueryOptions |
QueryOptions.serializer(JsonSerializer serializer)
Provides a custom
JsonSerializer to be used for decoding the rows as they return from the server. |
Modifier and Type | Method and Description |
---|---|
JsonSerializer |
SearchOptions.Built.serializer() |
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<SearchResult> |
SearchAccessor.searchQueryAsync(Core core,
SearchRequest request,
JsonSerializer serializer) |
static Mono<ReactiveSearchResult> |
SearchAccessor.searchQueryReactive(Core core,
SearchRequest request,
JsonSerializer serializer) |
SearchOptions |
SearchOptions.serializer(JsonSerializer serializer) |
Modifier and Type | Method and Description |
---|---|
static SearchRow |
SearchRow.fromResponse(SearchChunkRow row,
JsonSerializer serializer) |
Constructor and Description |
---|
SearchRow(String index,
String id,
double score,
JsonObject explanation,
Optional<SearchRowLocations> locations,
Map<String,List<String>> fragments,
byte[] fields,
JsonSerializer serializer) |
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(Core core,
ViewRequest request,
JsonSerializer serializer) |
static Mono<ReactiveViewResult> |
ViewAccessor.viewQueryReactive(Core core,
ViewRequest request,
JsonSerializer serializer) |
Copyright © 2020 Couchbase, Inc.. All rights reserved.