Class AvroDeserializer
java.lang.Object
com.amazonaws.services.schemaregistry.deserializers.avro.AvroDeserializer
- All Implemented Interfaces:
GlueSchemaRegistryDataFormatDeserializer
Avro specific de-serializer responsible for handling the Avro protocol
specific conversion behavior.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor accepting various dependencies. -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(@NonNull ByteBuffer buffer, Schema schemaObject) Deserialize the bytes to the original Avro message given the schema retrieved from the schema registry.
-
Field Details
-
datumReaderCache
-
-
Constructor Details
-
AvroDeserializer
Constructor accepting various dependencies.- Parameters:
configs- configuration elements
-
-
Method Details
-
deserialize
Deserialize the bytes to the original Avro message given the schema retrieved from the schema registry.- Specified by:
deserializein interfaceGlueSchemaRegistryDataFormatDeserializer- Parameters:
buffer- data to be de-serializedschemaObject- Avro schema- Returns:
- de-serialized object
- Throws:
AWSSchemaRegistryException- Exception during de-serialization
-