Package org.redisson.codec
Class CompositeCodec
- java.lang.Object
-
- org.redisson.codec.CompositeCodec
-
-
Constructor Summary
Constructors Constructor Description CompositeCodec(ClassLoader classLoader, CompositeCodec codec)
CompositeCodec(Codec mapKeyCodec, Codec mapValueCodec)
CompositeCodec(Codec mapKeyCodec, Codec mapValueCodec, Codec valueCodec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ClassLoader
getClassLoader()
Returns class loader object used to load classes used in decoding processDecoder<Object>
getMapKeyDecoder()
Returns object decoder used for hash map keys in HMAP Redis structureEncoder
getMapKeyEncoder()
Returns object encoder used for hash map keys in HMAP Redis structureDecoder<Object>
getMapValueDecoder()
Returns object decoder used for hash map values in HMAP Redis structureEncoder
getMapValueEncoder()
Returns object encoder used for hash map values in HMAP Redis structureDecoder<Object>
getValueDecoder()
Returns object decoder used for any objects stored Redis structure except HMAPEncoder
getValueEncoder()
Returns object encoder used for any objects stored Redis structure except HMAPint
hashCode()
-
-
-
Constructor Detail
-
CompositeCodec
public CompositeCodec(ClassLoader classLoader, CompositeCodec codec) throws ReflectiveOperationException
- Throws:
ReflectiveOperationException
-
-
Method Detail
-
getMapValueDecoder
public Decoder<Object> getMapValueDecoder()
Description copied from interface:Codec
Returns object decoder used for hash map values in HMAP Redis structure- Specified by:
getMapValueDecoder
in interfaceCodec
- Returns:
- decoder
-
getMapValueEncoder
public Encoder getMapValueEncoder()
Description copied from interface:Codec
Returns object encoder used for hash map values in HMAP Redis structure- Specified by:
getMapValueEncoder
in interfaceCodec
- Returns:
- encoder
-
getMapKeyDecoder
public Decoder<Object> getMapKeyDecoder()
Description copied from interface:Codec
Returns object decoder used for hash map keys in HMAP Redis structure- Specified by:
getMapKeyDecoder
in interfaceCodec
- Returns:
- decoder
-
getMapKeyEncoder
public Encoder getMapKeyEncoder()
Description copied from interface:Codec
Returns object encoder used for hash map keys in HMAP Redis structure- Specified by:
getMapKeyEncoder
in interfaceCodec
- Returns:
- encoder
-
getValueDecoder
public Decoder<Object> getValueDecoder()
Description copied from interface:Codec
Returns object decoder used for any objects stored Redis structure except HMAP- Specified by:
getValueDecoder
in interfaceCodec
- Returns:
- decoder
-
getValueEncoder
public Encoder getValueEncoder()
Description copied from interface:Codec
Returns object encoder used for any objects stored Redis structure except HMAP- Specified by:
getValueEncoder
in interfaceCodec
- Returns:
- encoder
-
getClassLoader
public ClassLoader getClassLoader()
Description copied from interface:Codec
Returns class loader object used to load classes used in decoding process- Specified by:
getClassLoader
in interfaceCodec
- Returns:
- class loader
-
-