public class StringCodec extends Object implements Codec
Modifier and Type | Field and Description |
---|---|
static StringCodec |
INSTANCE |
Constructor and Description |
---|
StringCodec() |
StringCodec(Charset charset) |
StringCodec(ClassLoader classLoader) |
StringCodec(String charsetName) |
Modifier and Type | Method and Description |
---|---|
Decoder<Object> |
getMapKeyDecoder()
Returns object decoder used for hash map keys in HMAP Redis structure
|
Encoder |
getMapKeyEncoder()
Returns object encoder used for hash map keys in HMAP Redis structure
|
Decoder<Object> |
getMapValueDecoder()
Returns object decoder used for hash map values in HMAP Redis structure
|
Encoder |
getMapValueEncoder()
Returns object encoder used for hash map values in HMAP Redis structure
|
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
|
public static final StringCodec INSTANCE
public StringCodec()
public StringCodec(ClassLoader classLoader)
public StringCodec(String charsetName)
public StringCodec(Charset charset)
public Decoder<Object> getValueDecoder()
Codec
getValueDecoder
in interface Codec
public Encoder getValueEncoder()
Codec
getValueEncoder
in interface Codec
public Decoder<Object> getMapValueDecoder()
Codec
getMapValueDecoder
in interface Codec
public Encoder getMapValueEncoder()
Codec
getMapValueEncoder
in interface Codec
public Decoder<Object> getMapKeyDecoder()
Codec
getMapKeyDecoder
in interface Codec
public Encoder getMapKeyEncoder()
Codec
getMapKeyEncoder
in interface Codec
Copyright © 2014–2017 The Redisson Project. All rights reserved.