Package redis.clients.jedis.timeseries
Class TSMRangeParams
java.lang.Object
redis.clients.jedis.timeseries.TSMRangeParams
- All Implemented Interfaces:
IParams
Represents optional arguments of TS.MRANGE and TS.MREVRANGE commands.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParams(CommandArguments args) aggregation(AggregationType aggregationType, long bucketDuration) private TSMRangeParamsalign(byte[] raw) align(long timestamp) This requires AGGREGATION.alignEnd()This requires AGGREGATION.This requires AGGREGATION.bucketTimestamp(String bucketTimestamp) This requires AGGREGATION.This requires AGGREGATION.This requires AGGREGATION.This requires AGGREGATION.count(int count) empty()This requires AGGREGATION.filterByTS(long... timestamps) filterByValues(double min, double max) fromTimestamp(long fromTimestamp) latest()static TSMRangeParamsstatic TSMRangeParamsmultiRangeParams(long fromTimestamp, long toTimestamp) selectedLabels(String... labels) toTimestamp(long toTimestamp) withLabels(boolean withLabels)
-
Field Details
-
fromTimestamp
-
toTimestamp
-
latest
private boolean latest -
filterByTimestamps
private long[] filterByTimestamps -
filterByValues
private double[] filterByValues -
withLabels
private boolean withLabels -
selectedLabels
-
count
-
align
private byte[] align -
aggregationType
-
bucketDuration
private long bucketDuration -
bucketTimestamp
private byte[] bucketTimestamp -
empty
private boolean empty -
filters
-
groupByLabel
-
groupByReduce
-
-
Constructor Details
-
TSMRangeParams
public TSMRangeParams(long fromTimestamp, long toTimestamp) -
TSMRangeParams
public TSMRangeParams()
-
-
Method Details
-
multiRangeParams
-
multiRangeParams
-
fromTimestamp
-
toTimestamp
-
latest
-
filterByTS
-
filterByValues
-
withLabels
-
withLabels
-
selectedLabels
-
count
-
align
-
align
This requires AGGREGATION. -
alignStart
This requires AGGREGATION. -
alignEnd
This requires AGGREGATION. -
aggregation
-
bucketTimestamp
This requires AGGREGATION. -
bucketTimestampLow
This requires AGGREGATION. -
bucketTimestampHigh
This requires AGGREGATION. -
bucketTimestampMid
This requires AGGREGATION. -
empty
This requires AGGREGATION. -
filter
-
groupBy
-
addParams
-