redis.clients.jedis.timeseries.TSInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis_preview Show documentation
Show all versions of jedis_preview Show documentation
Jedis is a blazingly small and sane Redis java client.
The newest version!
package redis.clients.jedis.timeseries;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import redis.clients.jedis.Builder;
import redis.clients.jedis.BuilderFactory;
import redis.clients.jedis.util.DoublePrecision;
import redis.clients.jedis.util.KeyValue;
import redis.clients.jedis.util.SafeEncoder;
public class TSInfo {
private static final String DUPLICATE_POLICY_PROPERTY = "duplicatePolicy";
private static final String LABELS_PROPERTY = "labels";
private static final String RULES_PROPERTY = "rules";
private static final String CHUNKS_PROPERTY = "Chunks";
private static final String CHUNKS_BYTES_PER_SAMPLE_PROPERTY = "bytesPerSample";
private final Map properties;
private final Map labels;
private final Map rules;
private final List