public class CompressedEncodingStrategy<S extends Storable> extends GenericEncodingStrategy<S>
Constructor and Description |
---|
CompressedEncodingStrategy(java.lang.Class<S> type,
StorableIndex<S> pkIndex,
CompressionType compressionType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
protected void |
extraDataDecoding(org.cojen.classfile.CodeAssembler a,
org.cojen.classfile.LocalVariable dataVar,
int prefix,
int suffix)
Second phase decoding, which does nothing by default.
|
protected void |
extraDataEncoding(org.cojen.classfile.CodeAssembler a,
org.cojen.classfile.LocalVariable dataVar,
int prefix,
int suffix)
Second phase encoding, which does nothing by default.
|
int |
hashCode() |
buildDataDecoding, buildDataEncoding, buildKeyDecoding, buildKeyEncoding, buildSerialDecoding, buildSerialEncoding, checkSupport, checkSupport, gatherAllDataProperties, gatherAllKeyProperties, gatherAllProperties, getConstantKeyPrefixLength, getDataPrefixPadding, getDataSuffixPadding, getKeyPrefixPadding, getKeySuffixPadding, getPrimaryKeyIndex, getType, isSupported, isSupported, loadPropertyValue, loadPropertyValue, pushDecodingInstanceVar, pushRawSupport, storePropertyValue
public CompressedEncodingStrategy(java.lang.Class<S> type, StorableIndex<S> pkIndex, CompressionType compressionType)
protected void extraDataEncoding(org.cojen.classfile.CodeAssembler a, org.cojen.classfile.LocalVariable dataVar, int prefix, int suffix)
GenericEncodingStrategy
extraDataEncoding
in class GenericEncodingStrategy<S extends Storable>
dataVar
- local variable referencing a byte array with dataprefix
- prefix of byte array to preservesuffix
- suffix of byte array to preserveprotected void extraDataDecoding(org.cojen.classfile.CodeAssembler a, org.cojen.classfile.LocalVariable dataVar, int prefix, int suffix)
GenericEncodingStrategy
extraDataDecoding
in class GenericEncodingStrategy<S extends Storable>
dataVar
- local variable referencing a byte array with datapublic boolean equals(java.lang.Object obj)
equals
in class GenericEncodingStrategy<S extends Storable>
public int hashCode()
hashCode
in class GenericEncodingStrategy<S extends Storable>
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.