@redis/bloom 2.0.0-next.3 → 5.0.0-next.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/dist/lib/commands/bloom/ADD.d.ts +3 -2
- package/dist/lib/commands/bloom/ADD.d.ts.map +1 -0
- package/dist/lib/commands/bloom/ADD.js +5 -3
- package/dist/lib/commands/bloom/ADD.js.map +1 -0
- package/dist/lib/commands/bloom/CARD.d.ts +3 -2
- package/dist/lib/commands/bloom/CARD.d.ts.map +1 -0
- package/dist/lib/commands/bloom/CARD.js +4 -3
- package/dist/lib/commands/bloom/CARD.js.map +1 -0
- package/dist/lib/commands/bloom/EXISTS.d.ts +3 -2
- package/dist/lib/commands/bloom/EXISTS.d.ts.map +1 -0
- package/dist/lib/commands/bloom/EXISTS.js +5 -3
- package/dist/lib/commands/bloom/EXISTS.js.map +1 -0
- package/dist/lib/commands/bloom/INFO.d.ts +30 -4
- package/dist/lib/commands/bloom/INFO.d.ts.map +1 -0
- package/dist/lib/commands/bloom/INFO.js +11 -5
- package/dist/lib/commands/bloom/INFO.js.map +1 -0
- package/dist/lib/commands/bloom/INSERT.d.ts +3 -2
- package/dist/lib/commands/bloom/INSERT.d.ts.map +1 -0
- package/dist/lib/commands/bloom/INSERT.js +12 -12
- package/dist/lib/commands/bloom/INSERT.js.map +1 -0
- package/dist/lib/commands/bloom/LOADCHUNK.d.ts +3 -2
- package/dist/lib/commands/bloom/LOADCHUNK.d.ts.map +1 -0
- package/dist/lib/commands/bloom/LOADCHUNK.js +5 -3
- package/dist/lib/commands/bloom/LOADCHUNK.js.map +1 -0
- package/dist/lib/commands/bloom/MADD.d.ts +3 -2
- package/dist/lib/commands/bloom/MADD.d.ts.map +1 -0
- package/dist/lib/commands/bloom/MADD.js +6 -5
- package/dist/lib/commands/bloom/MADD.js.map +1 -0
- package/dist/lib/commands/bloom/MEXISTS.d.ts +3 -2
- package/dist/lib/commands/bloom/MEXISTS.d.ts.map +1 -0
- package/dist/lib/commands/bloom/MEXISTS.js +6 -5
- package/dist/lib/commands/bloom/MEXISTS.js.map +1 -0
- package/dist/lib/commands/bloom/RESERVE.d.ts +3 -2
- package/dist/lib/commands/bloom/RESERVE.d.ts.map +1 -0
- package/dist/lib/commands/bloom/RESERVE.js +7 -6
- package/dist/lib/commands/bloom/RESERVE.js.map +1 -0
- package/dist/lib/commands/bloom/SCANDUMP.d.ts +3 -2
- package/dist/lib/commands/bloom/SCANDUMP.d.ts.map +1 -0
- package/dist/lib/commands/bloom/SCANDUMP.js +5 -3
- package/dist/lib/commands/bloom/SCANDUMP.js.map +1 -0
- package/dist/lib/commands/bloom/index.d.ts +31 -42
- package/dist/lib/commands/bloom/index.d.ts.map +1 -0
- package/dist/lib/commands/bloom/index.js +26 -0
- package/dist/lib/commands/bloom/index.js.map +1 -0
- package/dist/lib/commands/count-min-sketch/INCRBY.d.ts +3 -2
- package/dist/lib/commands/count-min-sketch/INCRBY.d.ts.map +1 -0
- package/dist/lib/commands/count-min-sketch/INCRBY.js +8 -8
- package/dist/lib/commands/count-min-sketch/INCRBY.js.map +1 -0
- package/dist/lib/commands/count-min-sketch/INFO.d.ts +15 -13
- package/dist/lib/commands/count-min-sketch/INFO.d.ts.map +1 -0
- package/dist/lib/commands/count-min-sketch/INFO.js +8 -8
- package/dist/lib/commands/count-min-sketch/INFO.js.map +1 -0
- package/dist/lib/commands/count-min-sketch/INITBYDIM.d.ts +3 -2
- package/dist/lib/commands/count-min-sketch/INITBYDIM.d.ts.map +1 -0
- package/dist/lib/commands/count-min-sketch/INITBYDIM.js +5 -3
- package/dist/lib/commands/count-min-sketch/INITBYDIM.js.map +1 -0
- package/dist/lib/commands/count-min-sketch/INITBYPROB.d.ts +3 -2
- package/dist/lib/commands/count-min-sketch/INITBYPROB.d.ts.map +1 -0
- package/dist/lib/commands/count-min-sketch/INITBYPROB.js +5 -3
- package/dist/lib/commands/count-min-sketch/INITBYPROB.js.map +1 -0
- package/dist/lib/commands/count-min-sketch/MERGE.d.ts +3 -2
- package/dist/lib/commands/count-min-sketch/MERGE.d.ts.map +1 -0
- package/dist/lib/commands/count-min-sketch/MERGE.js +11 -9
- package/dist/lib/commands/count-min-sketch/MERGE.js.map +1 -0
- package/dist/lib/commands/count-min-sketch/QUERY.d.ts +3 -2
- package/dist/lib/commands/count-min-sketch/QUERY.d.ts.map +1 -0
- package/dist/lib/commands/count-min-sketch/QUERY.js +5 -4
- package/dist/lib/commands/count-min-sketch/QUERY.js.map +1 -0
- package/dist/lib/commands/count-min-sketch/index.d.ts +17 -36
- package/dist/lib/commands/count-min-sketch/index.d.ts.map +1 -0
- package/dist/lib/commands/count-min-sketch/index.js +1 -0
- package/dist/lib/commands/count-min-sketch/index.js.map +1 -0
- package/dist/lib/commands/cuckoo/ADD.d.ts +3 -2
- package/dist/lib/commands/cuckoo/ADD.d.ts.map +1 -0
- package/dist/lib/commands/cuckoo/ADD.js +5 -3
- package/dist/lib/commands/cuckoo/ADD.js.map +1 -0
- package/dist/lib/commands/cuckoo/ADDNX.d.ts +3 -2
- package/dist/lib/commands/cuckoo/ADDNX.d.ts.map +1 -0
- package/dist/lib/commands/cuckoo/ADDNX.js +5 -3
- package/dist/lib/commands/cuckoo/ADDNX.js.map +1 -0
- package/dist/lib/commands/cuckoo/COUNT.d.ts +3 -2
- package/dist/lib/commands/cuckoo/COUNT.d.ts.map +1 -0
- package/dist/lib/commands/cuckoo/COUNT.js +5 -3
- package/dist/lib/commands/cuckoo/COUNT.js.map +1 -0
- package/dist/lib/commands/cuckoo/DEL.d.ts +3 -2
- package/dist/lib/commands/cuckoo/DEL.d.ts.map +1 -0
- package/dist/lib/commands/cuckoo/DEL.js +5 -3
- package/dist/lib/commands/cuckoo/DEL.js.map +1 -0
- package/dist/lib/commands/cuckoo/EXISTS.d.ts +3 -2
- package/dist/lib/commands/cuckoo/EXISTS.d.ts.map +1 -0
- package/dist/lib/commands/cuckoo/EXISTS.js +5 -3
- package/dist/lib/commands/cuckoo/EXISTS.js.map +1 -0
- package/dist/lib/commands/cuckoo/INFO.d.ts +42 -4
- package/dist/lib/commands/cuckoo/INFO.d.ts.map +1 -0
- package/dist/lib/commands/cuckoo/INFO.js +11 -45
- package/dist/lib/commands/cuckoo/INFO.js.map +1 -0
- package/dist/lib/commands/cuckoo/INSERT.d.ts +4 -3
- package/dist/lib/commands/cuckoo/INSERT.d.ts.map +1 -0
- package/dist/lib/commands/cuckoo/INSERT.js +13 -10
- package/dist/lib/commands/cuckoo/INSERT.js.map +1 -0
- package/dist/lib/commands/cuckoo/INSERTNX.d.ts +2 -2
- package/dist/lib/commands/cuckoo/INSERTNX.d.ts.map +1 -0
- package/dist/lib/commands/cuckoo/INSERTNX.js +5 -2
- package/dist/lib/commands/cuckoo/INSERTNX.js.map +1 -0
- package/dist/lib/commands/cuckoo/LOADCHUNK.d.ts +3 -2
- package/dist/lib/commands/cuckoo/LOADCHUNK.d.ts.map +1 -0
- package/dist/lib/commands/cuckoo/LOADCHUNK.js +5 -3
- package/dist/lib/commands/cuckoo/LOADCHUNK.js.map +1 -0
- package/dist/lib/commands/cuckoo/RESERVE.d.ts +3 -2
- package/dist/lib/commands/cuckoo/RESERVE.d.ts.map +1 -0
- package/dist/lib/commands/cuckoo/RESERVE.js +8 -7
- package/dist/lib/commands/cuckoo/RESERVE.js.map +1 -0
- package/dist/lib/commands/cuckoo/SCANDUMP.d.ts +5 -4
- package/dist/lib/commands/cuckoo/SCANDUMP.d.ts.map +1 -0
- package/dist/lib/commands/cuckoo/SCANDUMP.js +5 -3
- package/dist/lib/commands/cuckoo/SCANDUMP.js.map +1 -0
- package/dist/lib/commands/cuckoo/index.d.ts +35 -50
- package/dist/lib/commands/cuckoo/index.d.ts.map +1 -0
- package/dist/lib/commands/cuckoo/index.js +1 -0
- package/dist/lib/commands/cuckoo/index.js.map +1 -0
- package/dist/lib/commands/index.d.ts +149 -246
- package/dist/lib/commands/index.d.ts.map +1 -0
- package/dist/lib/commands/index.js +1 -0
- package/dist/lib/commands/index.js.map +1 -0
- package/dist/lib/commands/t-digest/ADD.d.ts +3 -2
- package/dist/lib/commands/t-digest/ADD.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/ADD.js +5 -5
- package/dist/lib/commands/t-digest/ADD.js.map +1 -0
- package/dist/lib/commands/t-digest/BYRANK.d.ts +5 -4
- package/dist/lib/commands/t-digest/BYRANK.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/BYRANK.js +8 -6
- package/dist/lib/commands/t-digest/BYRANK.js.map +1 -0
- package/dist/lib/commands/t-digest/BYREVRANK.d.ts +3 -3
- package/dist/lib/commands/t-digest/BYREVRANK.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/BYREVRANK.js +5 -2
- package/dist/lib/commands/t-digest/BYREVRANK.js.map +1 -0
- package/dist/lib/commands/t-digest/CDF.d.ts +4 -3
- package/dist/lib/commands/t-digest/CDF.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/CDF.js +5 -5
- package/dist/lib/commands/t-digest/CDF.js.map +1 -0
- package/dist/lib/commands/t-digest/CREATE.d.ts +3 -2
- package/dist/lib/commands/t-digest/CREATE.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/CREATE.js +5 -5
- package/dist/lib/commands/t-digest/CREATE.js.map +1 -0
- package/dist/lib/commands/t-digest/INFO.d.ts +46 -4
- package/dist/lib/commands/t-digest/INFO.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/INFO.js +11 -41
- package/dist/lib/commands/t-digest/INFO.js.map +1 -0
- package/dist/lib/commands/t-digest/MAX.d.ts +4 -3
- package/dist/lib/commands/t-digest/MAX.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/MAX.js +4 -3
- package/dist/lib/commands/t-digest/MAX.js.map +1 -0
- package/dist/lib/commands/t-digest/MERGE.d.ts +3 -2
- package/dist/lib/commands/t-digest/MERGE.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/MERGE.js +7 -7
- package/dist/lib/commands/t-digest/MERGE.js.map +1 -0
- package/dist/lib/commands/t-digest/MIN.d.ts +4 -3
- package/dist/lib/commands/t-digest/MIN.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/MIN.js +4 -3
- package/dist/lib/commands/t-digest/MIN.js.map +1 -0
- package/dist/lib/commands/t-digest/QUANTILE.d.ts +4 -3
- package/dist/lib/commands/t-digest/QUANTILE.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/QUANTILE.js +5 -5
- package/dist/lib/commands/t-digest/QUANTILE.js.map +1 -0
- package/dist/lib/commands/t-digest/RANK.d.ts +4 -3
- package/dist/lib/commands/t-digest/RANK.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/RANK.js +8 -6
- package/dist/lib/commands/t-digest/RANK.js.map +1 -0
- package/dist/lib/commands/t-digest/RESET.d.ts +3 -2
- package/dist/lib/commands/t-digest/RESET.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/RESET.js +4 -3
- package/dist/lib/commands/t-digest/RESET.js.map +1 -0
- package/dist/lib/commands/t-digest/REVRANK.d.ts +2 -2
- package/dist/lib/commands/t-digest/REVRANK.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/REVRANK.js +5 -2
- package/dist/lib/commands/t-digest/REVRANK.js.map +1 -0
- package/dist/lib/commands/t-digest/TRIMMED_MEAN.d.ts +4 -3
- package/dist/lib/commands/t-digest/TRIMMED_MEAN.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/TRIMMED_MEAN.js +5 -8
- package/dist/lib/commands/t-digest/TRIMMED_MEAN.js.map +1 -0
- package/dist/lib/commands/t-digest/index.d.ts +51 -72
- package/dist/lib/commands/t-digest/index.d.ts.map +1 -0
- package/dist/lib/commands/t-digest/index.js +1 -0
- package/dist/lib/commands/t-digest/index.js.map +1 -0
- package/dist/lib/commands/top-k/ADD.d.ts +3 -2
- package/dist/lib/commands/top-k/ADD.d.ts.map +1 -0
- package/dist/lib/commands/top-k/ADD.js +5 -4
- package/dist/lib/commands/top-k/ADD.js.map +1 -0
- package/dist/lib/commands/top-k/COUNT.d.ts +3 -2
- package/dist/lib/commands/top-k/COUNT.d.ts.map +1 -0
- package/dist/lib/commands/top-k/COUNT.js +5 -4
- package/dist/lib/commands/top-k/COUNT.js.map +1 -0
- package/dist/lib/commands/top-k/INCRBY.d.ts +3 -2
- package/dist/lib/commands/top-k/INCRBY.d.ts.map +1 -0
- package/dist/lib/commands/top-k/INCRBY.js +8 -8
- package/dist/lib/commands/top-k/INCRBY.js.map +1 -0
- package/dist/lib/commands/top-k/INFO.d.ts +11 -15
- package/dist/lib/commands/top-k/INFO.d.ts.map +1 -0
- package/dist/lib/commands/top-k/INFO.js +10 -9
- package/dist/lib/commands/top-k/INFO.js.map +1 -0
- package/dist/lib/commands/top-k/LIST.d.ts +3 -2
- package/dist/lib/commands/top-k/LIST.d.ts.map +1 -0
- package/dist/lib/commands/top-k/LIST.js +4 -3
- package/dist/lib/commands/top-k/LIST.js.map +1 -0
- package/dist/lib/commands/top-k/LIST_WITHCOUNT.d.ts +3 -2
- package/dist/lib/commands/top-k/LIST_WITHCOUNT.d.ts.map +1 -0
- package/dist/lib/commands/top-k/LIST_WITHCOUNT.js +5 -3
- package/dist/lib/commands/top-k/LIST_WITHCOUNT.js.map +1 -0
- package/dist/lib/commands/top-k/QUERY.d.ts +3 -2
- package/dist/lib/commands/top-k/QUERY.d.ts.map +1 -0
- package/dist/lib/commands/top-k/QUERY.js +5 -3
- package/dist/lib/commands/top-k/QUERY.js.map +1 -0
- package/dist/lib/commands/top-k/RESERVE.d.ts +3 -2
- package/dist/lib/commands/top-k/RESERVE.d.ts.map +1 -0
- package/dist/lib/commands/top-k/RESERVE.js +6 -5
- package/dist/lib/commands/top-k/RESERVE.js.map +1 -0
- package/dist/lib/commands/top-k/index.d.ts +21 -46
- package/dist/lib/commands/top-k/index.d.ts.map +1 -0
- package/dist/lib/commands/top-k/index.js +1 -0
- package/dist/lib/commands/top-k/index.js.map +1 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/index.js +1 -0
- package/dist/lib/index.js.map +1 -0
- package/package.json +5 -2
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = {
|
|
4
|
-
FIRST_KEY_INDEX: 1,
|
|
5
4
|
IS_READ_ONLY: false,
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
parseCommand(parser, key) {
|
|
6
|
+
parser.push('TDIGEST.RESET');
|
|
7
|
+
parser.pushKey(key);
|
|
8
8
|
},
|
|
9
9
|
transformReply: undefined
|
|
10
10
|
};
|
|
11
|
+
//# sourceMappingURL=RESET.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RESET.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/RESET.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC7B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
3
2
|
readonly IS_READ_ONLY: true;
|
|
4
|
-
readonly
|
|
3
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, values: number[]) => void;
|
|
5
4
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>;
|
|
6
5
|
};
|
|
7
6
|
export default _default;
|
|
7
|
+
//# sourceMappingURL=REVRANK.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"REVRANK.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/REVRANK.ts"],"names":[],"mappings":";;;;;AAGA,wBAO6B"}
|
|
@@ -25,8 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
const RANK_1 = __importStar(require("./RANK"));
|
|
27
27
|
exports.default = {
|
|
28
|
-
FIRST_KEY_INDEX: RANK_1.default.FIRST_KEY_INDEX,
|
|
29
28
|
IS_READ_ONLY: RANK_1.default.IS_READ_ONLY,
|
|
30
|
-
|
|
29
|
+
parseCommand(...args) {
|
|
30
|
+
args[0].push('TDIGEST.REVRANK');
|
|
31
|
+
(0, RANK_1.transformRankArguments)(...args);
|
|
32
|
+
},
|
|
31
33
|
transformReply: RANK_1.default.transformReply
|
|
32
34
|
};
|
|
35
|
+
//# sourceMappingURL=REVRANK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"REVRANK.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/REVRANK.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,+CAAsD;AAEtD,kBAAe;IACb,YAAY,EAAE,cAAI,CAAC,YAAY;IAC/B,YAAY,CAAC,GAAG,IAA+C;QAC7D,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QAChC,IAAA,6BAAsB,EAAC,GAAG,IAAI,CAAC,CAAC;IAClC,CAAC;IACD,cAAc,EAAE,cAAI,CAAC,cAAc;CACT,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
|
1
2
|
import { RedisArgument } from '@redis/client/dist/lib/RESP/types';
|
|
2
3
|
declare const _default: {
|
|
3
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
4
4
|
readonly IS_READ_ONLY: true;
|
|
5
|
-
readonly
|
|
5
|
+
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, lowCutPercentile: number, highCutPercentile: number) => void;
|
|
6
6
|
readonly transformReply: {
|
|
7
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string
|
|
7
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>, preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
8
8
|
3: () => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
export default _default;
|
|
12
|
+
//# sourceMappingURL=TRIMMED_MEAN.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TRIMMED_MEAN.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/TRIMMED_MEAN.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;gDAM/D,aAAa,OAChB,aAAa,oBACA,MAAM,qBACL,MAAM;;;;;;AAN7B,wBAa6B"}
|
|
@@ -2,15 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const generic_transformers_1 = require("@redis/client/dist/lib/commands/generic-transformers");
|
|
4
4
|
exports.default = {
|
|
5
|
-
FIRST_KEY_INDEX: 1,
|
|
6
5
|
IS_READ_ONLY: true,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
lowCutPercentile.toString(),
|
|
12
|
-
highCutPercentile.toString()
|
|
13
|
-
];
|
|
6
|
+
parseCommand(parser, key, lowCutPercentile, highCutPercentile) {
|
|
7
|
+
parser.push('TDIGEST.TRIMMED_MEAN');
|
|
8
|
+
parser.pushKey(key);
|
|
9
|
+
parser.push(lowCutPercentile.toString(), highCutPercentile.toString());
|
|
14
10
|
},
|
|
15
11
|
transformReply: generic_transformers_1.transformDoubleReply
|
|
16
12
|
};
|
|
13
|
+
//# sourceMappingURL=TRIMMED_MEAN.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TRIMMED_MEAN.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/TRIMMED_MEAN.ts"],"names":[],"mappings":";;AAEA,+FAA4F;AAE5F,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,gBAAwB,EACxB,iBAAyB;QAEzB,MAAM,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QACpC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,CAAC;IACzE,CAAC;IACD,cAAc,EAAE,2CAAoB;CACV,CAAC"}
|
|
@@ -1,213 +1,192 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
readonly ADD: {
|
|
3
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
4
3
|
readonly IS_READ_ONLY: false;
|
|
5
|
-
readonly
|
|
4
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, values: number[]) => void;
|
|
6
5
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
7
6
|
};
|
|
8
7
|
readonly add: {
|
|
9
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
10
8
|
readonly IS_READ_ONLY: false;
|
|
11
|
-
readonly
|
|
9
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, values: number[]) => void;
|
|
12
10
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
13
11
|
};
|
|
14
12
|
readonly BYRANK: {
|
|
15
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
16
13
|
readonly IS_READ_ONLY: true;
|
|
17
|
-
readonly
|
|
14
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, ranks: number[]) => void;
|
|
18
15
|
readonly transformReply: {
|
|
19
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[]) => number[];
|
|
16
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[], preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>[];
|
|
20
17
|
3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").DoubleReply<number>>;
|
|
21
18
|
};
|
|
22
19
|
};
|
|
23
20
|
readonly byRank: {
|
|
24
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
25
21
|
readonly IS_READ_ONLY: true;
|
|
26
|
-
readonly
|
|
22
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, ranks: number[]) => void;
|
|
27
23
|
readonly transformReply: {
|
|
28
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[]) => number[];
|
|
24
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[], preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>[];
|
|
29
25
|
3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").DoubleReply<number>>;
|
|
30
26
|
};
|
|
31
27
|
};
|
|
32
28
|
readonly BYREVRANK: {
|
|
33
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
34
29
|
readonly IS_READ_ONLY: true;
|
|
35
|
-
readonly
|
|
30
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, ranks: number[]) => void;
|
|
36
31
|
readonly transformReply: {
|
|
37
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[]) => number[];
|
|
32
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[], preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>[];
|
|
38
33
|
3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").DoubleReply<number>>;
|
|
39
34
|
};
|
|
40
35
|
};
|
|
41
36
|
readonly byRevRank: {
|
|
42
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
43
37
|
readonly IS_READ_ONLY: true;
|
|
44
|
-
readonly
|
|
38
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, ranks: number[]) => void;
|
|
45
39
|
readonly transformReply: {
|
|
46
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[]) => number[];
|
|
40
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[], preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>[];
|
|
47
41
|
3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").DoubleReply<number>>;
|
|
48
42
|
};
|
|
49
43
|
};
|
|
50
44
|
readonly CDF: {
|
|
51
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
52
45
|
readonly IS_READ_ONLY: true;
|
|
53
|
-
readonly
|
|
46
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, values: number[]) => void;
|
|
54
47
|
readonly transformReply: {
|
|
55
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[]) => number[];
|
|
48
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[], preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>[];
|
|
56
49
|
3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").DoubleReply<number>>;
|
|
57
50
|
};
|
|
58
51
|
};
|
|
59
52
|
readonly cdf: {
|
|
60
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
61
53
|
readonly IS_READ_ONLY: true;
|
|
62
|
-
readonly
|
|
54
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, values: number[]) => void;
|
|
63
55
|
readonly transformReply: {
|
|
64
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[]) => number[];
|
|
56
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[], preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>[];
|
|
65
57
|
3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").DoubleReply<number>>;
|
|
66
58
|
};
|
|
67
59
|
};
|
|
68
60
|
readonly CREATE: {
|
|
69
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
70
61
|
readonly IS_READ_ONLY: false;
|
|
71
|
-
readonly
|
|
62
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./CREATE").TDigestCreateOptions | undefined) => void;
|
|
72
63
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
73
64
|
};
|
|
74
65
|
readonly create: {
|
|
75
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
76
66
|
readonly IS_READ_ONLY: false;
|
|
77
|
-
readonly
|
|
67
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, options?: import("./CREATE").TDigestCreateOptions | undefined) => void;
|
|
78
68
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
79
69
|
};
|
|
80
70
|
readonly INFO: {
|
|
81
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
82
71
|
readonly IS_READ_ONLY: true;
|
|
83
|
-
readonly
|
|
84
|
-
readonly transformReply:
|
|
72
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void;
|
|
73
|
+
readonly transformReply: {
|
|
74
|
+
readonly 2: (this: void, reply: [import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Compression">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Capacity">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Merged nodes">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Unmerged nodes">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Merged weight">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Unmerged weight">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Observations">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Total compressions">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Memory usage">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>], _: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("./INFO").TdInfoReplyMap;
|
|
75
|
+
readonly 3: () => import("./INFO").TdInfoReplyMap;
|
|
76
|
+
};
|
|
85
77
|
};
|
|
86
78
|
readonly info: {
|
|
87
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
88
79
|
readonly IS_READ_ONLY: true;
|
|
89
|
-
readonly
|
|
90
|
-
readonly transformReply:
|
|
80
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void;
|
|
81
|
+
readonly transformReply: {
|
|
82
|
+
readonly 2: (this: void, reply: [import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Compression">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Capacity">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Merged nodes">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Unmerged nodes">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Merged weight">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Unmerged weight">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Observations">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Total compressions">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"Memory usage">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>], _: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("./INFO").TdInfoReplyMap;
|
|
83
|
+
readonly 3: () => import("./INFO").TdInfoReplyMap;
|
|
84
|
+
};
|
|
91
85
|
};
|
|
92
86
|
readonly MAX: {
|
|
93
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
94
87
|
readonly IS_READ_ONLY: true;
|
|
95
|
-
readonly
|
|
88
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void;
|
|
96
89
|
readonly transformReply: {
|
|
97
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string
|
|
90
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>, preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
98
91
|
3: () => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
99
92
|
};
|
|
100
93
|
};
|
|
101
94
|
readonly max: {
|
|
102
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
103
95
|
readonly IS_READ_ONLY: true;
|
|
104
|
-
readonly
|
|
96
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void;
|
|
105
97
|
readonly transformReply: {
|
|
106
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string
|
|
98
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>, preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
107
99
|
3: () => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
108
100
|
};
|
|
109
101
|
};
|
|
110
102
|
readonly MERGE: {
|
|
111
|
-
readonly FIRST_KEY_INDEX: undefined;
|
|
112
103
|
readonly IS_READ_ONLY: false;
|
|
113
|
-
readonly
|
|
104
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, destination: import("@redis/client/dist/lib/RESP/types").RedisArgument, source: import("@redis/client/dist/lib/commands/generic-transformers").RedisVariadicArgument, options?: import("./MERGE").TDigestMergeOptions | undefined) => void;
|
|
114
105
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
115
106
|
};
|
|
116
107
|
readonly merge: {
|
|
117
|
-
readonly FIRST_KEY_INDEX: undefined;
|
|
118
108
|
readonly IS_READ_ONLY: false;
|
|
119
|
-
readonly
|
|
109
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, destination: import("@redis/client/dist/lib/RESP/types").RedisArgument, source: import("@redis/client/dist/lib/commands/generic-transformers").RedisVariadicArgument, options?: import("./MERGE").TDigestMergeOptions | undefined) => void;
|
|
120
110
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
121
111
|
};
|
|
122
112
|
readonly MIN: {
|
|
123
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
124
113
|
readonly IS_READ_ONLY: true;
|
|
125
|
-
readonly
|
|
114
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void;
|
|
126
115
|
readonly transformReply: {
|
|
127
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string
|
|
116
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>, preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
128
117
|
3: () => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
129
118
|
};
|
|
130
119
|
};
|
|
131
120
|
readonly min: {
|
|
132
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
133
121
|
readonly IS_READ_ONLY: true;
|
|
134
|
-
readonly
|
|
122
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void;
|
|
135
123
|
readonly transformReply: {
|
|
136
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string
|
|
124
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>, preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
137
125
|
3: () => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
138
126
|
};
|
|
139
127
|
};
|
|
140
128
|
readonly QUANTILE: {
|
|
141
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
142
129
|
readonly IS_READ_ONLY: true;
|
|
143
|
-
readonly
|
|
130
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, quantiles: number[]) => void;
|
|
144
131
|
readonly transformReply: {
|
|
145
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[]) => number[];
|
|
132
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[], preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>[];
|
|
146
133
|
3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").DoubleReply<number>>;
|
|
147
134
|
};
|
|
148
135
|
};
|
|
149
136
|
readonly quantile: {
|
|
150
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
151
137
|
readonly IS_READ_ONLY: true;
|
|
152
|
-
readonly
|
|
138
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, quantiles: number[]) => void;
|
|
153
139
|
readonly transformReply: {
|
|
154
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[]) => number[];
|
|
140
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>[], preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>[];
|
|
155
141
|
3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").DoubleReply<number>>;
|
|
156
142
|
};
|
|
157
143
|
};
|
|
158
144
|
readonly RANK: {
|
|
159
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
160
145
|
readonly IS_READ_ONLY: true;
|
|
161
|
-
readonly
|
|
146
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, values: number[]) => void;
|
|
162
147
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>;
|
|
163
148
|
};
|
|
164
149
|
readonly rank: {
|
|
165
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
166
150
|
readonly IS_READ_ONLY: true;
|
|
167
|
-
readonly
|
|
151
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, values: number[]) => void;
|
|
168
152
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>;
|
|
169
153
|
};
|
|
170
154
|
readonly RESET: {
|
|
171
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
172
155
|
readonly IS_READ_ONLY: false;
|
|
173
|
-
readonly
|
|
156
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void;
|
|
174
157
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
175
158
|
};
|
|
176
159
|
readonly reset: {
|
|
177
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
178
160
|
readonly IS_READ_ONLY: false;
|
|
179
|
-
readonly
|
|
161
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void;
|
|
180
162
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">;
|
|
181
163
|
};
|
|
182
164
|
readonly REVRANK: {
|
|
183
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
184
165
|
readonly IS_READ_ONLY: true;
|
|
185
|
-
readonly
|
|
166
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, values: number[]) => void;
|
|
186
167
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>;
|
|
187
168
|
};
|
|
188
169
|
readonly revRank: {
|
|
189
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
190
170
|
readonly IS_READ_ONLY: true;
|
|
191
|
-
readonly
|
|
171
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, values: number[]) => void;
|
|
192
172
|
readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<number>>;
|
|
193
173
|
};
|
|
194
174
|
readonly TRIMMED_MEAN: {
|
|
195
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
196
175
|
readonly IS_READ_ONLY: true;
|
|
197
|
-
readonly
|
|
176
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, lowCutPercentile: number, highCutPercentile: number) => void;
|
|
198
177
|
readonly transformReply: {
|
|
199
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string
|
|
178
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>, preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
200
179
|
3: () => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
201
180
|
};
|
|
202
181
|
};
|
|
203
182
|
readonly trimmedMean: {
|
|
204
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
205
183
|
readonly IS_READ_ONLY: true;
|
|
206
|
-
readonly
|
|
184
|
+
readonly parseCommand: (this: void, parser: import("@redis/client/dist/lib/client/parser").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, lowCutPercentile: number, highCutPercentile: number) => void;
|
|
207
185
|
readonly transformReply: {
|
|
208
|
-
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string
|
|
186
|
+
2: (reply: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>, preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
209
187
|
3: () => import("@redis/client/dist/lib/RESP/types").DoubleReply<number>;
|
|
210
188
|
};
|
|
211
189
|
};
|
|
212
190
|
};
|
|
213
191
|
export default _default;
|
|
192
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,wBA6BmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/index.ts"],"names":[],"mappings":";;;;;AACA,gDAAwB;AACxB,sDAA8B;AAC9B,4DAAoC;AACpC,gDAAwB;AACxB,sDAA8B;AAC9B,kDAA0B;AAC1B,gDAAwB;AACxB,oDAA4B;AAC5B,gDAAwB;AACxB,0DAAkC;AAClC,kDAA0B;AAC1B,oDAA4B;AAC5B,wDAAgC;AAChC,kEAA0C;AAE1C,kBAAe;IACb,GAAG,EAAH,aAAG;IACH,GAAG,EAAE,aAAG;IACR,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,SAAS,EAAT,mBAAS;IACT,SAAS,EAAE,mBAAS;IACpB,GAAG,EAAH,aAAG;IACH,GAAG,EAAE,aAAG;IACR,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAE,cAAI;IACV,GAAG,EAAH,aAAG;IACH,GAAG,EAAE,aAAG;IACR,KAAK,EAAL,eAAK;IACL,KAAK,EAAE,eAAK;IACZ,GAAG,EAAH,aAAG;IACH,GAAG,EAAE,aAAG;IACR,QAAQ,EAAR,kBAAQ;IACR,QAAQ,EAAE,kBAAQ;IAClB,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAE,cAAI;IACV,KAAK,EAAL,eAAK;IACL,KAAK,EAAE,eAAK;IACZ,OAAO,EAAP,iBAAO;IACP,OAAO,EAAE,iBAAO;IAChB,YAAY,EAAZ,sBAAY;IACZ,WAAW,EAAE,sBAAY;CACO,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
|
1
2
|
import { RedisArgument, ArrayReply, BlobStringReply } from '@redis/client/dist/lib/RESP/types';
|
|
2
3
|
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
|
3
4
|
declare const _default: {
|
|
4
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
5
5
|
readonly IS_READ_ONLY: false;
|
|
6
|
-
readonly
|
|
6
|
+
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, items: RedisVariadicArgument) => void;
|
|
7
7
|
readonly transformReply: () => ArrayReply<BlobStringReply>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
10
|
+
//# sourceMappingURL=ADD.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ADD.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/ADD.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAW,MAAM,mCAAmC,CAAC;AACxG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;;;gDAItE,aAAa,OAAO,aAAa,SAAS,qBAAqB;mCAKtC,WAAW,eAAe,CAAC;;AAP3E,wBAQ6B"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const generic_transformers_1 = require("@redis/client/dist/lib/commands/generic-transformers");
|
|
4
3
|
exports.default = {
|
|
5
|
-
FIRST_KEY_INDEX: 1,
|
|
6
4
|
IS_READ_ONLY: false,
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
parseCommand(parser, key, items) {
|
|
6
|
+
parser.push('TOPK.ADD');
|
|
7
|
+
parser.pushKey(key);
|
|
8
|
+
parser.pushVariadic(items);
|
|
9
9
|
},
|
|
10
10
|
transformReply: undefined
|
|
11
11
|
};
|
|
12
|
+
//# sourceMappingURL=ADD.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ADD.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/ADD.ts"],"names":[],"mappings":";;AAIA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,KAA4B;QAClF,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IACD,cAAc,EAAE,SAAyD;CAC/C,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
|
1
2
|
import { RedisArgument, ArrayReply, NumberReply } from '@redis/client/dist/lib/RESP/types';
|
|
2
3
|
import { RedisVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
|
|
3
4
|
declare const _default: {
|
|
4
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
5
5
|
readonly IS_READ_ONLY: true;
|
|
6
|
-
readonly
|
|
6
|
+
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, items: RedisVariadicArgument) => void;
|
|
7
7
|
readonly transformReply: () => ArrayReply<NumberReply>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
10
|
+
//# sourceMappingURL=COUNT.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"COUNT.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/COUNT.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;AACpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;;;gDAItE,aAAa,OAAO,aAAa,SAAS,qBAAqB;mCAKtC,WAAW,WAAW,CAAC;;AAPvE,wBAQ6B"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const generic_transformers_1 = require("@redis/client/dist/lib/commands/generic-transformers");
|
|
4
3
|
exports.default = {
|
|
5
|
-
FIRST_KEY_INDEX: 1,
|
|
6
4
|
IS_READ_ONLY: true,
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
parseCommand(parser, key, items) {
|
|
6
|
+
parser.push('TOPK.COUNT');
|
|
7
|
+
parser.pushKey(key);
|
|
8
|
+
parser.pushVariadic(items);
|
|
9
9
|
},
|
|
10
10
|
transformReply: undefined
|
|
11
11
|
};
|
|
12
|
+
//# sourceMappingURL=COUNT.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"COUNT.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/COUNT.ts"],"names":[],"mappings":";;AAIA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,KAA4B;QAClF,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
|
1
2
|
import { RedisArgument, ArrayReply, SimpleStringReply, NullReply } from '@redis/client/dist/lib/RESP/types';
|
|
2
3
|
export interface TopKIncrByItem {
|
|
3
4
|
item: string;
|
|
4
5
|
incrementBy: number;
|
|
5
6
|
}
|
|
6
7
|
declare const _default: {
|
|
7
|
-
readonly FIRST_KEY_INDEX: 1;
|
|
8
8
|
readonly IS_READ_ONLY: false;
|
|
9
|
-
readonly
|
|
9
|
+
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, items: TopKIncrByItem | Array<TopKIncrByItem>) => void;
|
|
10
10
|
readonly transformReply: () => ArrayReply<SimpleStringReply | NullReply>;
|
|
11
11
|
};
|
|
12
12
|
export default _default;
|
|
13
|
+
//# sourceMappingURL=INCRBY.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"INCRBY.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/INCRBY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAW,MAAM,mCAAmC,CAAC;AAErH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;;;gDASW,aAAa,OAChB,aAAa,SACX,cAAc,GAAG,MAAM,cAAc,CAAC;mCAaD,WAAW,iBAAiB,GAAG,SAAS,CAAC;;AAlBzF,wBAmB6B"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
function pushIncrByItem(
|
|
4
|
-
|
|
3
|
+
function pushIncrByItem(parser, { item, incrementBy }) {
|
|
4
|
+
parser.push(item, incrementBy.toString());
|
|
5
5
|
}
|
|
6
6
|
exports.default = {
|
|
7
|
-
FIRST_KEY_INDEX: 1,
|
|
8
7
|
IS_READ_ONLY: false,
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
parseCommand(parser, key, items) {
|
|
9
|
+
parser.push('TOPK.INCRBY');
|
|
10
|
+
parser.pushKey(key);
|
|
11
11
|
if (Array.isArray(items)) {
|
|
12
12
|
for (const item of items) {
|
|
13
|
-
pushIncrByItem(
|
|
13
|
+
pushIncrByItem(parser, item);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
else {
|
|
17
|
-
pushIncrByItem(
|
|
17
|
+
pushIncrByItem(parser, items);
|
|
18
18
|
}
|
|
19
|
-
return args;
|
|
20
19
|
},
|
|
21
20
|
transformReply: undefined
|
|
22
21
|
};
|
|
22
|
+
//# sourceMappingURL=INCRBY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"INCRBY.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/INCRBY.ts"],"names":[],"mappings":";;AAQA,SAAS,cAAc,CAAC,MAAqB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAkB;IAClF,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;AAC5C,CAAC;AAED,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,KAA6C;QAE7C,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YACzB,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;gBACzB,cAAc,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YAC/B,CAAC;QACH,CAAC;aAAM,CAAC;YACN,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;QAChC,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAuE;CAC7D,CAAC"}
|