| Constructor and Description |
|---|
TSRangeParams() |
TSRangeParams(long fromTimestamp,
long toTimestamp) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParams(CommandArguments args) |
TSRangeParams |
aggregation(AggregationType[] aggregators,
long bucketDuration)
Specifies multiple aggregators to be applied in a single
TS.RANGE / TS.REVRANGE call. |
TSRangeParams |
aggregation(AggregationType aggregationType,
long bucketDuration) |
TSRangeParams |
align(long timestamp)
This requires AGGREGATION.
|
TSRangeParams |
alignEnd()
This requires AGGREGATION.
|
TSRangeParams |
alignStart()
This requires AGGREGATION.
|
TSRangeParams |
bucketTimestamp(java.lang.String bucketTimestamp)
This requires AGGREGATION.
|
TSRangeParams |
bucketTimestampHigh()
This requires AGGREGATION.
|
TSRangeParams |
bucketTimestampLow()
This requires AGGREGATION.
|
TSRangeParams |
bucketTimestampMid()
This requires AGGREGATION.
|
TSRangeParams |
count(int count) |
TSRangeParams |
empty()
This requires AGGREGATION.
|
boolean |
equals(java.lang.Object o) |
TSRangeParams |
filterByTS(long... timestamps) |
TSRangeParams |
filterByValues(double min,
double max) |
TSRangeParams |
fromTimestamp(long fromTimestamp) |
int |
hashCode() |
TSRangeParams |
latest() |
static TSRangeParams |
rangeParams() |
static TSRangeParams |
rangeParams(long fromTimestamp,
long toTimestamp) |
TSRangeParams |
toTimestamp(long toTimestamp) |
public TSRangeParams(long fromTimestamp,
long toTimestamp)
public TSRangeParams()
public static TSRangeParams rangeParams(long fromTimestamp, long toTimestamp)
public static TSRangeParams rangeParams()
public TSRangeParams fromTimestamp(long fromTimestamp)
public TSRangeParams toTimestamp(long toTimestamp)
public TSRangeParams latest()
public TSRangeParams filterByTS(long... timestamps)
public TSRangeParams filterByValues(double min, double max)
public TSRangeParams count(int count)
public TSRangeParams align(long timestamp)
public TSRangeParams alignStart()
public TSRangeParams alignEnd()
public TSRangeParams aggregation(AggregationType aggregationType, long bucketDuration)
public TSRangeParams aggregation(AggregationType[] aggregators, long bucketDuration)
TS.RANGE / TS.REVRANGE call. Aggregators are
sent on the wire in the given order and the response values appear in the same order in TSElement.getValues().
Single-element arrays are accepted and behave like aggregation(AggregationType, long).aggregators - ordered, non-empty list of aggregatorsbucketDuration - aggregation bucket duration in millisecondsjava.lang.IllegalArgumentException - if aggregators is emptypublic TSRangeParams bucketTimestamp(java.lang.String bucketTimestamp)
public TSRangeParams bucketTimestampLow()
public TSRangeParams bucketTimestampHigh()
public TSRangeParams bucketTimestampMid()
public TSRangeParams empty()
public void addParams(CommandArguments args)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2026. All rights reserved.