
com.redislabs.redistimeseries.Command Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jredistimeseries Show documentation
Show all versions of jredistimeseries Show documentation
Java Client for RedisTimeSeries.
package com.redislabs.redistimeseries;
import redis.clients.jedis.commands.ProtocolCommand;
import redis.clients.jedis.util.SafeEncoder;
public enum Command implements ProtocolCommand{
CREATE("TS.CREATE"),
RANGE("TS.RANGE"),
MRANGE("TS.MRANGE"),
CREATE_RULE("TS.CREATERULE"),
DELETE_RULE("TS.DELETERULE"),
ADD("TS.ADD"),
MADD("TS.MADD"),
INCRBY("TS.INCRBY"),
DECRBY("TS.DECRBY"),
INFO("TS.INFO"),
GET("TS.GET"),
MGET("TS.MGET"),
ALTER("TS.ALTER"),
QUERYINDEX("TS.QUERYINDEX");
private final byte[] raw;
Command(String alt) {
raw = SafeEncoder.encode(alt);
}
public byte[] getRaw() {
return raw;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy