code: @SuppressWarnings({ "rawtypes", "unchecked" })
      public static <K, V> RedisCodec<K, V> valueCompressor(RedisCodec<K, V> delegate, CompressionType compressionType) {
          LettuceAssert.notNull(delegate, "RedisCodec must not be null");
          LettuceAssert.notNull(compressionType, "CompressionType must not be null");
          return (RedisCodec) new CompressingValueCodecWrapper((RedisCodec) delegate, compressionType);
      }
docs: A {@link RedisCodec} that compresses values from a delegating {@link RedisCodec}.
  
  @param delegate codec used for key-value encoding/decoding, must not be {@literal null}.
  @param compressionType the compression type, must not be {@literal null}.
  @param <K> Key type.
  @param <V> Value type.
  @return Value-compressing codec.