Package org.redisson.client.codec
Interface Codec
- All Known Implementing Classes:
AvroJacksonCodec
,BaseCodec
,BaseEventCodec
,BitSetCodec
,ByteArrayCodec
,CborJacksonCodec
,CompositeCodec
,DoubleCodec
,FstCodec
,IntegerCodec
,IonJacksonCodec
,JCacheEventCodec
,JsonCodecWrapper
,JsonJacksonCodec
,Kryo5Codec
,KryoCodec
,LocalCachedMessageCodec
,LongCodec
,LZ4Codec
,MapCacheEventCodec
,MarshallingCodec
,MsgPackJacksonCodec
,REntity.DEFAULT
,RObjectField.DEFAULT
,SerializationCodec
,SmileJacksonCodec
,SnappyCodec
,SnappyCodecV2
,StringCodec
,TypedJsonJacksonCodec
public interface Codec
Redis codec interface.
It's required for implementation to have two constructors default and with ClassLoader object as parameter.
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionReturns class loader object used to load classes used in decoding processReturns object decoder used for hash map keys in HMAP Redis structureReturns object encoder used for hash map keys in HMAP Redis structureReturns object decoder used for hash map values in HMAP Redis structureReturns object encoder used for hash map values in HMAP Redis structureReturns object decoder used for any objects stored Redis structure except HMAPReturns object encoder used for any objects stored Redis structure except HMAP
-
Method Details
-
getMapValueDecoder
Returns object decoder used for hash map values in HMAP Redis structure- Returns:
- decoder
-
getMapValueEncoder
Encoder getMapValueEncoder()Returns object encoder used for hash map values in HMAP Redis structure- Returns:
- encoder
-
getMapKeyDecoder
Returns object decoder used for hash map keys in HMAP Redis structure- Returns:
- decoder
-
getMapKeyEncoder
Encoder getMapKeyEncoder()Returns object encoder used for hash map keys in HMAP Redis structure- Returns:
- encoder
-
getValueDecoder
Returns object decoder used for any objects stored Redis structure except HMAP- Returns:
- decoder
-
getValueEncoder
Encoder getValueEncoder()Returns object encoder used for any objects stored Redis structure except HMAP- Returns:
- encoder
-
getClassLoader
ClassLoader getClassLoader()Returns class loader object used to load classes used in decoding process- Returns:
- class loader
-