Package org.redisson.client.codec
Interface Codec
-
- All Known Implementing Classes:
AvroJacksonCodec
,BaseCodec
,BaseEventCodec
,BitSetCodec
,ByteArrayCodec
,CborJacksonCodec
,CompositeCodec
,DoubleCodec
,FstCodec
,IntegerCodec
,IonJacksonCodec
,JCacheEventCodec
,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 HMAP
-
-
-
Method Detail
-
getMapValueDecoder
Decoder<Object> 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
Decoder<Object> 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
Decoder<Object> 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
-
-