Class MGetArgs
java.lang.Object
io.quarkus.redis.datasource.timeseries.MGetArgs
- All Implemented Interfaces:
RedisCommandExtraArguments
Represents the extra arguments of the
ts.mget
command.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlatest()
With LATEST, TS.MGET also reports the compacted value of the latest possibly partial bucket, given that this bucket's start time falls within [fromTimestamp, toTimestamp].selectedLabel
(String label) Add a label to the list of selected label.toArgs()
includes in the reply all label-value pairs representing metadata labels of the time series.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.quarkus.redis.datasource.RedisCommandExtraArguments
toArgs
-
Constructor Details
-
MGetArgs
public MGetArgs()
-
-
Method Details
-
latest
With LATEST, TS.MGET also reports the compacted value of the latest possibly partial bucket, given that this bucket's start time falls within [fromTimestamp, toTimestamp]. Without LATEST, TS.MGET does not report the latest possibly partial bucket. When a time series is not a compaction, LATEST is ignored.- Returns:
- the current
MGetArgs
-
withLabels
includes in the reply all label-value pairs representing metadata labels of the time series. If WITHLABELS or SELECTED_LABELS are not specified, by default, an empty list is reported as label-value pairs.- Returns:
- the current
MGetArgs
-
selectedLabel
Add a label to the list of selected label. Returns a subset of the label-value pairs that represent metadata labels of the time series. Use when a large number of labels exists per series, but only the values of some of the labels are required. If WITHLABELS or SELECTED_LABELS are not specified, by default, an empty list is reported as label-value pairs.- Parameters:
label
- the label to select- Returns:
- the current
MGetArgs
-
toArgs
- Specified by:
toArgs
in interfaceRedisCommandExtraArguments
- Returns:
- the list of arguments.
-