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.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.result |
Holds search result classes and interfaces.
|
com.couchbase.client.java.transactions | |
com.couchbase.client.java.view |
Namespace for various view-service related classes.
|
Modifier and Type | Method and Description |
---|---|
<T> Flux<T> |
ReactiveAnalyticsResult.rowsAs(TypeRef<T> target) |
<T> List<T> |
AnalyticsResult.rowsAs(TypeRef<T> target)
Returns all rows, converted into instances of the target type.
|
Modifier and Type | Method and Description |
---|---|
default <T> T |
Transcoder.decode(TypeRef<T> target,
byte[] input,
int flags)
Decodes the wire representation into the entity based on the data format.
|
<T> T |
JsonTranscoder.decode(TypeRef<T> target,
byte[] input,
int flags) |
<T> T |
LegacyTranscoder.decode(TypeRef<T> target,
byte[] input,
int flags) |
<T> T |
JsonValueSerializerWrapper.deserialize(TypeRef<T> target,
byte[] input) |
default <T> T |
JsonSerializer.deserialize(TypeRef<T> target,
byte[] input)
Deserializes raw input into the target type.
|
<T> T |
JacksonJsonSerializer.deserialize(TypeRef<T> target,
byte[] input) |
<T> T |
DefaultJsonSerializer.deserialize(TypeRef<T> target,
byte[] input) |
Modifier and Type | Method and Description |
---|---|
<T> T |
MutateInResult.contentAs(int index,
TypeRef<T> target)
Decodes the content at the given index into an instance of the target type with the default decoder.
|
<T> T |
LookupInResult.contentAs(int index,
TypeRef<T> target)
Decodes the content at the given index into an instance of the target type.
|
<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 |
ScanResult.contentAs(TypeRef<T> target)
Decodes the content of the document into an instance of the target type.
|
<T> T |
GetResult.contentAs(TypeRef<T> target)
Decodes the content of the document into an instance of the target type.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
RawManagerResponse.contentAs(TypeRef<T> target)
Converts the payload into the target format.
|
Modifier and Type | Method and Description |
---|---|
<T> List<T> |
QueryResult.rowsAs(TypeRef<T> target)
Returns all rows, converted into instances of the target type.
|
<T> Flux<T> |
ReactiveQueryResult.rowsAs(TypeRef<T> target)
Get a
Flux which publishes the rows that were fetched by the query which are then decoded to the
requested entity type |
Modifier and Type | Method and Description |
---|---|
<T> T |
SearchRow.fieldsAs(TypeRef<T> target)
The value of each requested field (as defined in the
SearchQuery . |
Modifier and Type | Method and Description |
---|---|
<T> T |
TransactionGetResult.contentAs(TypeRef<T> target)
Decodes the content of the document into the target class.
|
<T> List<T> |
TransactionQueryResult.rowsAs(TypeRef<T> target)
Returns all rows, converted into instances of the target type.
|
Modifier and Type | Method and Description |
---|---|
<T> Optional<T> |
ViewRow.keyAs(TypeRef<T> target)
Decodes the key into the given target type if present.
|
<T> Optional<T> |
ViewRow.valueAs(TypeRef<T> target)
Decodes the value into the given target type if present.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.