Class GlueSchemaRegistryCompressionFactory
- java.lang.Object
-
- com.amazonaws.services.schemaregistry.common.GlueSchemaRegistryCompressionFactory
-
public class GlueSchemaRegistryCompressionFactory extends Object
Factory to create the compression object.
-
-
Constructor Summary
Constructors Constructor Description GlueSchemaRegistryCompressionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlueSchemaRegistryCompressionHandlergetCompressionHandler(byte compressionByte)return the compression handler based on the byte.GlueSchemaRegistryCompressionHandlergetCompressionHandler(AWSSchemaRegistryConstants.COMPRESSION compressionType)Get the respective compression handler based on the properties.
-
-
-
Method Detail
-
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
public GlueSchemaRegistryCompressionHandler getCompressionHandler(byte compressionByte)
return the compression handler based on the byte. different byte can different compression algorithm implementation.- Parameters:
compressionByte-- Returns:
- GlueSchemaRegistryCompressionHandler
GlueSchemaRegistryCompressionHandler
-
-