Class RedisBlobCodec

java.lang.Object
io.datarouter.client.redis.codec.RedisBlobCodec

public class RedisBlobCodec extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    RedisBlobCodec(io.datarouter.storage.util.Subpath path)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.datarouter.storage.file.PathbeanKey
    decodeKey(byte[] fullBytesKey)
     
    io.datarouter.storage.file.PathbeanKey
    decodeKey(io.lettuce.core.KeyValue<byte[],byte[]> kv)
     
    byte[]
    encodeKey(io.datarouter.storage.file.PathbeanKey pk)
     
    byte[][]
    encodeKeys(List<io.datarouter.storage.file.PathbeanKey> pks)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RedisBlobCodec

      public RedisBlobCodec(io.datarouter.storage.util.Subpath path)
  • Method Details

    • encodeKey

      public byte[] encodeKey(io.datarouter.storage.file.PathbeanKey pk)
    • encodeKeys

      public byte[][] encodeKeys(List<io.datarouter.storage.file.PathbeanKey> pks)
    • decodeKey

      public io.datarouter.storage.file.PathbeanKey decodeKey(byte[] fullBytesKey)
    • decodeKey

      public io.datarouter.storage.file.PathbeanKey decodeKey(io.lettuce.core.KeyValue<byte[],byte[]> kv)