Package org.redisson.client.codec
Class StringCodec
- java.lang.Object
-
- 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()
StringCodec(ClassLoader classLoader)
StringCodec(String charsetName)
StringCodec(Charset charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Decoder<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-
Methods inherited from class org.redisson.client.codec.BaseCodec
copy, getClassLoader, getMapKeyDecoder, getMapKeyEncoder, getMapValueDecoder, getMapValueEncoder, toString
-
-
-
-
Field Detail
-
INSTANCE
public static final StringCodec INSTANCE
-
-
Constructor Detail
-
StringCodec
public StringCodec()
-
StringCodec
public StringCodec(ClassLoader classLoader)
-
StringCodec
public StringCodec(String charsetName)
-
StringCodec
public StringCodec(Charset charset)
-
-