Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

Filter

Filter: string | string[]

Labels

Labels: {}

Type declaration

  • [label: string]: string

RawLabels

RawLabels: [label: string, value: string][]

SampleRawReply

SampleRawReply: [timestamp: number, value: string]

SelectedLabels

SelectedLabels: string | string[]

Timestamp

Timestamp: number | Date | string

Properties

default

default: { ADD: commands/ADD; ALTER: commands/ALTER; CREATE: commands/CREATE; CREATERULE: commands/CREATERULE; DECRBY: commands/DECRBY; DEL: commands/DEL; DELETERULE: commands/DELETERULE; GET: commands/GET; INCRBY: commands/INCRBY; INFO: commands/INFO; INFO_DEBUG: commands/INFO_DEBUG; MADD: commands/MADD; MGET: commands/MGET; MGET_WITHLABELS: commands/MGET_WITHLABELS; MRANGE: commands/MRANGE; MRANGE_WITHLABELS: commands/MRANGE_WITHLABELS; MREVRANGE: commands/MREVRANGE; MREVRANGE_WITHLABELS: commands/MREVRANGE_WITHLABELS; QUERYINDEX: commands/QUERYINDEX; RANGE: commands/RANGE; REVRANGE: commands/REVRANGE; add: commands/ADD; alter: commands/ALTER; create: commands/CREATE; createRule: commands/CREATERULE; decrBy: commands/DECRBY; del: commands/DEL; deleteRule: commands/DELETERULE; get: commands/GET; incrBy: commands/INCRBY; info: commands/INFO; infoDebug: commands/INFO_DEBUG; mAdd: commands/MADD; mGet: commands/MGET; mGetWithLabels: commands/MGET_WITHLABELS; mRange: commands/MRANGE; mRangeWithLabels: commands/MRANGE_WITHLABELS; mRevRange: commands/MREVRANGE; mRevRangeWithLabels: commands/MREVRANGE_WITHLABELS; queryIndex: commands/QUERYINDEX; range: commands/RANGE; revRange: commands/REVRANGE }

Functions

pushChunkSizeArgument

  • pushChunkSizeArgument(args: RedisCommandArguments, chunkSize?: number): RedisCommandArguments
  • Parameters

    • args: RedisCommandArguments
    • Optional chunkSize: number

    Returns RedisCommandArguments

pushEncodingArgument

  • pushEncodingArgument(args: RedisCommandArguments, encoding?: TimeSeriesEncoding): RedisCommandArguments

pushFilterArgument

  • pushFilterArgument(args: RedisCommandArguments, filter: string | string[]): RedisCommandArguments
  • Parameters

    • args: RedisCommandArguments
    • filter: string | string[]

    Returns RedisCommandArguments

pushLabelsArgument

  • pushLabelsArgument(args: RedisCommandArguments, labels?: Labels): RedisCommandArguments

pushMRangeArguments

pushMRangeGroupByArguments

  • pushMRangeGroupByArguments(args: RedisCommandArguments, groupBy?: MRangeGroupBy): RedisCommandArguments
  • Parameters

    • args: RedisCommandArguments
    • Optional groupBy: MRangeGroupBy

    Returns RedisCommandArguments

pushMRangeWithLabelsArguments

pushRangeArguments

pushRetentionArgument

  • pushRetentionArgument(args: RedisCommandArguments, retention?: number): RedisCommandArguments
  • Parameters

    • args: RedisCommandArguments
    • Optional retention: number

    Returns RedisCommandArguments

pushWithLabelsArgument

  • pushWithLabelsArgument(args: RedisCommandArguments, selectedLabels?: SelectedLabels): RedisCommandArguments

transformIncrDecrArguments

  • transformIncrDecrArguments(command: "TS.INCRBY" | "TS.DECRBY", key: string, value: number, options?: IncrDecrOptions): RedisCommandArguments

transformLablesReply

transformMRangeReply

  • transformMRangeReply(reply: MRangeRawReply): MRangeReplyItem[]

transformMRangeWithLabelsReply

transformRangeReply

transformSampleReply

transformTimestampArgument

  • transformTimestampArgument(timestamp: Timestamp): string

Generated using TypeDoc