AvroSerializerProviders Class
- java.
lang. Object - com.
azure. core. experimental. serializer. AvroSerializerProviders
- com.
public final class AvroSerializerProviders
Service Provider Interface (SPI) proxy for AvroSerializerProvider.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Avro |
createInstance(String schema)
Creates an Avro serializer instance based using the first AvroSerializerProvider found on the classpath. |
static String |
getSchema(Object object)
Returns the Avro schema for specified object. |
static String |
getSchemaName(Object object)
Returns the Avro schema for specified object. |
Methods inherited from java.lang.Object
Method Details
createInstance
public static AvroSerializer createInstance(String schema)
Creates an Avro serializer instance based using the first AvroSerializerProvider found on the classpath.
Parameters:
Returns:
getSchema
public static String getSchema(Object object)
Returns the Avro schema for specified object.
Parameters:
Returns:
getSchemaName
public static String getSchemaName(Object object)
Returns the Avro schema for specified object.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for