Package redis.clients.jedis.timeseries
Class TSRangeParams
java.lang.Object
redis.clients.jedis.timeseries.TSRangeParams
- All Implemented Interfaces:
IParams
Represents optional arguments of TS.RANGE and TS.REVRANGE commands.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AggregationTypeprivate byte[]private longprivate byte[]private Integerprivate booleanprivate long[]private double[]private Longprivate booleanprivate Long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParams(CommandArguments args) aggregation(AggregationType aggregationType, long bucketDuration) private TSRangeParamsalign(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 TSRangeParamsstatic TSRangeParamsrangeParams(long fromTimestamp, long toTimestamp) toTimestamp(long toTimestamp)
-
Field Details
-
fromTimestamp
-
toTimestamp
-
latest
private boolean latest -
filterByTimestamps
private long[] filterByTimestamps -
filterByValues
private double[] filterByValues -
count
-
align
private byte[] align -
aggregationType
-
bucketDuration
private long bucketDuration -
bucketTimestamp
private byte[] bucketTimestamp -
empty
private boolean empty
-
-
Constructor Details
-
TSRangeParams
public TSRangeParams(long fromTimestamp, long toTimestamp) -
TSRangeParams
public TSRangeParams()
-
-
Method Details
-
rangeParams
-
rangeParams
-
fromTimestamp
-
toTimestamp
-
latest
-
filterByTS
-
filterByValues
-
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. -
addParams
-