Package org.redisson.client.codec
Class StringCodec
java.lang.Object
org.redisson.client.codec.BaseCodec
org.redisson.client.codec.StringCodec
- Direct Known Subclasses:
DoubleCodec
,IntegerCodec
,LongCodec
- Author:
- Nikita Koksharov
-
Field Summary
Fields inherited from class org.redisson.client.codec.BaseCodec
SKIPPED_CODECS
-
Constructor Summary
ConstructorDescriptionStringCodec
(ClassLoader classLoader) StringCodec
(String charsetName) StringCodec
(Charset charset) -
Method Summary
Modifier and TypeMethodDescriptionReturns object decoder used for any objects stored Redis structure except HMAPReturns object encoder used for any objects stored Redis structure except HMAPMethods inherited from class org.redisson.client.codec.BaseCodec
copy, getClassLoader, getMapKeyDecoder, getMapKeyEncoder, getMapValueDecoder, getMapValueEncoder, toString
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
StringCodec
public StringCodec() -
StringCodec
-
StringCodec
-
StringCodec
-
-
Method Details
-
getValueDecoder
Description copied from interface:JsonCodec
Returns object decoder used for any objects stored Redis structure except HMAP- Specified by:
getValueDecoder
in interfaceCodec
- Specified by:
getValueDecoder
in interfaceJsonCodec<String>
- Returns:
- decoder
-
getValueEncoder
Description copied from interface:JsonCodec
Returns object encoder used for any objects stored Redis structure except HMAP- Specified by:
getValueEncoder
in interfaceCodec
- Specified by:
getValueEncoder
in interfaceJsonCodec<String>
- Returns:
- encoder
-