Uses of Class
com.couchbase.client.java.codec.TypeRef
-
Packages that use TypeRef 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.view Namespace for various view-service related classes. -
-
Uses of TypeRef in com.couchbase.client.java.analytics
Methods in com.couchbase.client.java.analytics with parameters of type TypeRef Modifier and Type Method Description <T> List<T>
AnalyticsResult. rowsAs(TypeRef<T> target)
Returns all rows, converted into instances of the target type.<T> Flux<T>
ReactiveAnalyticsResult. rowsAs(TypeRef<T> target)
-
Uses of TypeRef in com.couchbase.client.java.codec
Methods in com.couchbase.client.java.codec with parameters of type TypeRef Modifier and Type Method Description <T> T
JsonTranscoder. decode(TypeRef<T> target, byte[] input, int flags)
<T> T
LegacyTranscoder. decode(TypeRef<T> target, byte[] input, int flags)
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
DefaultJsonSerializer. deserialize(TypeRef<T> target, byte[] input)
<T> T
JacksonJsonSerializer. 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
JsonValueSerializerWrapper. deserialize(TypeRef<T> target, byte[] input)
-
Uses of TypeRef in com.couchbase.client.java.kv
Methods in com.couchbase.client.java.kv with parameters of type TypeRef Modifier and Type Method Description <T> T
GetResult. contentAs(TypeRef<T> target)
Decodes the content of the document into an instance of the target type.<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)
Decodes the content at the given index into an instance of the target type with the default 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. -
Uses of TypeRef in com.couchbase.client.java.manager.raw
Methods in com.couchbase.client.java.manager.raw with parameters of type TypeRef Modifier and Type Method Description <T> T
RawManagerResponse. contentAs(TypeRef<T> target)
Converts the payload into the target format. -
Uses of TypeRef in com.couchbase.client.java.query
Methods in com.couchbase.client.java.query with parameters of type TypeRef Modifier and Type Method 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 aFlux
which publishes the rows that were fetched by the query which are then decoded to the requested entity type -
Uses of TypeRef in com.couchbase.client.java.search.result
Methods in com.couchbase.client.java.search.result with parameters of type TypeRef Modifier and Type Method Description <T> T
SearchRow. fieldsAs(TypeRef<T> target)
The value of each requested field (as defined in theSearchQuery
. -
Uses of TypeRef in com.couchbase.client.java.view
Methods in com.couchbase.client.java.view with parameters of type TypeRef Modifier and Type Method 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.
-