Class SerializationDataEncoder
- java.lang.Object
-
- com.amazonaws.services.schemaregistry.serializers.SerializationDataEncoder
-
public class SerializationDataEncoder extends Object
Encodes Schema Register headers into byte buffers.
-
-
Constructor Summary
Constructors Constructor Description SerializationDataEncoder(GlueSchemaRegistryConfiguration schemaRegistrySerDeConfigs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]write(byte[] objectBytes, UUID schemaVersionId)Schema Registry header consists of following components: 1.
-
-
-
Constructor Detail
-
SerializationDataEncoder
public SerializationDataEncoder(GlueSchemaRegistryConfiguration schemaRegistrySerDeConfigs)
-
-
Method Detail
-
write
public byte[] write(byte[] objectBytes, UUID schemaVersionId)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.
-
-