All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redis.clients.jedis.timeseries.TSMGetElement Maven / Gradle / Ivy

The newest version!
package redis.clients.jedis.timeseries;

import java.util.Map;
import redis.clients.jedis.util.KeyValue;

public class TSMGetElement extends KeyValue {

  private final Map labels;

  public TSMGetElement(String key, Map labels, TSElement value) {
    super(key, value);
    this.labels = labels;
  }

  public Map getLabels() {
    return labels;
  }

  public TSElement getElement() {
    return getValue();
  }

  @Override
  public String toString() {
    return new StringBuilder().append(getClass().getSimpleName())
        .append("{key=").append(getKey())
        .append(", labels=").append(labels)
        .append(", element=").append(getElement())
        .append('}').toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy