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

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

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

import java.util.List;
import java.util.Map;
import redis.clients.jedis.Response;

public interface RedisTimeSeriesPipelineCommands {

  Response tsCreate(String key);

  Response tsCreate(String key, TSCreateParams createParams);

  Response tsDel(String key, long fromTimestamp, long toTimestamp);

  Response tsAlter(String key, TSAlterParams alterParams);

  Response tsAdd(String key, double value);

  Response tsAdd(String key, long timestamp, double value);

  Response tsAdd(String key, long timestamp, double value, TSCreateParams createParams);

  Response> tsMAdd(Map.Entry... entries);

  Response tsIncrBy(String key, double value);

  Response tsIncrBy(String key, double value, long timestamp);

  Response tsDecrBy(String key, double value);

  Response tsDecrBy(String key, double value, long timestamp);

  Response> tsRange(String key, long fromTimestamp, long toTimestamp);

  Response> tsRange(String key, TSRangeParams rangeParams);

  Response> tsRevRange(String key, long fromTimestamp, long toTimestamp);

  Response> tsRevRange(String key, TSRangeParams rangeParams);

  Response> tsMRange(long fromTimestamp, long toTimestamp, String... filters);

  Response> tsMRange(TSMRangeParams multiRangeParams);

  Response> tsMRevRange(long fromTimestamp, long toTimestamp, String... filters);

  Response> tsMRevRange(TSMRangeParams multiRangeParams);

  Response tsGet(String key);

  Response tsGet(String key, TSGetParams getParams);

  Response> tsMGet(TSMGetParams multiGetParams, String... filters);

  Response tsCreateRule(String sourceKey, String destKey, AggregationType aggregationType, long timeBucket);

  Response tsCreateRule(String sourceKey, String destKey, AggregationType aggregationType, long bucketDuration, long alignTimestamp);

  Response tsDeleteRule(String sourceKey, String destKey);

  Response> tsQueryIndex(String... filters);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy