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, getStorageNamepublic CompressedStorableCodecFactory(java.util.Map<java.lang.String,CompressionType> compressionMap)
public LayoutOptions getLayoutOptions(java.lang.Class<? extends Storable> type)
GenericStorableCodecFactorygetLayoutOptions in interface StorableCodecFactorygetLayoutOptions in class GenericStorableCodecFactoryprotected <S extends Storable> GenericEncodingStrategy<S> createStrategy(java.lang.Class<S> type, StorableIndex<S> pkIndex, LayoutOptions options) throws SupportException
GenericStorableCodecFactorycreateStrategy in class GenericStorableCodecFactorytype - type of Storable to generate code forpkIndex - specifies sequence and ordering of key properties (optional)options - additional layout options (optional)SupportExceptionprotected CompressionType getCompressionType(java.lang.Class<? extends Storable> type)
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.