public class CompressedStorableCodecFactory extends GenericStorableCodecFactory
Constructor and Description |
---|
CompressedStorableCodecFactory(java.util.Map<java.lang.String,CompressionType> compressionMap) |
Modifier and Type | Method and Description |
---|---|
protected <S extends Storable> |
createStrategy(java.lang.Class<S> type,
StorableIndex<S> pkIndex,
LayoutOptions options)
Override to return a different EncodingStrategy.
|
protected CompressionType |
getCompressionType(java.lang.Class<? extends Storable> type) |
LayoutOptions |
getLayoutOptions(java.lang.Class<? extends Storable> type)
Returns null.
|
createCodec, createCodec, createStrategy, getStorageName
public CompressedStorableCodecFactory(java.util.Map<java.lang.String,CompressionType> compressionMap)
public LayoutOptions getLayoutOptions(java.lang.Class<? extends Storable> type)
GenericStorableCodecFactory
getLayoutOptions
in interface StorableCodecFactory
getLayoutOptions
in class GenericStorableCodecFactory
protected <S extends Storable> GenericEncodingStrategy<S> createStrategy(java.lang.Class<S> type, StorableIndex<S> pkIndex, LayoutOptions options) throws SupportException
GenericStorableCodecFactory
createStrategy
in class GenericStorableCodecFactory
type
- type of Storable to generate code forpkIndex
- specifies sequence and ordering of key properties (optional)options
- additional layout options (optional)SupportException
protected CompressionType getCompressionType(java.lang.Class<? extends Storable> type)
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.