Uses of Class
com.azure.core.util.serializer.TypeReference
Package
Description
Package containing experimental serializer interfaces.
Package containing the types for instantiating and using the Apache Avro serializer.
Package containing the types for instantiating and using the Jackson Avro serializer.
Package containing the types for instantiating and using the Gson JSON serializer.
Package containing the types for instantiating and using the Jackson JSON serializer.
Package containing core utility classes.
Package containing API for long running operations.
Package containing interfaces describing serialization and deserialization contract.
Package containing Avro-specific serializer and deserializer implementations.
Package containing classes for creating
SearchClient
or
SearchAsyncClient
used to perform document management, autocomplete, search, or
suggestion operations using an Azure Cognitive Search service index.-
Uses of TypeReference in com.azure.core.experimental.serializer
Modifier and TypeMethodDescription<T> T
AvroSerializer.deserialize
(InputStream stream, TypeReference<T> typeReference) Reads an Avro stream into its object representation.<T> Mono<T>
AvroSerializer.deserializeAsync
(InputStream stream, TypeReference<T> typeReference) Reads an Avro stream into its object representation.default <T> T
AvroSerializer.deserializeFromBytes
(byte[] data, TypeReference<T> typeReference) Reads an Avro byte array into its object representation.default <T> Mono<T>
AvroSerializer.deserializeFromBytesAsync
(byte[] data, TypeReference<T> typeReference) Reads an Avro byte array into its object representation.<T> T
JsonSerializer.deserializeTree
(JsonNode jsonNode, TypeReference<T> typeReference) Reads a JSON tree into its object representation.<T> Mono<T>
JsonSerializer.deserializeTreeAsync
(JsonNode jsonNode, TypeReference<T> typeReference) Reads a JSON tree into its object representation. -
Uses of TypeReference in com.azure.core.serializer.avro.apache
Modifier and TypeMethodDescription<T> T
ApacheAvroSerializer.deserialize
(InputStream stream, TypeReference<T> typeReference) <T> Mono<T>
ApacheAvroSerializer.deserializeAsync
(InputStream stream, TypeReference<T> typeReference) <T> T
ApacheAvroSerializer.deserializeFromBytes
(byte[] data, TypeReference<T> typeReference) <T> Mono<T>
ApacheAvroSerializer.deserializeFromBytesAsync
(byte[] data, TypeReference<T> typeReference) -
Uses of TypeReference in com.azure.core.serializer.avro.jackson
Modifier and TypeMethodDescription<T> T
JacksonAvroSerializer.deserialize
(InputStream stream, TypeReference<T> typeReference) <T> Mono<T>
JacksonAvroSerializer.deserializeAsync
(InputStream stream, TypeReference<T> typeReference) -
Uses of TypeReference in com.azure.core.serializer.json.gson
Modifier and TypeMethodDescription<T> T
GsonJsonSerializer.deserialize
(InputStream stream, TypeReference<T> typeReference) <T> Mono<T>
GsonJsonSerializer.deserializeAsync
(InputStream stream, TypeReference<T> typeReference) -
Uses of TypeReference in com.azure.core.serializer.json.jackson
Modifier and TypeMethodDescription<T> T
JacksonJsonSerializer.deserialize
(InputStream stream, TypeReference<T> typeReference) <T> Mono<T>
JacksonJsonSerializer.deserializeAsync
(InputStream stream, TypeReference<T> typeReference) <T> T
JacksonJsonSerializer.deserializeFromBytes
(byte[] data, TypeReference<T> typeReference) <T> Mono<T>
JacksonJsonSerializer.deserializeFromBytesAsync
(byte[] data, TypeReference<T> typeReference) -
Uses of TypeReference in com.azure.core.util
Modifier and TypeMethodDescription<T> T
BinaryData.toObject
(TypeReference<T> typeReference) Returns anObject
representation of thisBinaryData
by deserializing its data using the defaultJsonSerializer
.<T> T
BinaryData.toObject
(TypeReference<T> typeReference, ObjectSerializer serializer) Returns anObject
representation of thisBinaryData
by deserializing its data using the passedObjectSerializer
.<T> Mono<T>
BinaryData.toObjectAsync
(TypeReference<T> typeReference) Returns anObject
representation of thisBinaryData
by deserializing its data using the defaultJsonSerializer
.<T> Mono<T>
BinaryData.toObjectAsync
(TypeReference<T> typeReference, ObjectSerializer serializer) Returns anObject
representation of thisBinaryData
by deserializing its data using the passedObjectSerializer
. -
Uses of TypeReference in com.azure.core.util.polling
Modifier and TypeMethodDescriptionstatic <T,
U> PollerFlux<T, U> PollerFlux.create
(Duration pollInterval, Supplier<Mono<? extends Response<?>>> initialOperation, PollingStrategy<T, U> strategy, TypeReference<T> pollResponseType, TypeReference<U> resultType) Creates PollerFlux.ChainedPollingStrategy.getResult
(PollingContext<T> context, TypeReference<U> resultType) Parses the response from the final GET call into the result type of the long-running operation.DefaultPollingStrategy.getResult
(PollingContext<T> context, TypeReference<U> resultType) LocationPollingStrategy.getResult
(PollingContext<T> pollingContext, TypeReference<U> resultType) OperationResourcePollingStrategy.getResult
(PollingContext<T> pollingContext, TypeReference<U> resultType) PollingStrategy.getResult
(PollingContext<T> pollingContext, TypeReference<U> resultType) Parses the response from the final GET call into the result type of the long-running operation.StatusCheckPollingStrategy.getResult
(PollingContext<T> pollingContext, TypeReference<U> resultType) ChainedPollingStrategy.onInitialResponse
(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) Parses the initial response into aLongRunningOperationStatus
, and stores information useful for polling in thePollingContext
.DefaultPollingStrategy.onInitialResponse
(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) LocationPollingStrategy.onInitialResponse
(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) OperationResourcePollingStrategy.onInitialResponse
(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) PollingStrategy.onInitialResponse
(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) Parses the initial response into aLongRunningOperationStatus
, and stores information useful for polling in thePollingContext
.StatusCheckPollingStrategy.onInitialResponse
(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) ChainedPollingStrategy.poll
(PollingContext<T> context, TypeReference<T> pollResponseType) Parses the response from the polling URL into aPollResponse
, and stores information useful for further polling and final response in thePollingContext
.DefaultPollingStrategy.poll
(PollingContext<T> context, TypeReference<T> pollResponseType) LocationPollingStrategy.poll
(PollingContext<T> pollingContext, TypeReference<T> pollResponseType) OperationResourcePollingStrategy.poll
(PollingContext<T> pollingContext, TypeReference<T> pollResponseType) PollingStrategy.poll
(PollingContext<T> pollingContext, TypeReference<T> pollResponseType) Parses the response from the polling URL into aPollResponse
, and stores information useful for further polling and final response in thePollingContext
.StatusCheckPollingStrategy.poll
(PollingContext<T> context, TypeReference<T> pollResponseType) -
Uses of TypeReference in com.azure.core.util.serializer
Modifier and TypeMethodDescriptionstatic <T> TypeReference<T>
TypeReference.createInstance
(Class<T> clazz) Modifier and TypeMethodDescription<T> T
JsonSerializer.deserialize
(InputStream stream, TypeReference<T> typeReference) Reads a JSON stream into its object representation.<T> T
ObjectSerializer.deserialize
(InputStream stream, TypeReference<T> typeReference) Reads a stream into its object representation.<T> Mono<T>
JsonSerializer.deserializeAsync
(InputStream stream, TypeReference<T> typeReference) Reads a JSON stream into its object representation.<T> Mono<T>
ObjectSerializer.deserializeAsync
(InputStream stream, TypeReference<T> typeReference) Reads a stream into its object representation.default <T> T
JsonSerializer.deserializeFromBytes
(byte[] data, TypeReference<T> typeReference) Reads a JSON byte array into its object representation.default <T> T
ObjectSerializer.deserializeFromBytes
(byte[] data, TypeReference<T> typeReference) Reads a byte array into its object representation.default <T> Mono<T>
JsonSerializer.deserializeFromBytesAsync
(byte[] data, TypeReference<T> typeReference) Reads a JSON byte array into its object representation.default <T> Mono<T>
ObjectSerializer.deserializeFromBytesAsync
(byte[] data, TypeReference<T> typeReference) Reads a byte array into its object representation. -
Uses of TypeReference in com.azure.data.schemaregistry.apacheavro
Modifier and TypeMethodDescription<T> T
SchemaRegistryApacheAvroSerializer.deserialize
(MessageContent message, TypeReference<T> typeReference) Deserializes a message into its object.<T> Mono<T>
SchemaRegistryApacheAvroSerializer.deserializeAsync
(MessageContent message, TypeReference<T> typeReference) Deserializes a message into its object.<T extends MessageContent>
TSchemaRegistryApacheAvroSerializer.serialize
(Object object, TypeReference<T> typeReference) Serializes an object into a message.<T extends MessageContent>
TSchemaRegistryApacheAvroSerializer.serialize
(Object object, TypeReference<T> typeReference, Function<BinaryData, T> messageFactory) Serializes an object into a message.<T extends MessageContent>
Mono<T>SchemaRegistryApacheAvroSerializer.serializeAsync
(Object object, TypeReference<T> typeReference) Serializes an object into a message.<T extends MessageContent>
Mono<T>SchemaRegistryApacheAvroSerializer.serializeAsync
(Object object, TypeReference<T> typeReference, Function<BinaryData, T> messageFactory) Serializes an object into a message. -
Uses of TypeReference in com.azure.search.documents
Modifier and TypeMethodDescriptionSearchClientBuilder.bufferedSender
(TypeReference<T> documentType) Create a new instance ofSearchClientBuilder.SearchIndexingBufferedSenderBuilder
used to configureSearchIndexingBufferedSenders
andSearchIndexingBufferedAsyncSenders
.