| Package | Description |
|---|---|
| redis.clients.jedis | |
| redis.clients.jedis.timeseries |
This package contains the classes and interfaces related to RedisTimeSeries module.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TSElement> |
UnifiedJedis.tsRead(java.lang.String key,
TSReadParams readParams) |
Response<java.util.List<TSElement>> |
PipeliningBase.tsRead(java.lang.String key,
TSReadParams readParams) |
CommandObject<java.util.List<TSElement>> |
CommandObjects.tsRead(java.lang.String key,
TSReadParams readParams) |
| Modifier and Type | Method and Description |
|---|---|
TSReadParams |
TSReadParams.block(long milliseconds,
int minCount)
Opt into blocking.
|
TSReadParams |
TSReadParams.earliest()
Cursor sentinel
-: no lower bound, read from the earliest sample. |
TSReadParams |
TSReadParams.latest()
Cursor sentinel
+: the latest existing sample's timestamp, inclusive. |
TSReadParams |
TSReadParams.maxCount(int maxCount)
Reply cap.
|
TSReadParams |
TSReadParams.newSamples()
Cursor sentinel
$: the latest sample's timestamp + 1, so only samples added after the
command is received qualify. |
static TSReadParams |
TSReadParams.readParams() |
TSReadParams |
TSReadParams.timestamp(long timestamp)
Literal cursor: samples with
sample_timestamp >= timestamp qualify. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TSElement> |
RedisTimeSeriesCommands.tsRead(java.lang.String key,
TSReadParams readParams)
TS.READ key timestamp [BLOCK milliseconds min_count] [MAX_COUNT max_count]
Returns up to max_count samples with timestamp greater than or equal to the cursor, in
ascending timestamp order. |
Response<java.util.List<TSElement>> |
RedisTimeSeriesPipelineCommands.tsRead(java.lang.String key,
TSReadParams readParams) |
Copyright © 2026. All rights reserved.