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 Details

  • Constructor Details

    • StringCodec

      public StringCodec()
    • StringCodec

      public StringCodec(ClassLoader classLoader)
    • StringCodec

      public StringCodec(String charsetName)
    • StringCodec

      public StringCodec(Charset charset)
  • Method Details

    • getValueDecoder

      public Decoder<Object> getValueDecoder()
      Description copied from interface: Codec
      Returns object decoder used for any objects stored Redis structure except HMAP
      Returns:
      decoder
    • getValueEncoder

      public Encoder getValueEncoder()
      Description copied from interface: Codec
      Returns object encoder used for any objects stored Redis structure except HMAP
      Returns:
      encoder