Package org.redisson.client.codec
Class StringCodec
-
- org.redisson.client.codec.BaseCodec
-
- org.redisson.client.codec.StringCodec
-
- All Implemented Interfaces:
Codec
- Direct Known Subclasses:
DoubleCodec
,IntegerCodec
,LongCodec
public class StringCodec extends BaseCodec
- Author:
- Nikita Koksharov
-
-
Field Summary
Fields Modifier and Type Field Description static StringCodec
INSTANCE
-
Fields inherited from class org.redisson.client.codec.BaseCodec
SKIPPED_CODECS
-
-
Constructor Summary
Constructors Constructor Description StringCodec()
classLoader)
charsetName)
charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description >
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-
Methods inherited from class org.redisson.client.codec.BaseCodec
copy, getClassLoader, getMapKeyDecoder, getMapKeyEncoder, getMapValueDecoder, getMapValueEncoder, toString
-
-
-
-
Field Detail
-
INSTANCE
public static final StringCodec INSTANCE
-
-
Method Detail
-
getValueDecoder
public > getValueDecoder()
Description copied from interface:Codec
Returns object decoder used for any objects stored Redis structure except HMAP- Returns:
- decoder
-
-