Class SerializationDataEncoder
java.lang.Object
com.amazonaws.services.schemaregistry.serializers.SerializationDataEncoder
Encodes Schema Register headers into byte buffers.
-
Constructor Summary
ConstructorsConstructorDescriptionSerializationDataEncoder(GlueSchemaRegistryConfiguration schemaRegistrySerDeConfigs) -
Method Summary
-
Constructor Details
-
SerializationDataEncoder
-
-
Method Details
-
write
Schema Registry header consists of following components: 1. Version byte. 2. Compression byte. 3. Schema Version UUID Id that represents the writer schema. 4. Actual data bytes. The data can be compressed based on configuration.- Parameters:
objectBytes- bytes to add header to.- Returns:
- Schema Registry header encoded data.
-