Codec
DoubleCodec
, IntegerCodec
, LongCodec
public class StringCodec extends BaseCodec
Modifier and Type | Field | Description |
---|---|---|
static StringCodec |
INSTANCE |
Constructor | Description |
---|---|
StringCodec() |
|
StringCodec(ClassLoader classLoader) |
|
StringCodec(String charsetName) |
|
StringCodec(Charset charset) |
Modifier and Type | Method | Description |
---|---|---|
Decoder<Object> |
getValueDecoder() |
Returns object decoder used for any objects stored Redis structure except HMAP
|
Encoder |
getValueEncoder() |
Returns object encoder used for any objects stored Redis structure except HMAP
|
getClassLoader, getMapKeyDecoder, getMapKeyEncoder, getMapValueDecoder, getMapValueEncoder
public static final StringCodec INSTANCE
public StringCodec()
public StringCodec(ClassLoader classLoader)
public StringCodec(String charsetName)
public StringCodec(Charset charset)
Copyright © 2014–2018 The Redisson Project. All rights reserved.