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)  

    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)
    • 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)