htsMap.put(dateAsIntText, Double.toString(entry.getValue()));
dates.put(Double.valueOf(dateAsIntText), dateAsIntText);
}
Pipeline pipeline = jedis.pipelined();
pipeline.multi();
String redisHtsDatapointKey = toRedisHtsDatapointKey(redisKey);
pipeline.hmset(redisHtsDatapointKey, htsMap);
String redisHtsDaysKey = toRedisHtsDaysKey(redisKey);
for (String dateAsIntText : dates.inverse().keySet()) {