shorebird_redis_client library

Classes

RedisClient
A client for interacting with a Redis server.
RedisCommandOptions
Options for sending commands to a Redis server.
RedisJson
An object that adds support for getting and setting JSON values. Backed by the RedisJSON module. https://redis.io/docs/data-types/json/
RedisLogger
A logger for the Redis client.
RedisSocketOptions
Options for connecting to a Redis server.
RedisTDigest
A client for interacting with the Redis T-Digest data type. See https://redis.io/docs/latest/develop/data-types/probabilistic/t-digest
RedisTimeSeries
An object that adds support for storing and querying timestamped data points. Backed by the RedisTimeSeries module. https://redis.io/docs/latest/develop/data-types/timeseries/
RedisTimeSeriesAggregation
Aggregates time series samples into time buckets.
RedisTimeSeriesAlign
The time bucket alignment control for AGGREGATION. It controls the time bucket timestamps by changing the reference timestamp on which a bucket is defined.
RedisTimeSeriesClientClock
A RedisTimeSeriesClock that represents time on the client.
RedisTimeSeriesClock
An abstract class which represents the clock in the context of a redis time series instance.
RedisTimeSeriesFromTimestamp
The start timestamp for the range query (integer Unix timestamp in milliseconds).
RedisTimeSeriesServerClock
A RedisTimeSeriesClock that represents time on the server.
RedisTimeSeriesTimestamp
is Unix time (integer, in milliseconds) specifying the sample timestamp or * to set the sample timestamp to the Unix time of the server's clock.
RedisTimeSeriesToTimestamp
The end timestamp for the range query (integer Unix timestamp in milliseconds).

Enums

RedisTimeSeriesAggregator
The supported aggregation types.
RedisTimeSeriesDuplicatePolicy
The policy for handling insertion (TS.ADD and TS.MADD) of multiple samples with identical timestamps. Defaults to block when not specified.
RedisTimeSeriesEncoding
Specifies the series samples encoding format as one of the following values: compressed is almost always the right choice. Compression not only saves memory but usually improves performance due to a lower number of memory accesses. It can result in about 90% memory reduction. The exception are highly irregular timestamps or values, which occur rarely. When not specified, the encoding is set to compressed.

Exceptions / Errors

RedisException
An exception thrown by the Redis client.