code: public String pipelineWrite(String key, DataGenerator dataGenerator, int max_pipe_keys, int min_pipe_keys)
              throws Exception {
          // Create a random key between [0,MAX_PIPE_KEYS]
          int pipe_keys = randomGenerator.nextInt(max_pipe_keys);
  
          // Make sure that the number of keys in the pipeline are at least
          // MIN_PIPE_KEYS
          pipe_keys = Math.max(min_pipe_keys, pipe_keys);
  
          DynoJedisPipeline pipeline = this.jedisClient.get().pipelined();
          Map<String, Response<String>> responses = new HashMap<>();
  
          /**
           * writeSingle returns a single string, so we want to create a
           * StringBuilder to append all the keys in the form "key_n". This is
           * just used to return a single string
           */
          StringBuilder sb = new StringBuilder();
          // Iterate across the number of keys in the pipeline and set
          for (int n = 0; n < pipe_keys; ++n) {
              String nth_key = key + "_" + n;
              sb.append(nth_key);
              Response<String> resp = pipeline.set(key, key + dataGenerator.getRandomValue() + key);
              responses.put(nth_key, resp);
          }
          pipeline.sync();
  
          return sb.toString();
      }
docs: pipelined version of the write
  
  @param key
  @return "key_n"