HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulehedis-0.16.4Haskell2010

Database.Redis.ManualCommands.Ts

  • 19 types
  • 49 values
  • Packagehedis-0.16.4
  • Exports68
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceTs.hs
valuetsMget
  1. :: RedisCtx m f
  2. => NonEmpty ByteString

    Filter expressions.

  3. -> m (f Reply)
#

Get the sample with the highest timestamp from each time series matching a specific filter (https://redis.io/commands/ts.mget).

The reply is heterogeneous and depends on label options, so this wrapper returns the raw Reply.

O(n) where n is the number of time-series that match the filters

Since RedisTimeSeries 1.0.0

valuetsMrange
  1. :: RedisCtx m f
  2. => ByteString

    Lower timestamp bound, or -.

  3. -> ByteString

    Upper timestamp bound, or +.

  4. -> NonEmpty ByteString

    Filter expressions.

  5. -> m (f Reply)
#

Query a range across multiple time series by filters in forward direction (https://redis.io/commands/ts.mrange).

The reply is heterogeneous and may include labels or grouped output, so this wrapper returns the raw Reply.

O(n/m+k) where n is the number of data points, m is the chunk size, and k is the number of returned samples

Since RedisTimeSeries 1.0.0

valuetsMrangeOpts
  1. :: RedisCtx m f
  2. => ByteString

    Lower timestamp bound, or -.

  3. -> ByteString

    Upper timestamp bound, or +.

  4. -> NonEmpty ByteString

    Filter expressions.

  5. -> TsMRangeOpts

    Query options.

  6. -> m (f Reply)
#

Query a range across multiple time series by filters in forward direction (https://redis.io/commands/ts.mrange).

The reply is heterogeneous and may include labels or grouped output, so this wrapper returns the raw Reply.

O(n/m+k) where n is the number of data points, m is the chunk size, and k is the number of returned samples

Since RedisTimeSeries 1.0.0

valuetsMrevrange
  1. :: RedisCtx m f
  2. => ByteString

    Lower timestamp bound, or -.

  3. -> ByteString

    Upper timestamp bound, or +.

  4. -> NonEmpty ByteString

    Filter expressions.

  5. -> m (f Reply)
#

Query a range across multiple time series by filters in reverse direction (https://redis.io/commands/ts.mrevrange).

The reply is heterogeneous and may include labels or grouped output, so this wrapper returns the raw Reply.

O(n/m+k) where n is the number of data points, m is the chunk size, and k is the number of returned samples

Since RedisTimeSeries 1.4.0

valuetsMrevrangeOpts
  1. :: RedisCtx m f
  2. => ByteString

    Lower timestamp bound, or -.

  3. -> ByteString

    Upper timestamp bound, or +.

  4. -> NonEmpty ByteString

    Filter expressions.

  5. -> TsMRangeOpts

    Query options.

  6. -> m (f Reply)
#

Query a range across multiple time series by filters in reverse direction (https://redis.io/commands/ts.mrevrange).

The reply is heterogeneous and may include labels or grouped output, so this wrapper returns the raw Reply.

O(n/m+k) where n is the number of data points, m is the chunk size, and k is the number of returned samples

Since RedisTimeSeries 1.4.0