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> TJsonTranscoder. decode(TypeRef<T> target, byte[] input, int flags)<T> TLegacyTranscoder. decode(TypeRef<T> target, byte[] input, int flags)default <T> TTranscoder. decode(TypeRef<T> target, byte[] input, int flags)Decodes the wire representation into the entity based on the data format.<T> TDefaultJsonSerializer. deserialize(TypeRef<T> target, byte[] input)<T> TJacksonJsonSerializer. deserialize(TypeRef<T> target, byte[] input)default <T> TJsonSerializer. deserialize(TypeRef<T> target, byte[] input)Deserializes raw input into the target type. -
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> TGetResult. contentAs(TypeRef<T> target)Decodes the content of the document into an instance of the target type.<T> TLookupInResult. contentAs(int index, TypeRef<T> target)Decodes the content at the given index into an instance of the target type.<T> TMutateInResult. 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> TMutateInResult. 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> TRawManagerResponse. 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 aFluxwhich 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> TSearchRow. 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.
-