Class GlueSchemaRegistryCompressionFactory
java.lang.Object
com.amazonaws.services.schemaregistry.common.GlueSchemaRegistryCompressionFactory
Factory to create the compression object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCompressionHandler(byte compressionByte) return the compression handler based on the byte.getCompressionHandler(AWSSchemaRegistryConstants.COMPRESSION compressionType) Get the respective compression handler based on the properties.
-
Constructor Details
-
GlueSchemaRegistryCompressionFactory
public GlueSchemaRegistryCompressionFactory()
-
-
Method Details
-
getCompressionHandler
public GlueSchemaRegistryCompressionHandler getCompressionHandler(AWSSchemaRegistryConstants.COMPRESSION compressionType) Get the respective compression handler based on the properties.- Parameters:
compressionType- compression algorithm to be used- Returns:
- GlueSchemaRegistryCompressionHandler
GlueSchemaRegistryCompressionHandler
-
getCompressionHandler
return the compression handler based on the byte. different byte can different compression algorithm implementation.- Parameters:
compressionByte-- Returns:
- GlueSchemaRegistryCompressionHandler
GlueSchemaRegistryCompressionHandler
-