@redis/bloom
Advanced tools
@@ -5,8 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Adds an item to a Bloom Filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, item: RedisArgument) => void; | ||
@@ -13,0 +7,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"ADD.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/ADD.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;IAKzE;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,QAAQ,aAAa;;;;;;AAR7E,wBAc6B"} | ||
| {"version":3,"file":"ADD.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/ADD.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;gDAKpD,aAAa,OAAO,aAAa,QAAQ,aAAa;;;;;;AAF7E,wBAQ6B"} |
@@ -6,8 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Adds an item to a Bloom Filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| parseCommand(parser, key, item) { | ||
@@ -14,0 +8,0 @@ parser.push('BF.ADD'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"ADD.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/ADD.ts"],"names":[],"mappings":";;AAEA,+FAA6F;AAE7F,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,4CAAqB;CACX,CAAC"} | ||
| {"version":3,"file":"ADD.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/ADD.ts"],"names":[],"mappings":";;AAEA,+FAA6F;AAE7F,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,4CAAqB;CACX,CAAC"} |
@@ -5,7 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns the cardinality (number of items) in a Bloom Filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter to query | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument) => void; | ||
@@ -12,0 +7,0 @@ readonly transformReply: () => NumberReply; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"CARD.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/CARD.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;;;IAItF;;;;OAIG;gDACkB,aAAa,OAAO,aAAa;mCAIR,WAAW;;AAX3D,wBAY6B"} | ||
| {"version":3,"file":"CARD.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/CARD.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;;;gDAIjE,aAAa,OAAO,aAAa;mCAIR,WAAW;;AAN3D,wBAO6B"} |
@@ -5,7 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns the cardinality (number of items) in a Bloom Filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter to query | ||
| */ | ||
| parseCommand(parser, key) { | ||
@@ -12,0 +7,0 @@ parser.push('BF.CARD'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"CARD.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/CARD.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;OAIG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACvB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE,SAAyC;CAC/B,CAAC"} | ||
| {"version":3,"file":"CARD.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/CARD.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACvB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE,SAAyC;CAC/B,CAAC"} |
@@ -5,8 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Checks if an item exists in a Bloom Filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter | ||
| * @param item - The item to check for existence | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, item: RedisArgument) => void; | ||
@@ -13,0 +7,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"EXISTS.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/EXISTS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;IAKzE;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,QAAQ,aAAa;;;;;;AAR7E,wBAc6B"} | ||
| {"version":3,"file":"EXISTS.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/EXISTS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;gDAKpD,aAAa,OAAO,aAAa,QAAQ,aAAa;;;;;;AAF7E,wBAQ6B"} |
@@ -6,8 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Checks if an item exists in a Bloom Filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter | ||
| * @param item - The item to check for existence | ||
| */ | ||
| parseCommand(parser, key, item) { | ||
@@ -14,0 +8,0 @@ parser.push('BF.EXISTS'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"EXISTS.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/EXISTS.ts"],"names":[],"mappings":";;AAEA,+FAA6F;AAE7F,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,4CAAqB;CACX,CAAC"} | ||
| {"version":3,"file":"EXISTS.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/EXISTS.ts"],"names":[],"mappings":";;AAEA,+FAA6F;AAE7F,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,4CAAqB;CACX,CAAC"} |
| import { TypeMapping } from "@redis/client"; | ||
| export declare function transformInfoV2Reply<T>(reply: Array<any>, typeMapping?: TypeMapping): T; | ||
| export declare function transformInfoV2Reply<T>(reply: Array<unknown>, typeMapping?: TypeMapping): T; | ||
| //# sourceMappingURL=helpers.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,WAAW,EAAE,MAAM,eAAe,CAAC;AAExD,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,CAAC,CA0BvF"} | ||
| {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,WAAW,EAAE,MAAM,eAAe,CAAC;AAExD,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,CAAC,CA2B3F"} |
@@ -6,2 +6,3 @@ "use strict"; | ||
| function transformInfoV2Reply(reply, typeMapping) { | ||
| const entries = reply; | ||
| const mapType = typeMapping ? typeMapping[client_1.RESP_TYPES.MAP] : undefined; | ||
@@ -14,4 +15,4 @@ switch (mapType) { | ||
| const ret = new Map(); | ||
| for (let i = 0; i < reply.length; i += 2) { | ||
| ret.set(reply[i].toString(), reply[i + 1]); | ||
| for (let i = 0; i < entries.length; i += 2) { | ||
| ret.set(entries[i].toString(), entries[i + 1]); | ||
| } | ||
@@ -21,5 +22,5 @@ return ret; | ||
| default: { | ||
| const ret = Object.create(null); | ||
| for (let i = 0; i < reply.length; i += 2) { | ||
| ret[reply[i].toString()] = reply[i + 1]; | ||
| const ret = {}; | ||
| for (let i = 0; i < entries.length; i += 2) { | ||
| ret[entries[i].toString()] = entries[i + 1]; | ||
| } | ||
@@ -26,0 +27,0 @@ return ret; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/helpers.ts"],"names":[],"mappings":";;;AAAA,0CAAwD;AAExD,SAAgB,oBAAoB,CAAI,KAAiB,EAAE,WAAyB;IAClF,MAAM,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,mBAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAEtE,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,KAAK,CAAC,CAAC,CAAC;YACX,OAAO,KAAqB,CAAC;QAC/B,CAAC;QACD,KAAK,GAAG,CAAC,CAAC,CAAC;YACT,MAAM,GAAG,GAAG,IAAI,GAAG,EAAe,CAAC;YAEnC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;gBACzC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC7C,CAAC;YAED,OAAO,GAAmB,CAAC;QAC7B,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;YACR,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YAEhC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;gBACzC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YAC1C,CAAC;YAED,OAAO,GAAmB,CAAC;QAC7B,CAAC;IACH,CAAC;AACH,CAAC;AA1BD,oDA0BC"} | ||
| {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/helpers.ts"],"names":[],"mappings":";;;AAAA,0CAAwD;AAExD,SAAgB,oBAAoB,CAAI,KAAqB,EAAE,WAAyB;IACtF,MAAM,OAAO,GAAG,KAAsC,CAAC;IACvD,MAAM,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,mBAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAEtE,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,KAAK,CAAC,CAAC,CAAC;YACX,OAAO,KAAqB,CAAC;QAC/B,CAAC;QACD,KAAK,GAAG,CAAC,CAAC,CAAC;YACT,MAAM,GAAG,GAAG,IAAI,GAAG,EAAmB,CAAC;YAEvC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC3C,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YACjD,CAAC;YAED,OAAO,GAAmB,CAAC;QAC7B,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;YACR,MAAM,GAAG,GAA4B,EAAE,CAAC;YAExC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC3C,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YAC9C,CAAC;YAED,OAAO,GAAmB,CAAC;QAC7B,CAAC;IACH,CAAC;AACH,CAAC;AA3BD,oDA2BC"} |
| export * from './helpers'; | ||
| declare const _default: { | ||
| /** | ||
| * Adds an item to a Bloom Filter | ||
| * @param key - The name of the Bloom filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| readonly ADD: { | ||
@@ -11,2 +16,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Adds an item to a Bloom Filter | ||
| * @param key - The name of the Bloom filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| readonly add: { | ||
@@ -20,2 +30,6 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Returns the cardinality (number of items) in a Bloom Filter | ||
| * @param key - The name of the Bloom filter to query | ||
| */ | ||
| readonly CARD: { | ||
@@ -26,2 +40,6 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns the cardinality (number of items) in a Bloom Filter | ||
| * @param key - The name of the Bloom filter to query | ||
| */ | ||
| readonly card: { | ||
@@ -32,2 +50,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Checks if an item exists in a Bloom Filter | ||
| * @param key - The name of the Bloom filter | ||
| * @param item - The item to check for existence | ||
| */ | ||
| readonly EXISTS: { | ||
@@ -41,2 +64,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Checks if an item exists in a Bloom Filter | ||
| * @param key - The name of the Bloom filter | ||
| * @param item - The item to check for existence | ||
| */ | ||
| readonly exists: { | ||
@@ -50,2 +78,6 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns information about a Bloom Filter, including capacity, size, number of filters, items inserted, and expansion rate | ||
| * @param key - The name of the Bloom filter to get information about | ||
| */ | ||
| readonly INFO: { | ||
@@ -59,2 +91,6 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns information about a Bloom Filter, including capacity, size, number of filters, items inserted, and expansion rate | ||
| * @param key - The name of the Bloom filter to get information about | ||
| */ | ||
| readonly info: { | ||
@@ -68,2 +104,13 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Adds one or more items to a Bloom Filter, creating it if it does not exist | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - Desired capacity for a new filter | ||
| * @param options.ERROR - Desired error rate for a new filter | ||
| * @param options.EXPANSION - Expansion rate for a new filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| * @param options.NONSCALING - Prevents the filter from creating additional sub-filters | ||
| */ | ||
| readonly INSERT: { | ||
@@ -77,2 +124,13 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Adds one or more items to a Bloom Filter, creating it if it does not exist | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - Desired capacity for a new filter | ||
| * @param options.ERROR - Desired error rate for a new filter | ||
| * @param options.EXPANSION - Expansion rate for a new filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| * @param options.NONSCALING - Prevents the filter from creating additional sub-filters | ||
| */ | ||
| readonly insert: { | ||
@@ -86,2 +144,8 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Restores a Bloom Filter chunk previously saved using SCANDUMP | ||
| * @param key - The name of the Bloom filter to restore | ||
| * @param iterator - Iterator value from the SCANDUMP command | ||
| * @param chunk - Data chunk from the SCANDUMP command | ||
| */ | ||
| readonly LOADCHUNK: { | ||
@@ -92,2 +156,8 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Restores a Bloom Filter chunk previously saved using SCANDUMP | ||
| * @param key - The name of the Bloom filter to restore | ||
| * @param iterator - Iterator value from the SCANDUMP command | ||
| * @param chunk - Data chunk from the SCANDUMP command | ||
| */ | ||
| readonly loadChunk: { | ||
@@ -98,2 +168,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Adds multiple items to a Bloom Filter in a single call | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| readonly MADD: { | ||
@@ -107,2 +182,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Adds multiple items to a Bloom Filter in a single call | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| readonly mAdd: { | ||
@@ -116,2 +196,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Checks if multiple items exist in a Bloom Filter in a single call | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to check for existence | ||
| */ | ||
| readonly MEXISTS: { | ||
@@ -125,2 +210,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Checks if multiple items exist in a Bloom Filter in a single call | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to check for existence | ||
| */ | ||
| readonly mExists: { | ||
@@ -134,12 +224,41 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Creates an empty Bloom Filter with a given desired error ratio and initial capacity | ||
| * @param key - The name of the Bloom filter to create | ||
| * @param errorRate - The desired probability for false positives (between 0 and 1) | ||
| * @param capacity - The number of entries intended to be added to the filter | ||
| * @param options - Optional parameters to tune the filter | ||
| * @param options.EXPANSION - Expansion rate for the filter | ||
| * @param options.NONSCALING - Prevents the filter from creating additional sub-filters | ||
| */ | ||
| readonly RESERVE: { | ||
| readonly IS_READ_ONLY: true; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, errorRate: number, capacity: number, options?: import("./RESERVE").BfReserveOptions | undefined) => void; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, errorRate: number, capacity: number, options?: import("./RESERVE").BfReserveOptions | undefined) => void; /** | ||
| * Returns the cardinality (number of items) in a Bloom Filter | ||
| * @param key - The name of the Bloom filter to query | ||
| */ | ||
| readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">; | ||
| }; | ||
| /** | ||
| * Creates an empty Bloom Filter with a given desired error ratio and initial capacity | ||
| * @param key - The name of the Bloom filter to create | ||
| * @param errorRate - The desired probability for false positives (between 0 and 1) | ||
| * @param capacity - The number of entries intended to be added to the filter | ||
| * @param options - Optional parameters to tune the filter | ||
| * @param options.EXPANSION - Expansion rate for the filter | ||
| * @param options.NONSCALING - Prevents the filter from creating additional sub-filters | ||
| */ | ||
| readonly reserve: { | ||
| readonly IS_READ_ONLY: true; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, errorRate: number, capacity: number, options?: import("./RESERVE").BfReserveOptions | undefined) => void; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, errorRate: number, capacity: number, options?: import("./RESERVE").BfReserveOptions | undefined) => void; /** | ||
| * Returns the cardinality (number of items) in a Bloom Filter | ||
| * @param key - The name of the Bloom filter to query | ||
| */ | ||
| readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"OK">; | ||
| }; | ||
| /** | ||
| * Begins an incremental save of a Bloom Filter. This is useful for large filters that can't be saved at once | ||
| * @param key - The name of the Bloom filter to save | ||
| * @param iterator - Iterator value; Start at 0, and use the iterator from the response for the next chunk | ||
| */ | ||
| readonly SCANDUMP: { | ||
@@ -153,2 +272,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Begins an incremental save of a Bloom Filter. This is useful for large filters that can't be saved at once | ||
| * @param key - The name of the Bloom filter to save | ||
| * @param iterator - Iterator value; Start at 0, and use the iterator from the response for the next chunk | ||
| */ | ||
| readonly scanDump: { | ||
@@ -155,0 +279,0 @@ readonly IS_READ_ONLY: true; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/index.ts"],"names":[],"mappings":"AAaA,cAAc,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1B,wBAqBmC"} | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/index.ts"],"names":[],"mappings":"AAaA,cAAc,WAAW,CAAC;;IAGxB;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;OAGG;;;;;;IAEH;;;OAGG;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;;;;;;;;OAUG;;;;;;;;;IAEH;;;;;;;;;;OAUG;;;;;;;;;IAEH;;;;;OAKG;;;;;;IAEH;;;;;OAKG;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;;;;;OAQG;;;qQAtGH;;;WAGG;;;IAqGH;;;;;;;;OAQG;;;qQAhHH;;;WAGG;;;IA+GH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;;AAzIL,wBA2ImC"} |
@@ -32,23 +32,141 @@ "use strict"; | ||
| exports.default = { | ||
| /** | ||
| * Adds an item to a Bloom Filter | ||
| * @param key - The name of the Bloom filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| ADD: ADD_1.default, | ||
| /** | ||
| * Adds an item to a Bloom Filter | ||
| * @param key - The name of the Bloom filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| add: ADD_1.default, | ||
| /** | ||
| * Returns the cardinality (number of items) in a Bloom Filter | ||
| * @param key - The name of the Bloom filter to query | ||
| */ | ||
| CARD: CARD_1.default, | ||
| /** | ||
| * Returns the cardinality (number of items) in a Bloom Filter | ||
| * @param key - The name of the Bloom filter to query | ||
| */ | ||
| card: CARD_1.default, | ||
| /** | ||
| * Checks if an item exists in a Bloom Filter | ||
| * @param key - The name of the Bloom filter | ||
| * @param item - The item to check for existence | ||
| */ | ||
| EXISTS: EXISTS_1.default, | ||
| /** | ||
| * Checks if an item exists in a Bloom Filter | ||
| * @param key - The name of the Bloom filter | ||
| * @param item - The item to check for existence | ||
| */ | ||
| exists: EXISTS_1.default, | ||
| /** | ||
| * Returns information about a Bloom Filter, including capacity, size, number of filters, items inserted, and expansion rate | ||
| * @param key - The name of the Bloom filter to get information about | ||
| */ | ||
| INFO: INFO_1.default, | ||
| /** | ||
| * Returns information about a Bloom Filter, including capacity, size, number of filters, items inserted, and expansion rate | ||
| * @param key - The name of the Bloom filter to get information about | ||
| */ | ||
| info: INFO_1.default, | ||
| /** | ||
| * Adds one or more items to a Bloom Filter, creating it if it does not exist | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - Desired capacity for a new filter | ||
| * @param options.ERROR - Desired error rate for a new filter | ||
| * @param options.EXPANSION - Expansion rate for a new filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| * @param options.NONSCALING - Prevents the filter from creating additional sub-filters | ||
| */ | ||
| INSERT: INSERT_1.default, | ||
| /** | ||
| * Adds one or more items to a Bloom Filter, creating it if it does not exist | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - Desired capacity for a new filter | ||
| * @param options.ERROR - Desired error rate for a new filter | ||
| * @param options.EXPANSION - Expansion rate for a new filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| * @param options.NONSCALING - Prevents the filter from creating additional sub-filters | ||
| */ | ||
| insert: INSERT_1.default, | ||
| /** | ||
| * Restores a Bloom Filter chunk previously saved using SCANDUMP | ||
| * @param key - The name of the Bloom filter to restore | ||
| * @param iterator - Iterator value from the SCANDUMP command | ||
| * @param chunk - Data chunk from the SCANDUMP command | ||
| */ | ||
| LOADCHUNK: LOADCHUNK_1.default, | ||
| /** | ||
| * Restores a Bloom Filter chunk previously saved using SCANDUMP | ||
| * @param key - The name of the Bloom filter to restore | ||
| * @param iterator - Iterator value from the SCANDUMP command | ||
| * @param chunk - Data chunk from the SCANDUMP command | ||
| */ | ||
| loadChunk: LOADCHUNK_1.default, | ||
| /** | ||
| * Adds multiple items to a Bloom Filter in a single call | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| MADD: MADD_1.default, | ||
| /** | ||
| * Adds multiple items to a Bloom Filter in a single call | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| mAdd: MADD_1.default, | ||
| /** | ||
| * Checks if multiple items exist in a Bloom Filter in a single call | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to check for existence | ||
| */ | ||
| MEXISTS: MEXISTS_1.default, | ||
| /** | ||
| * Checks if multiple items exist in a Bloom Filter in a single call | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to check for existence | ||
| */ | ||
| mExists: MEXISTS_1.default, | ||
| /** | ||
| * Creates an empty Bloom Filter with a given desired error ratio and initial capacity | ||
| * @param key - The name of the Bloom filter to create | ||
| * @param errorRate - The desired probability for false positives (between 0 and 1) | ||
| * @param capacity - The number of entries intended to be added to the filter | ||
| * @param options - Optional parameters to tune the filter | ||
| * @param options.EXPANSION - Expansion rate for the filter | ||
| * @param options.NONSCALING - Prevents the filter from creating additional sub-filters | ||
| */ | ||
| RESERVE: RESERVE_1.default, | ||
| /** | ||
| * Creates an empty Bloom Filter with a given desired error ratio and initial capacity | ||
| * @param key - The name of the Bloom filter to create | ||
| * @param errorRate - The desired probability for false positives (between 0 and 1) | ||
| * @param capacity - The number of entries intended to be added to the filter | ||
| * @param options - Optional parameters to tune the filter | ||
| * @param options.EXPANSION - Expansion rate for the filter | ||
| * @param options.NONSCALING - Prevents the filter from creating additional sub-filters | ||
| */ | ||
| reserve: RESERVE_1.default, | ||
| /** | ||
| * Begins an incremental save of a Bloom Filter. This is useful for large filters that can't be saved at once | ||
| * @param key - The name of the Bloom filter to save | ||
| * @param iterator - Iterator value; Start at 0, and use the iterator from the response for the next chunk | ||
| */ | ||
| SCANDUMP: SCANDUMP_1.default, | ||
| /** | ||
| * Begins an incremental save of a Bloom Filter. This is useful for large filters that can't be saved at once | ||
| * @param key - The name of the Bloom filter to save | ||
| * @param iterator - Iterator value; Start at 0, and use the iterator from the response for the next chunk | ||
| */ | ||
| scanDump: SCANDUMP_1.default | ||
| }; | ||
| //# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAEA,gDAAwB;AACxB,kDAA0B;AAC1B,sDAA8B;AAC9B,kDAA0B;AAC1B,sDAA8B;AAC9B,4DAAoC;AACpC,kDAA0B;AAC1B,wDAAgC;AAChC,wDAAgC;AAChC,0DAAkC;AAElC,4CAA0B;AAE1B,kBAAe;IACb,GAAG,EAAH,aAAG;IACH,GAAG,EAAE,aAAG;IACR,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAE,cAAI;IACV,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAE,cAAI;IACV,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,SAAS,EAAT,mBAAS;IACT,SAAS,EAAE,mBAAS;IACpB,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAE,cAAI;IACV,OAAO,EAAP,iBAAO;IACP,OAAO,EAAE,iBAAO;IAChB,OAAO,EAAP,iBAAO;IACP,OAAO,EAAE,iBAAO;IAChB,QAAQ,EAAR,kBAAQ;IACR,QAAQ,EAAE,kBAAQ;CACc,CAAC"} | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAEA,gDAAwB;AACxB,kDAA0B;AAC1B,sDAA8B;AAC9B,kDAA0B;AAC1B,sDAA8B;AAC9B,4DAAoC;AACpC,kDAA0B;AAC1B,wDAAgC;AAChC,wDAAgC;AAChC,0DAAkC;AAElC,4CAA0B;AAE1B,kBAAe;IACb;;;;OAIG;IACH,GAAG,EAAH,aAAG;IACH;;;;OAIG;IACH,GAAG,EAAE,aAAG;IACR;;;OAGG;IACH,IAAI,EAAJ,cAAI;IACJ;;;OAGG;IACH,IAAI,EAAE,cAAI;IACV;;;;OAIG;IACH,MAAM,EAAN,gBAAM;IACN;;;;OAIG;IACH,MAAM,EAAE,gBAAM;IACd;;;OAGG;IACH,IAAI,EAAJ,cAAI;IACJ;;;OAGG;IACH,IAAI,EAAE,cAAI;IACV;;;;;;;;;;OAUG;IACH,MAAM,EAAN,gBAAM;IACN;;;;;;;;;;OAUG;IACH,MAAM,EAAE,gBAAM;IACd;;;;;OAKG;IACH,SAAS,EAAT,mBAAS;IACT;;;;;OAKG;IACH,SAAS,EAAE,mBAAS;IACpB;;;;OAIG;IACH,IAAI,EAAJ,cAAI;IACJ;;;;OAIG;IACH,IAAI,EAAE,cAAI;IACV;;;;OAIG;IACH,OAAO,EAAP,iBAAO;IACP;;;;OAIG;IACH,OAAO,EAAE,iBAAO;IAChB;;;;;;;;OAQG;IACH,OAAO,EAAP,iBAAO;IACP;;;;;;;;OAQG;IACH,OAAO,EAAE,iBAAO;IAChB;;;;OAIG;IACH,QAAQ,EAAR,kBAAQ;IACR;;;;OAIG;IACH,QAAQ,EAAE,kBAAQ;CACc,CAAC"} |
@@ -27,7 +27,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns information about a Bloom Filter, including capacity, size, number of filters, items inserted, and expansion rate | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter to get information about | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument) => void; | ||
@@ -34,0 +29,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INFO.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/INFO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAwB,SAAS,EAAE,WAAW,EAAE,gBAAgB,EAAc,iBAAiB,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAG9K,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC;IAC5C;QAAC,iBAAiB,CAAC,UAAU,CAAC;QAAE,WAAW;KAAC;IAC5C;QAAC,iBAAiB,CAAC,MAAM,CAAC;QAAE,WAAW;KAAC;IACxC;QAAC,iBAAiB,CAAC,mBAAmB,CAAC;QAAE,WAAW;KAAC;IACrD;QAAC,iBAAiB,CAAC,0BAA0B,CAAC;QAAE,WAAW;KAAC;IAC5D;QAAC,iBAAiB,CAAC,gBAAgB,CAAC;QAAE,SAAS,GAAG,WAAW;KAAC;CAC/D,CAAC,CAAC;;;IAID;;;;OAIG;gDACkB,aAAa,OAAO,aAAa;;2WAKiB,WAAW;;;;AAZpF,wBAiB6B"} | ||
| {"version":3,"file":"INFO.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/INFO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAwB,SAAS,EAAE,WAAW,EAAE,gBAAgB,EAAc,iBAAiB,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAG9K,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC;IAC5C;QAAC,iBAAiB,CAAC,UAAU,CAAC;QAAE,WAAW;KAAC;IAC5C;QAAC,iBAAiB,CAAC,MAAM,CAAC;QAAE,WAAW;KAAC;IACxC;QAAC,iBAAiB,CAAC,mBAAmB,CAAC;QAAE,WAAW;KAAC;IACrD;QAAC,iBAAiB,CAAC,0BAA0B,CAAC;QAAE,WAAW;KAAC;IAC5D;QAAC,iBAAiB,CAAC,gBAAgB,CAAC;QAAE,SAAS,GAAG,WAAW;KAAC;CAC/D,CAAC,CAAC;;;gDAIoB,aAAa,OAAO,aAAa;;2WAKiB,WAAW;;;;AAPpF,wBAY6B"} |
@@ -6,7 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns information about a Bloom Filter, including capacity, size, number of filters, items inserted, and expansion rate | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter to get information about | ||
| */ | ||
| parseCommand(parser, key) { | ||
@@ -13,0 +8,0 @@ parser.push('BF.INFO'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INFO.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/INFO.ts"],"names":[],"mappings":";;AAEA,uCAAiD;AAUjD,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;OAIG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACvB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,CAAC,KAA8C,EAAE,CAAC,EAAE,WAAyB,EAAkB,EAAE;YAClG,OAAO,IAAA,8BAAoB,EAAiB,KAAK,EAAE,WAAW,CAAC,CAAC;QAClE,CAAC;QACD,CAAC,EAAE,SAA4C;KAChD;CACyB,CAAC"} | ||
| {"version":3,"file":"INFO.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/INFO.ts"],"names":[],"mappings":";;AAEA,uCAAiD;AAUjD,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACvB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,CAAC,KAA8C,EAAE,CAAC,EAAE,WAAyB,EAAkB,EAAE;YAClG,OAAO,IAAA,8BAAoB,EAAiB,KAAK,EAAE,WAAW,CAAC,CAAC;QAClE,CAAC;QACD,CAAC,EAAE,SAA4C;KAChD;CACyB,CAAC"} |
@@ -13,14 +13,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Adds one or more items to a Bloom Filter, creating it if it does not exist | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - Desired capacity for a new filter | ||
| * @param options.ERROR - Desired error rate for a new filter | ||
| * @param options.EXPANSION - Expansion rate for a new filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| * @param options.NONSCALING - Prevents the filter from creating additional sub-filters | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, items: RedisVariadicArgument, options?: BfInsertOptions) => void; | ||
@@ -27,0 +15,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INSERT.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/INSERT.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAG7F,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;;;IAIC;;;;;;;;;;;OAWG;gDAEO,aAAa,OAChB,aAAa,SACX,qBAAqB,YAClB,eAAe;;;;;;AAlB7B,wBA+C6B"} | ||
| {"version":3,"file":"INSERT.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/INSERT.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAG7F,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;;;gDAKW,aAAa,OAChB,aAAa,SACX,qBAAqB,YAClB,eAAe;;;;;;AAN7B,wBAmC6B"} |
@@ -6,14 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Adds one or more items to a Bloom Filter, creating it if it does not exist | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - Desired capacity for a new filter | ||
| * @param options.ERROR - Desired error rate for a new filter | ||
| * @param options.EXPANSION - Expansion rate for a new filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| * @param options.NONSCALING - Prevents the filter from creating additional sub-filters | ||
| */ | ||
| parseCommand(parser, key, items, options) { | ||
@@ -20,0 +8,0 @@ parser.push('BF.INSERT'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INSERT.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/INSERT.ts"],"names":[],"mappings":";;AAGA,+FAAkG;AAUlG,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;;;;OAWG;IACH,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,KAA4B,EAC5B,OAAyB;QAEzB,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,QAAQ,KAAK,SAAS,EAAE,CAAC;YACpC,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;QACvD,CAAC;QAED,IAAI,OAAO,EAAE,KAAK,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;QACjD,CAAC;QAED,IAAI,OAAO,EAAE,SAAS,KAAK,SAAS,EAAE,CAAC;YACrC,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;QACzD,CAAC;QAED,IAAI,OAAO,EAAE,QAAQ,EAAE,CAAC;YACtB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC1B,CAAC;QAED,IAAI,OAAO,EAAE,UAAU,EAAE,CAAC;YACxB,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC5B,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACrB,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IACD,cAAc,EAAE,iDAA0B;CAChB,CAAC"} | ||
| {"version":3,"file":"INSERT.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/INSERT.ts"],"names":[],"mappings":";;AAGA,+FAAkG;AAUlG,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,KAA4B,EAC5B,OAAyB;QAEzB,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,QAAQ,KAAK,SAAS,EAAE,CAAC;YACpC,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;QACvD,CAAC;QAED,IAAI,OAAO,EAAE,KAAK,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;QACjD,CAAC;QAED,IAAI,OAAO,EAAE,SAAS,KAAK,SAAS,EAAE,CAAC;YACrC,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;QACzD,CAAC;QAED,IAAI,OAAO,EAAE,QAAQ,EAAE,CAAC;YACtB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC1B,CAAC;QAED,IAAI,OAAO,EAAE,UAAU,EAAE,CAAC;YACxB,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC5B,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACrB,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IACD,cAAc,EAAE,iDAA0B;CAChB,CAAC"} |
@@ -5,9 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Restores a Bloom Filter chunk previously saved using SCANDUMP | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter to restore | ||
| * @param iterator - Iterator value from the SCANDUMP command | ||
| * @param chunk - Data chunk from the SCANDUMP command | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, iterator: number, chunk: RedisArgument) => void; | ||
@@ -14,0 +7,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"LOADCHUNK.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/LOADCHUNK.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;;;IAI5F;;;;;;OAMG;gDACkB,aAAa,OAAO,aAAa,YAAY,MAAM,SAAS,aAAa;mCAKhD,kBAAkB,IAAI,CAAC;;AAdvE,wBAe6B"} | ||
| {"version":3,"file":"LOADCHUNK.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/LOADCHUNK.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;;;gDAIvE,aAAa,OAAO,aAAa,YAAY,MAAM,SAAS,aAAa;mCAKhD,kBAAkB,IAAI,CAAC;;AAPvE,wBAQ6B"} |
@@ -5,9 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Restores a Bloom Filter chunk previously saved using SCANDUMP | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter to restore | ||
| * @param iterator - Iterator value from the SCANDUMP command | ||
| * @param chunk - Data chunk from the SCANDUMP command | ||
| */ | ||
| parseCommand(parser, key, iterator, chunk) { | ||
@@ -14,0 +7,0 @@ parser.push('BF.LOADCHUNK'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"LOADCHUNK.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/LOADCHUNK.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;OAMG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,QAAgB,EAAE,KAAoB;QAC5F,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC5B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} | ||
| {"version":3,"file":"LOADCHUNK.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/LOADCHUNK.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,QAAgB,EAAE,KAAoB;QAC5F,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC5B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} |
@@ -6,8 +6,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Adds multiple items to a Bloom Filter in a single call | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, items: RedisVariadicArgument) => void; | ||
@@ -14,0 +8,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"MADD.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/MADD.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;;;IAK3F;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,SAAS,qBAAqB;;;;;;AARtF,wBAc6B"} | ||
| {"version":3,"file":"MADD.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/MADD.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;;;gDAKtE,aAAa,OAAO,aAAa,SAAS,qBAAqB;;;;;;AAFtF,wBAQ6B"} |
@@ -6,8 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Adds multiple items to a Bloom Filter in a single call | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| parseCommand(parser, key, items) { | ||
@@ -14,0 +8,0 @@ parser.push('BF.MADD'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"MADD.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/MADD.ts"],"names":[],"mappings":";;AAGA,+FAAkG;AAElG,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,KAA4B;QAClF,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACvB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IACD,cAAc,EAAE,iDAA0B;CAChB,CAAC"} | ||
| {"version":3,"file":"MADD.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/MADD.ts"],"names":[],"mappings":";;AAGA,+FAAkG;AAElG,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,KAA4B;QAClF,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACvB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IACD,cAAc,EAAE,iDAA0B;CAChB,CAAC"} |
@@ -6,8 +6,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Checks if multiple items exist in a Bloom Filter in a single call | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to check for existence | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, items: RedisVariadicArgument) => void; | ||
@@ -14,0 +8,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"MEXISTS.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/MEXISTS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;;;IAK3F;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,SAAS,qBAAqB;;;;;;AARtF,wBAc6B"} | ||
| {"version":3,"file":"MEXISTS.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/MEXISTS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;;;gDAKtE,aAAa,OAAO,aAAa,SAAS,qBAAqB;;;;;;AAFtF,wBAQ6B"} |
@@ -6,8 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Checks if multiple items exist in a Bloom Filter in a single call | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter | ||
| * @param items - One or more items to check for existence | ||
| */ | ||
| parseCommand(parser, key, items) { | ||
@@ -14,0 +8,0 @@ parser.push('BF.MEXISTS'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"MEXISTS.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/MEXISTS.ts"],"names":[],"mappings":";;AAGA,+FAAkG;AAElG,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;OAKG;IACH,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,iDAA0B;CAChB,CAAC"} | ||
| {"version":3,"file":"MEXISTS.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/MEXISTS.ts"],"names":[],"mappings":";;AAGA,+FAAkG;AAElG,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,iDAA0B;CAChB,CAAC"} |
@@ -9,12 +9,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Creates an empty Bloom Filter with a given desired error ratio and initial capacity | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter to create | ||
| * @param errorRate - The desired probability for false positives (between 0 and 1) | ||
| * @param capacity - The number of entries intended to be added to the filter | ||
| * @param options - Optional parameters to tune the filter | ||
| * @param options.EXPANSION - Expansion rate for the filter | ||
| * @param options.NONSCALING - Prevents the filter from creating additional sub-filters | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, errorRate: number, capacity: number, options?: BfReserveOptions) => void; | ||
@@ -21,0 +11,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"RESERVE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/RESERVE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;AAE9F,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;;;IAIC;;;;;;;;;OASG;gDAEO,aAAa,OAChB,aAAa,aACP,MAAM,YACP,MAAM,YACN,gBAAgB;mCAckB,kBAAkB,IAAI,CAAC;;AA/BvE,wBAgC6B"} | ||
| {"version":3,"file":"RESERVE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/RESERVE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;AAE9F,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;;;gDAKW,aAAa,OAChB,aAAa,aACP,MAAM,YACP,MAAM,YACN,gBAAgB;mCAckB,kBAAkB,IAAI,CAAC;;AArBvE,wBAsB6B"} |
@@ -5,12 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Creates an empty Bloom Filter with a given desired error ratio and initial capacity | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter to create | ||
| * @param errorRate - The desired probability for false positives (between 0 and 1) | ||
| * @param capacity - The number of entries intended to be added to the filter | ||
| * @param options - Optional parameters to tune the filter | ||
| * @param options.EXPANSION - Expansion rate for the filter | ||
| * @param options.NONSCALING - Prevents the filter from creating additional sub-filters | ||
| */ | ||
| parseCommand(parser, key, errorRate, capacity, options) { | ||
@@ -17,0 +7,0 @@ parser.push('BF.RESERVE'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"RESERVE.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/RESERVE.ts"],"names":[],"mappings":";;AAQA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;;;;;OASG;IACH,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,SAAiB,EACjB,QAAgB,EAChB,OAA0B;QAE1B,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEvD,IAAI,OAAO,EAAE,SAAS,EAAE,CAAC;YACrB,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC3D,CAAC;QAED,IAAI,OAAO,EAAE,UAAU,EAAE,CAAC;YACtB,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} | ||
| {"version":3,"file":"RESERVE.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/RESERVE.ts"],"names":[],"mappings":";;AAQA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,SAAiB,EACjB,QAAgB,EAChB,OAA0B;QAE1B,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEvD,IAAI,OAAO,EAAE,SAAS,EAAE,CAAC;YACrB,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC3D,CAAC;QAED,IAAI,OAAO,EAAE,UAAU,EAAE,CAAC;YACtB,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} |
@@ -5,8 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Begins an incremental save of a Bloom Filter. This is useful for large filters that can't be saved at once | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter to save | ||
| * @param iterator - Iterator value; Start at 0, and use the iterator from the response for the next chunk | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, iterator: number) => void; | ||
@@ -13,0 +7,0 @@ readonly transformReply: (this: void, reply: [NumberReply<number>, BlobStringReply<string>]) => { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"SCANDUMP.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/SCANDUMP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAe,WAAW,EAAE,eAAe,EAAwB,MAAM,mCAAmC,CAAC;;;IAIjI;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,YAAY,MAAM;;;;;;AAR1E,wBAmB6B"} | ||
| {"version":3,"file":"SCANDUMP.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bloom/SCANDUMP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAe,WAAW,EAAE,eAAe,EAAwB,MAAM,mCAAmC,CAAC;;;gDAI5G,aAAa,OAAO,aAAa,YAAY,MAAM;;;;;;AAF1E,wBAa6B"} |
@@ -5,8 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Begins an incremental save of a Bloom Filter. This is useful for large filters that can't be saved at once | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Bloom filter to save | ||
| * @param iterator - Iterator value; Start at 0, and use the iterator from the response for the next chunk | ||
| */ | ||
| parseCommand(parser, key, iterator) { | ||
@@ -13,0 +7,0 @@ parser.push('BF.SCANDUMP'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"SCANDUMP.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/SCANDUMP.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,QAAgB;QACtE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;IACnC,CAAC;IACD,cAAc,CAAC,KAA+D;QAC5E,OAAO;YACL,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;YAClB,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;SAChB,CAAC;IACJ,CAAC;CACyB,CAAC"} | ||
| {"version":3,"file":"SCANDUMP.js","sourceRoot":"","sources":["../../../../lib/commands/bloom/SCANDUMP.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,QAAgB;QACtE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;IACnC,CAAC;IACD,cAAc,CAAC,KAA+D;QAC5E,OAAO;YACL,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;YAClB,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;SAChB,CAAC;IACJ,CAAC;CACyB,CAAC"} |
@@ -9,8 +9,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Increases the count of one or more items in a Count-Min Sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the sketch | ||
| * @param items - A single item or array of items to increment, each with an item and increment value | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, items: BfIncrByItem | Array<BfIncrByItem>) => void; | ||
@@ -17,0 +11,0 @@ readonly transformReply: () => ArrayReply<NumberReply>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INCRBY.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INCRBY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;AAEpG,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;;;IAIC;;;;;OAKG;gDAEO,aAAa,OAChB,aAAa,SACX,YAAY,GAAG,MAAM,YAAY,CAAC;mCAaG,WAAW,WAAW,CAAC;;AAxBvE,wBAyB6B"} | ||
| {"version":3,"file":"INCRBY.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INCRBY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;AAEpG,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;;;gDAKW,aAAa,OAChB,aAAa,SACX,YAAY,GAAG,MAAM,YAAY,CAAC;mCAaG,WAAW,WAAW,CAAC;;AAlBvE,wBAmB6B"} |
@@ -5,8 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Increases the count of one or more items in a Count-Min Sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the sketch | ||
| * @param items - A single item or array of items to increment, each with an item and increment value | ||
| */ | ||
| parseCommand(parser, key, items) { | ||
@@ -13,0 +7,0 @@ parser.push('CMS.INCRBY'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INCRBY.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INCRBY.ts"],"names":[],"mappings":";;AAQA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;OAKG;IACH,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,KAAyC;QAEzC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,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,SAAqD;CAC3C,CAAC;AAE7B,SAAS,cAAc,CAAC,MAAqB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAgB;IAChF,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;AAC5C,CAAC"} | ||
| {"version":3,"file":"INCRBY.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INCRBY.ts"],"names":[],"mappings":";;AAQA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,KAAyC;QAEzC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,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,SAAqD;CAC3C,CAAC;AAE7B,SAAS,cAAc,CAAC,MAAqB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAgB;IAChF,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;AAC5C,CAAC"} |
| declare const _default: { | ||
| /** | ||
| * Increases the count of one or more items in a Count-Min Sketch | ||
| * @param key - The name of the sketch | ||
| * @param items - A single item or array of items to increment, each with an item and increment value | ||
| */ | ||
| readonly INCRBY: { | ||
@@ -7,2 +12,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Increases the count of one or more items in a Count-Min Sketch | ||
| * @param key - The name of the sketch | ||
| * @param items - A single item or array of items to increment, each with an item and increment value | ||
| */ | ||
| readonly incrBy: { | ||
@@ -13,2 +23,6 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Returns width, depth, and total count of items in a Count-Min Sketch | ||
| * @param key - The name of the sketch to get information about | ||
| */ | ||
| readonly INFO: { | ||
@@ -22,2 +36,6 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns width, depth, and total count of items in a Count-Min Sketch | ||
| * @param key - The name of the sketch to get information about | ||
| */ | ||
| readonly info: { | ||
@@ -31,2 +49,8 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Initialize a Count-Min Sketch using width and depth parameters | ||
| * @param key - The name of the sketch | ||
| * @param width - Number of counters in each array (must be a multiple of 2) | ||
| * @param depth - Number of counter arrays (determines accuracy of estimates) | ||
| */ | ||
| readonly INITBYDIM: { | ||
@@ -37,2 +61,8 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Initialize a Count-Min Sketch using width and depth parameters | ||
| * @param key - The name of the sketch | ||
| * @param width - Number of counters in each array (must be a multiple of 2) | ||
| * @param depth - Number of counter arrays (determines accuracy of estimates) | ||
| */ | ||
| readonly initByDim: { | ||
@@ -43,2 +73,8 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Initialize a Count-Min Sketch using error rate and probability parameters | ||
| * @param key - The name of the sketch | ||
| * @param error - Estimate error, as a decimal between 0 and 1 | ||
| * @param probability - The desired probability for inflated count, as a decimal between 0 and 1 | ||
| */ | ||
| readonly INITBYPROB: { | ||
@@ -49,2 +85,8 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Initialize a Count-Min Sketch using error rate and probability parameters | ||
| * @param key - The name of the sketch | ||
| * @param error - Estimate error, as a decimal between 0 and 1 | ||
| * @param probability - The desired probability for inflated count, as a decimal between 0 and 1 | ||
| */ | ||
| readonly initByProb: { | ||
@@ -55,2 +97,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Merges multiple Count-Min Sketches into a single sketch, with optional weights | ||
| * @param destination - The name of the destination sketch | ||
| * @param source - Array of sketch names or array of sketches with weights | ||
| */ | ||
| readonly MERGE: { | ||
@@ -61,2 +108,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Merges multiple Count-Min Sketches into a single sketch, with optional weights | ||
| * @param destination - The name of the destination sketch | ||
| * @param source - Array of sketch names or array of sketches with weights | ||
| */ | ||
| readonly merge: { | ||
@@ -67,2 +119,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Returns the count for one or more items in a Count-Min Sketch | ||
| * @param key - The name of the sketch | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| readonly QUERY: { | ||
@@ -73,2 +130,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns the count for one or more items in a Count-Min Sketch | ||
| * @param key - The name of the sketch | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| readonly query: { | ||
@@ -75,0 +137,0 @@ readonly IS_READ_ONLY: true; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAamC"} | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/index.ts"],"names":[],"mappings":";IASE;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;;;OAKG;;;;;;IAEH;;;;;OAKG;;;;;;IAEH;;;;;OAKG;;;;;;IAEH;;;;;OAKG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;;AAzEL,wBA2EmC"} |
@@ -13,15 +13,77 @@ "use strict"; | ||
| exports.default = { | ||
| /** | ||
| * Increases the count of one or more items in a Count-Min Sketch | ||
| * @param key - The name of the sketch | ||
| * @param items - A single item or array of items to increment, each with an item and increment value | ||
| */ | ||
| INCRBY: INCRBY_1.default, | ||
| /** | ||
| * Increases the count of one or more items in a Count-Min Sketch | ||
| * @param key - The name of the sketch | ||
| * @param items - A single item or array of items to increment, each with an item and increment value | ||
| */ | ||
| incrBy: INCRBY_1.default, | ||
| /** | ||
| * Returns width, depth, and total count of items in a Count-Min Sketch | ||
| * @param key - The name of the sketch to get information about | ||
| */ | ||
| INFO: INFO_1.default, | ||
| /** | ||
| * Returns width, depth, and total count of items in a Count-Min Sketch | ||
| * @param key - The name of the sketch to get information about | ||
| */ | ||
| info: INFO_1.default, | ||
| /** | ||
| * Initialize a Count-Min Sketch using width and depth parameters | ||
| * @param key - The name of the sketch | ||
| * @param width - Number of counters in each array (must be a multiple of 2) | ||
| * @param depth - Number of counter arrays (determines accuracy of estimates) | ||
| */ | ||
| INITBYDIM: INITBYDIM_1.default, | ||
| /** | ||
| * Initialize a Count-Min Sketch using width and depth parameters | ||
| * @param key - The name of the sketch | ||
| * @param width - Number of counters in each array (must be a multiple of 2) | ||
| * @param depth - Number of counter arrays (determines accuracy of estimates) | ||
| */ | ||
| initByDim: INITBYDIM_1.default, | ||
| /** | ||
| * Initialize a Count-Min Sketch using error rate and probability parameters | ||
| * @param key - The name of the sketch | ||
| * @param error - Estimate error, as a decimal between 0 and 1 | ||
| * @param probability - The desired probability for inflated count, as a decimal between 0 and 1 | ||
| */ | ||
| INITBYPROB: INITBYPROB_1.default, | ||
| /** | ||
| * Initialize a Count-Min Sketch using error rate and probability parameters | ||
| * @param key - The name of the sketch | ||
| * @param error - Estimate error, as a decimal between 0 and 1 | ||
| * @param probability - The desired probability for inflated count, as a decimal between 0 and 1 | ||
| */ | ||
| initByProb: INITBYPROB_1.default, | ||
| /** | ||
| * Merges multiple Count-Min Sketches into a single sketch, with optional weights | ||
| * @param destination - The name of the destination sketch | ||
| * @param source - Array of sketch names or array of sketches with weights | ||
| */ | ||
| MERGE: MERGE_1.default, | ||
| /** | ||
| * Merges multiple Count-Min Sketches into a single sketch, with optional weights | ||
| * @param destination - The name of the destination sketch | ||
| * @param source - Array of sketch names or array of sketches with weights | ||
| */ | ||
| merge: MERGE_1.default, | ||
| /** | ||
| * Returns the count for one or more items in a Count-Min Sketch | ||
| * @param key - The name of the sketch | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| QUERY: QUERY_1.default, | ||
| /** | ||
| * Returns the count for one or more items in a Count-Min Sketch | ||
| * @param key - The name of the sketch | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| query: QUERY_1.default | ||
| }; | ||
| //# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/index.ts"],"names":[],"mappings":";;;;;AACA,sDAA8B;AAC9B,kDAA0B;AAC1B,4DAAoC;AACpC,8DAAsC;AACtC,oDAA4B;AAC5B,oDAA4B;AAE5B,kBAAe;IACb,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAE,cAAI;IACV,SAAS,EAAT,mBAAS;IACT,SAAS,EAAE,mBAAS;IACpB,UAAU,EAAV,oBAAU;IACV,UAAU,EAAE,oBAAU;IACtB,KAAK,EAAL,eAAK;IACL,KAAK,EAAE,eAAK;IACZ,KAAK,EAAL,eAAK;IACL,KAAK,EAAE,eAAK;CACoB,CAAC"} | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/index.ts"],"names":[],"mappings":";;;;;AACA,sDAA8B;AAC9B,kDAA0B;AAC1B,4DAAoC;AACpC,8DAAsC;AACtC,oDAA4B;AAC5B,oDAA4B;AAE5B,kBAAe;IACb;;;;OAIG;IACH,MAAM,EAAN,gBAAM;IACN;;;;OAIG;IACH,MAAM,EAAE,gBAAM;IACd;;;OAGG;IACH,IAAI,EAAJ,cAAI;IACJ;;;OAGG;IACH,IAAI,EAAE,cAAI;IACV;;;;;OAKG;IACH,SAAS,EAAT,mBAAS;IACT;;;;;OAKG;IACH,SAAS,EAAE,mBAAS;IACpB;;;;;OAKG;IACH,UAAU,EAAV,oBAAU;IACV;;;;;OAKG;IACH,UAAU,EAAE,oBAAU;IACtB;;;;OAIG;IACH,KAAK,EAAL,eAAK;IACL;;;;OAIG;IACH,KAAK,EAAE,eAAK;IACZ;;;;OAIG;IACH,KAAK,EAAL,eAAK;IACL;;;;OAIG;IACH,KAAK,EAAE,eAAK;CACoB,CAAC"} |
@@ -24,7 +24,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns width, depth, and total count of items in a Count-Min Sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the sketch to get information about | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument) => void; | ||
@@ -31,0 +26,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INFO.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INFO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAoC,iBAAiB,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAGnK,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC;IAC7C;QAAC,iBAAiB,CAAC,OAAO,CAAC;QAAE,WAAW;KAAC;IACzC;QAAC,iBAAiB,CAAC,OAAO,CAAC;QAAE,WAAW;KAAC;IACzC;QAAC,iBAAiB,CAAC,OAAO,CAAC;QAAE,WAAW;KAAC;CAC1C,CAAC,CAAC;AAEH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,WAAW,CAAC;CACpB;;;IAIC;;;;OAIG;gDACkB,aAAa,OAAO,aAAa;;mNAKkB,WAAW,KAAG,YAAY;0BAG/D,YAAY;;;AAfjD,wBAiB6B"} | ||
| {"version":3,"file":"INFO.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INFO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAoC,iBAAiB,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAGnK,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC;IAC7C;QAAC,iBAAiB,CAAC,OAAO,CAAC;QAAE,WAAW;KAAC;IACzC;QAAC,iBAAiB,CAAC,OAAO,CAAC;QAAE,WAAW;KAAC;IACzC;QAAC,iBAAiB,CAAC,OAAO,CAAC;QAAE,WAAW;KAAC;CAC1C,CAAC,CAAC;AAEH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,WAAW,CAAC;CACpB;;;gDAIsB,aAAa,OAAO,aAAa;;mNAKkB,WAAW,KAAG,YAAY;0BAG/D,YAAY;;;AAVjD,wBAY6B"} |
@@ -6,7 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns width, depth, and total count of items in a Count-Min Sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the sketch to get information about | ||
| */ | ||
| parseCommand(parser, key) { | ||
@@ -13,0 +8,0 @@ parser.push('CMS.INFO'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INFO.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INFO.ts"],"names":[],"mappings":";;AAEA,oCAAgD;AAchD,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;OAIG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,CAAC,KAA+C,EAAE,CAAC,EAAE,WAAyB,EAAgB,EAAE;YACjG,OAAO,IAAA,4BAAoB,EAAe,KAAK,EAAE,WAAW,CAAC,CAAC;QAChE,CAAC;QACD,CAAC,EAAE,SAA0C;KAC9C;CACyB,CAAC"} | ||
| {"version":3,"file":"INFO.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INFO.ts"],"names":[],"mappings":";;AAEA,oCAAgD;AAchD,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,CAAC,KAA+C,EAAE,CAAC,EAAE,WAAyB,EAAgB,EAAE;YACjG,OAAO,IAAA,4BAAoB,EAAe,KAAK,EAAE,WAAW,CAAC,CAAC;QAChE,CAAC;QACD,CAAC,EAAE,SAA0C;KAC9C;CACyB,CAAC"} |
@@ -5,9 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Initialize a Count-Min Sketch using width and depth parameters | ||
| * @param parser - The command parser | ||
| * @param key - The name of the sketch | ||
| * @param width - Number of counters in each array (must be a multiple of 2) | ||
| * @param depth - Number of counter arrays (determines accuracy of estimates) | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, width: number, depth: number) => void; | ||
@@ -14,0 +7,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INITBYDIM.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INITBYDIM.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;;;IAI5F;;;;;;OAMG;gDACkB,aAAa,OAAO,aAAa,SAAS,MAAM,SAAS,MAAM;mCAKtC,kBAAkB,IAAI,CAAC;;AAdvE,wBAe6B"} | ||
| {"version":3,"file":"INITBYDIM.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INITBYDIM.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;;;gDAIvE,aAAa,OAAO,aAAa,SAAS,MAAM,SAAS,MAAM;mCAKtC,kBAAkB,IAAI,CAAC;;AAPvE,wBAQ6B"} |
@@ -5,9 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Initialize a Count-Min Sketch using width and depth parameters | ||
| * @param parser - The command parser | ||
| * @param key - The name of the sketch | ||
| * @param width - Number of counters in each array (must be a multiple of 2) | ||
| * @param depth - Number of counter arrays (determines accuracy of estimates) | ||
| */ | ||
| parseCommand(parser, key, width, depth) { | ||
@@ -14,0 +7,0 @@ parser.push('CMS.INITBYDIM'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INITBYDIM.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INITBYDIM.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;OAMG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,KAAa,EAAE,KAAa;QAClF,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC7B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAClD,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} | ||
| {"version":3,"file":"INITBYDIM.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INITBYDIM.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,KAAa,EAAE,KAAa;QAClF,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC7B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAClD,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} |
@@ -5,9 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Initialize a Count-Min Sketch using error rate and probability parameters | ||
| * @param parser - The command parser | ||
| * @param key - The name of the sketch | ||
| * @param error - Estimate error, as a decimal between 0 and 1 | ||
| * @param probability - The desired probability for inflated count, as a decimal between 0 and 1 | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, error: number, probability: number) => void; | ||
@@ -14,0 +7,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INITBYPROB.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INITBYPROB.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;;;IAI5F;;;;;;OAMG;gDACkB,aAAa,OAAO,aAAa,SAAS,MAAM,eAAe,MAAM;mCAK5C,kBAAkB,IAAI,CAAC;;AAdvE,wBAe6B"} | ||
| {"version":3,"file":"INITBYPROB.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INITBYPROB.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;;;gDAIvE,aAAa,OAAO,aAAa,SAAS,MAAM,eAAe,MAAM;mCAK5C,kBAAkB,IAAI,CAAC;;AAPvE,wBAQ6B"} |
@@ -5,9 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Initialize a Count-Min Sketch using error rate and probability parameters | ||
| * @param parser - The command parser | ||
| * @param key - The name of the sketch | ||
| * @param error - Estimate error, as a decimal between 0 and 1 | ||
| * @param probability - The desired probability for inflated count, as a decimal between 0 and 1 | ||
| */ | ||
| parseCommand(parser, key, error, probability) { | ||
@@ -14,0 +7,0 @@ parser.push('CMS.INITBYPROB'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INITBYPROB.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INITBYPROB.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;OAMG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,KAAa,EAAE,WAAmB;QACxF,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;IACxD,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} | ||
| {"version":3,"file":"INITBYPROB.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/INITBYPROB.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,KAAa,EAAE,WAAmB;QACxF,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;IACxD,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} |
@@ -10,8 +10,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Merges multiple Count-Min Sketches into a single sketch, with optional weights | ||
| * @param parser - The command parser | ||
| * @param destination - The name of the destination sketch | ||
| * @param source - Array of sketch names or array of sketches with weights | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, destination: RedisArgument, source: BfMergeSketches) => void; | ||
@@ -18,0 +12,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"MERGE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/MERGE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;AAE9F,UAAU,aAAa;IACrB,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;;;IAIxE;;;;;OAKG;gDAEO,aAAa,eACR,aAAa,UAClB,eAAe;mCAkBqB,kBAAkB,IAAI,CAAC;;AA7BvE,wBA8B6B"} | ||
| {"version":3,"file":"MERGE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/MERGE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;AAE9F,UAAU,aAAa;IACrB,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;;;gDAK9D,aAAa,eACR,aAAa,UAClB,eAAe;mCAkBqB,kBAAkB,IAAI,CAAC;;AAvBvE,wBAwB6B"} |
@@ -5,8 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Merges multiple Count-Min Sketches into a single sketch, with optional weights | ||
| * @param parser - The command parser | ||
| * @param destination - The name of the destination sketch | ||
| * @param source - Array of sketch names or array of sketches with weights | ||
| */ | ||
| parseCommand(parser, destination, source) { | ||
@@ -13,0 +7,0 @@ parser.push('CMS.MERGE'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"MERGE.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/MERGE.ts"],"names":[],"mappings":";;AAUA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;OAKG;IACH,YAAY,CACV,MAAqB,EACrB,WAA0B,EAC1B,MAAuB;QAEvB,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QAC5B,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEtC,IAAI,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC;YAC5B,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;QAC9B,CAAC;aAAM,CAAC;YACN,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACvC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;YAC9B,CAAC;YACD,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACvB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACvC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAA;YAC1C,CAAC;QACH,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC;AAE7B,SAAS,eAAe,CAAC,GAAoB;IAC3C,OAAO,OAAO,GAAG,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,GAAG,CAAC,CAAC,CAAC,YAAY,MAAM,CAAC;AAChE,CAAC"} | ||
| {"version":3,"file":"MERGE.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/MERGE.ts"],"names":[],"mappings":";;AAUA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CACV,MAAqB,EACrB,WAA0B,EAC1B,MAAuB;QAEvB,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QAC5B,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEtC,IAAI,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC;YAC5B,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;QAC9B,CAAC;aAAM,CAAC;YACN,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACvC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;YAC9B,CAAC;YACD,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACvB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACvC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAA;YAC1C,CAAC;QACH,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC;AAE7B,SAAS,eAAe,CAAC,GAAoB;IAC3C,OAAO,OAAO,GAAG,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,GAAG,CAAC,CAAC,CAAC,YAAY,MAAM,CAAC;AAChE,CAAC"} |
@@ -6,8 +6,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns the count for one or more items in a Count-Min Sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the sketch | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, items: RedisVariadicArgument) => void; | ||
@@ -14,0 +8,0 @@ readonly transformReply: () => ArrayReply<NumberReply>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"QUERY.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/QUERY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;;;IAI3F;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,SAAS,qBAAqB;mCAKtC,WAAW,WAAW,CAAC;;AAbvE,wBAc6B"} | ||
| {"version":3,"file":"QUERY.d.ts","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/QUERY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;;;gDAItE,aAAa,OAAO,aAAa,SAAS,qBAAqB;mCAKtC,WAAW,WAAW,CAAC;;AAPvE,wBAQ6B"} |
@@ -5,8 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns the count for one or more items in a Count-Min Sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the sketch | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| parseCommand(parser, key, items) { | ||
@@ -13,0 +7,0 @@ parser.push('CMS.QUERY'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"QUERY.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/QUERY.ts"],"names":[],"mappings":";;AAIA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,KAA4B;QAClF,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} | ||
| {"version":3,"file":"QUERY.js","sourceRoot":"","sources":["../../../../lib/commands/count-min-sketch/QUERY.ts"],"names":[],"mappings":";;AAIA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,KAA4B;QAClF,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} |
@@ -5,8 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Adds an item to a Cuckoo Filter, creating the filter if it does not exist | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, item: RedisArgument) => void; | ||
@@ -13,0 +7,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"ADD.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/ADD.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;IAKzE;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,QAAQ,aAAa;;;;;;AAR7E,wBAc6B"} | ||
| {"version":3,"file":"ADD.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/ADD.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;gDAKpD,aAAa,OAAO,aAAa,QAAQ,aAAa;;;;;;AAF7E,wBAQ6B"} |
@@ -6,8 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Adds an item to a Cuckoo Filter, creating the filter if it does not exist | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| parseCommand(parser, key, item) { | ||
@@ -14,0 +8,0 @@ parser.push('CF.ADD'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"ADD.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/ADD.ts"],"names":[],"mappings":";;AAEA,+FAA6F;AAE7F,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,4CAAqB;CACX,CAAC"} | ||
| {"version":3,"file":"ADD.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/ADD.ts"],"names":[],"mappings":";;AAEA,+FAA6F;AAE7F,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,4CAAqB;CACX,CAAC"} |
@@ -5,8 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Adds an item to a Cuckoo Filter only if it does not exist | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter if it doesn't exist | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, item: RedisArgument) => void; | ||
@@ -13,0 +7,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"ADDNX.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/ADDNX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;IAKzE;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,QAAQ,aAAa;;;;;;AAR7E,wBAc6B"} | ||
| {"version":3,"file":"ADDNX.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/ADDNX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;gDAKpD,aAAa,OAAO,aAAa,QAAQ,aAAa;;;;;;AAF7E,wBAQ6B"} |
@@ -6,8 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Adds an item to a Cuckoo Filter only if it does not exist | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter if it doesn't exist | ||
| */ | ||
| parseCommand(parser, key, item) { | ||
@@ -14,0 +8,0 @@ parser.push('CF.ADDNX'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"ADDNX.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/ADDNX.ts"],"names":[],"mappings":";;AAEA,+FAA6F;AAE7F,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,4CAAqB;CACX,CAAC"} | ||
| {"version":3,"file":"ADDNX.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/ADDNX.ts"],"names":[],"mappings":";;AAEA,+FAA6F;AAE7F,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,4CAAqB;CACX,CAAC"} |
@@ -5,8 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns the number of times an item appears in a Cuckoo Filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to count occurrences of | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, item: RedisArgument) => void; | ||
@@ -13,0 +7,0 @@ readonly transformReply: () => NumberReply; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"COUNT.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/COUNT.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;;;IAItF;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,QAAQ,aAAa;mCAK7B,WAAW;;AAb3D,wBAc6B"} | ||
| {"version":3,"file":"COUNT.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/COUNT.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;;;gDAIjE,aAAa,OAAO,aAAa,QAAQ,aAAa;mCAK7B,WAAW;;AAP3D,wBAQ6B"} |
@@ -5,8 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns the number of times an item appears in a Cuckoo Filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to count occurrences of | ||
| */ | ||
| parseCommand(parser, key, item) { | ||
@@ -13,0 +7,0 @@ parser.push('CF.COUNT'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"COUNT.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/COUNT.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,SAAyC;CAC/B,CAAC"} | ||
| {"version":3,"file":"COUNT.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/COUNT.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,SAAyC;CAC/B,CAAC"} |
@@ -5,8 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Removes an item from a Cuckoo Filter if it exists | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to remove from the filter | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, item: RedisArgument) => void; | ||
@@ -13,0 +7,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"DEL.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/DEL.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;IAKzE;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,QAAQ,aAAa;;;;;;AAR7E,wBAc6B"} | ||
| {"version":3,"file":"DEL.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/DEL.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;gDAKpD,aAAa,OAAO,aAAa,QAAQ,aAAa;;;;;;AAF7E,wBAQ6B"} |
@@ -6,8 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Removes an item from a Cuckoo Filter if it exists | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to remove from the filter | ||
| */ | ||
| parseCommand(parser, key, item) { | ||
@@ -14,0 +8,0 @@ parser.push('CF.DEL'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"DEL.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/DEL.ts"],"names":[],"mappings":";;AAEA,+FAA6F;AAE7F,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,4CAAqB;CACX,CAAC"} | ||
| {"version":3,"file":"DEL.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/DEL.ts"],"names":[],"mappings":";;AAEA,+FAA6F;AAE7F,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,4CAAqB;CACX,CAAC"} |
@@ -5,8 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Checks if an item exists in a Cuckoo Filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to check for existence | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, item: RedisArgument) => void; | ||
@@ -13,0 +7,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"EXISTS.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/EXISTS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;IAKzE;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,QAAQ,aAAa;;;;;;AAR7E,wBAc6B"} | ||
| {"version":3,"file":"EXISTS.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/EXISTS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;gDAKpD,aAAa,OAAO,aAAa,QAAQ,aAAa;;;;;;AAF7E,wBAQ6B"} |
@@ -6,8 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Checks if an item exists in a Cuckoo Filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to check for existence | ||
| */ | ||
| parseCommand(parser, key, item) { | ||
@@ -14,0 +8,0 @@ parser.push('CF.EXISTS'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"EXISTS.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/EXISTS.ts"],"names":[],"mappings":";;AAEA,+FAA6F;AAE7F,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,4CAAqB;CACX,CAAC"} | ||
| {"version":3,"file":"EXISTS.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/EXISTS.ts"],"names":[],"mappings":";;AAEA,+FAA6F;AAE7F,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAmB;QACzE,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,cAAc,EAAE,4CAAqB;CACX,CAAC"} |
| declare const _default: { | ||
| /** | ||
| * Adds an item to a Cuckoo Filter, creating the filter if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| readonly ADD: { | ||
@@ -10,2 +15,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Adds an item to a Cuckoo Filter, creating the filter if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| readonly add: { | ||
@@ -19,2 +29,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Adds an item to a Cuckoo Filter only if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter if it doesn't exist | ||
| */ | ||
| readonly ADDNX: { | ||
@@ -28,2 +43,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Adds an item to a Cuckoo Filter only if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter if it doesn't exist | ||
| */ | ||
| readonly addNX: { | ||
@@ -37,2 +57,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Returns the number of times an item appears in a Cuckoo Filter | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to count occurrences of | ||
| */ | ||
| readonly COUNT: { | ||
@@ -43,2 +68,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns the number of times an item appears in a Cuckoo Filter | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to count occurrences of | ||
| */ | ||
| readonly count: { | ||
@@ -49,2 +79,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Removes an item from a Cuckoo Filter if it exists | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to remove from the filter | ||
| */ | ||
| readonly DEL: { | ||
@@ -58,2 +93,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Removes an item from a Cuckoo Filter if it exists | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to remove from the filter | ||
| */ | ||
| readonly del: { | ||
@@ -67,2 +107,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Checks if an item exists in a Cuckoo Filter | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to check for existence | ||
| */ | ||
| readonly EXISTS: { | ||
@@ -76,2 +121,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Checks if an item exists in a Cuckoo Filter | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to check for existence | ||
| */ | ||
| readonly exists: { | ||
@@ -85,2 +135,6 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Returns detailed information about a Cuckoo Filter including size, buckets, filters count, items statistics and configuration | ||
| * @param key - The name of the Cuckoo filter to get information about | ||
| */ | ||
| readonly INFO: { | ||
@@ -94,2 +148,6 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns detailed information about a Cuckoo Filter including size, buckets, filters count, items statistics and configuration | ||
| * @param key - The name of the Cuckoo filter to get information about | ||
| */ | ||
| readonly info: { | ||
@@ -103,2 +161,10 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Adds one or more items to a Cuckoo Filter, creating it if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - The number of entries intended to be added to the filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| */ | ||
| readonly INSERT: { | ||
@@ -112,2 +178,10 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Adds one or more items to a Cuckoo Filter, creating it if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - The number of entries intended to be added to the filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| */ | ||
| readonly insert: { | ||
@@ -121,18 +195,34 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Adds one or more items to a Cuckoo Filter only if they do not exist yet, creating the filter if needed | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - The number of entries intended to be added to the filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| */ | ||
| readonly INSERTNX: { | ||
| readonly IS_READ_ONLY: false; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, items: import("@redis/client/dist/lib/commands/generic-transformers").RedisVariadicArgument, options?: import("./INSERT").CfInsertOptions | undefined) => void; | ||
| readonly transformReply: { | ||
| 2: (reply: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<0 | 1>>) => boolean[]; | ||
| 3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BooleanReply<boolean>>; | ||
| }; | ||
| readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<0 | 1 | -1>>; | ||
| }; | ||
| /** | ||
| * Adds one or more items to a Cuckoo Filter only if they do not exist yet, creating the filter if needed | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - The number of entries intended to be added to the filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| */ | ||
| readonly insertNX: { | ||
| readonly IS_READ_ONLY: false; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, items: import("@redis/client/dist/lib/commands/generic-transformers").RedisVariadicArgument, options?: import("./INSERT").CfInsertOptions | undefined) => void; | ||
| readonly transformReply: { | ||
| 2: (reply: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<0 | 1>>) => boolean[]; | ||
| 3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BooleanReply<boolean>>; | ||
| }; | ||
| readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<0 | 1 | -1>>; | ||
| }; | ||
| /** | ||
| * Restores a Cuckoo Filter chunk previously saved using SCANDUMP | ||
| * @param key - The name of the Cuckoo filter to restore | ||
| * @param iterator - Iterator value from the SCANDUMP command | ||
| * @param chunk - Data chunk from the SCANDUMP command | ||
| */ | ||
| readonly LOADCHUNK: { | ||
@@ -143,2 +233,8 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Restores a Cuckoo Filter chunk previously saved using SCANDUMP | ||
| * @param key - The name of the Cuckoo filter to restore | ||
| * @param iterator - Iterator value from the SCANDUMP command | ||
| * @param chunk - Data chunk from the SCANDUMP command | ||
| */ | ||
| readonly loadChunk: { | ||
@@ -149,2 +245,11 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Creates an empty Cuckoo Filter with specified capacity and parameters | ||
| * @param key - The name of the Cuckoo filter to create | ||
| * @param capacity - The number of entries intended to be added to the filter | ||
| * @param options - Optional parameters to tune the filter | ||
| * @param options.BUCKETSIZE - Number of items in each bucket | ||
| * @param options.MAXITERATIONS - Maximum number of iterations before declaring filter full | ||
| * @param options.EXPANSION - Number of additional buckets per expansion | ||
| */ | ||
| readonly RESERVE: { | ||
@@ -155,2 +260,11 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Creates an empty Cuckoo Filter with specified capacity and parameters | ||
| * @param key - The name of the Cuckoo filter to create | ||
| * @param capacity - The number of entries intended to be added to the filter | ||
| * @param options - Optional parameters to tune the filter | ||
| * @param options.BUCKETSIZE - Number of items in each bucket | ||
| * @param options.MAXITERATIONS - Maximum number of iterations before declaring filter full | ||
| * @param options.EXPANSION - Number of additional buckets per expansion | ||
| */ | ||
| readonly reserve: { | ||
@@ -161,5 +275,14 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Begins an incremental save of a Cuckoo Filter. This is useful for large filters that can't be saved at once | ||
| * @param key - The name of the Cuckoo filter to save | ||
| * @param iterator - Iterator value; Start at 0, and use the iterator from the response for the next chunk | ||
| */ | ||
| readonly SCANDUMP: { | ||
| readonly IS_READ_ONLY: true; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, iterator: number) => void; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, iterator: number) => void; /** | ||
| * Adds an item to a Cuckoo Filter, creating the filter if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| readonly transformReply: (this: void, reply: [import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").NullReply | import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>]) => { | ||
@@ -170,5 +293,14 @@ iterator: import("@redis/client/dist/lib/RESP/types").NumberReply<number>; | ||
| }; | ||
| /** | ||
| * Begins an incremental save of a Cuckoo Filter. This is useful for large filters that can't be saved at once | ||
| * @param key - The name of the Cuckoo filter to save | ||
| * @param iterator - Iterator value; Start at 0, and use the iterator from the response for the next chunk | ||
| */ | ||
| readonly scanDump: { | ||
| readonly IS_READ_ONLY: true; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, iterator: number) => void; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, iterator: number) => void; /** | ||
| * Adds an item to a Cuckoo Filter, creating the filter if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| readonly transformReply: (this: void, reply: [import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").NullReply | import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>]) => { | ||
@@ -175,0 +307,0 @@ iterator: import("@redis/client/dist/lib/RESP/types").NumberReply<number>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBAuBmC"} | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/index.ts"],"names":[],"mappings":";IAcE;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;OAKG;;;;;;IAEH;;;;;OAKG;;;;;;IAEH;;;;;;;;OAQG;;;;;;IAEH;;;;;;;;OAQG;;;;;;IAEH;;;;OAIG;;;sLAhJH;;;;WAIG;;;;;;IA8IH;;;;OAIG;;;sLAtJH;;;;WAIG;;;;;;;AALL,wBAyJmC"} |
@@ -18,25 +18,155 @@ "use strict"; | ||
| exports.default = { | ||
| /** | ||
| * Adds an item to a Cuckoo Filter, creating the filter if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| ADD: ADD_1.default, | ||
| /** | ||
| * Adds an item to a Cuckoo Filter, creating the filter if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter | ||
| */ | ||
| add: ADD_1.default, | ||
| /** | ||
| * Adds an item to a Cuckoo Filter only if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter if it doesn't exist | ||
| */ | ||
| ADDNX: ADDNX_1.default, | ||
| /** | ||
| * Adds an item to a Cuckoo Filter only if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to add to the filter if it doesn't exist | ||
| */ | ||
| addNX: ADDNX_1.default, | ||
| /** | ||
| * Returns the number of times an item appears in a Cuckoo Filter | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to count occurrences of | ||
| */ | ||
| COUNT: COUNT_1.default, | ||
| /** | ||
| * Returns the number of times an item appears in a Cuckoo Filter | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to count occurrences of | ||
| */ | ||
| count: COUNT_1.default, | ||
| /** | ||
| * Removes an item from a Cuckoo Filter if it exists | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to remove from the filter | ||
| */ | ||
| DEL: DEL_1.default, | ||
| /** | ||
| * Removes an item from a Cuckoo Filter if it exists | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to remove from the filter | ||
| */ | ||
| del: DEL_1.default, | ||
| /** | ||
| * Checks if an item exists in a Cuckoo Filter | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to check for existence | ||
| */ | ||
| EXISTS: EXISTS_1.default, | ||
| /** | ||
| * Checks if an item exists in a Cuckoo Filter | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param item - The item to check for existence | ||
| */ | ||
| exists: EXISTS_1.default, | ||
| /** | ||
| * Returns detailed information about a Cuckoo Filter including size, buckets, filters count, items statistics and configuration | ||
| * @param key - The name of the Cuckoo filter to get information about | ||
| */ | ||
| INFO: INFO_1.default, | ||
| /** | ||
| * Returns detailed information about a Cuckoo Filter including size, buckets, filters count, items statistics and configuration | ||
| * @param key - The name of the Cuckoo filter to get information about | ||
| */ | ||
| info: INFO_1.default, | ||
| /** | ||
| * Adds one or more items to a Cuckoo Filter, creating it if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - The number of entries intended to be added to the filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| */ | ||
| INSERT: INSERT_1.default, | ||
| /** | ||
| * Adds one or more items to a Cuckoo Filter, creating it if it does not exist | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - The number of entries intended to be added to the filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| */ | ||
| insert: INSERT_1.default, | ||
| /** | ||
| * Adds one or more items to a Cuckoo Filter only if they do not exist yet, creating the filter if needed | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - The number of entries intended to be added to the filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| */ | ||
| INSERTNX: INSERTNX_1.default, | ||
| /** | ||
| * Adds one or more items to a Cuckoo Filter only if they do not exist yet, creating the filter if needed | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - The number of entries intended to be added to the filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| */ | ||
| insertNX: INSERTNX_1.default, | ||
| /** | ||
| * Restores a Cuckoo Filter chunk previously saved using SCANDUMP | ||
| * @param key - The name of the Cuckoo filter to restore | ||
| * @param iterator - Iterator value from the SCANDUMP command | ||
| * @param chunk - Data chunk from the SCANDUMP command | ||
| */ | ||
| LOADCHUNK: LOADCHUNK_1.default, | ||
| /** | ||
| * Restores a Cuckoo Filter chunk previously saved using SCANDUMP | ||
| * @param key - The name of the Cuckoo filter to restore | ||
| * @param iterator - Iterator value from the SCANDUMP command | ||
| * @param chunk - Data chunk from the SCANDUMP command | ||
| */ | ||
| loadChunk: LOADCHUNK_1.default, | ||
| /** | ||
| * Creates an empty Cuckoo Filter with specified capacity and parameters | ||
| * @param key - The name of the Cuckoo filter to create | ||
| * @param capacity - The number of entries intended to be added to the filter | ||
| * @param options - Optional parameters to tune the filter | ||
| * @param options.BUCKETSIZE - Number of items in each bucket | ||
| * @param options.MAXITERATIONS - Maximum number of iterations before declaring filter full | ||
| * @param options.EXPANSION - Number of additional buckets per expansion | ||
| */ | ||
| RESERVE: RESERVE_1.default, | ||
| /** | ||
| * Creates an empty Cuckoo Filter with specified capacity and parameters | ||
| * @param key - The name of the Cuckoo filter to create | ||
| * @param capacity - The number of entries intended to be added to the filter | ||
| * @param options - Optional parameters to tune the filter | ||
| * @param options.BUCKETSIZE - Number of items in each bucket | ||
| * @param options.MAXITERATIONS - Maximum number of iterations before declaring filter full | ||
| * @param options.EXPANSION - Number of additional buckets per expansion | ||
| */ | ||
| reserve: RESERVE_1.default, | ||
| /** | ||
| * Begins an incremental save of a Cuckoo Filter. This is useful for large filters that can't be saved at once | ||
| * @param key - The name of the Cuckoo filter to save | ||
| * @param iterator - Iterator value; Start at 0, and use the iterator from the response for the next chunk | ||
| */ | ||
| SCANDUMP: SCANDUMP_1.default, | ||
| /** | ||
| * Begins an incremental save of a Cuckoo Filter. This is useful for large filters that can't be saved at once | ||
| * @param key - The name of the Cuckoo filter to save | ||
| * @param iterator - Iterator value; Start at 0, and use the iterator from the response for the next chunk | ||
| */ | ||
| scanDump: SCANDUMP_1.default | ||
| }; | ||
| //# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/index.ts"],"names":[],"mappings":";;;;;AACA,gDAAwB;AACxB,oDAA4B;AAC5B,oDAA4B;AAC5B,gDAAwB;AACxB,sDAA8B;AAC9B,kDAA0B;AAC1B,sDAA8B;AAC9B,0DAAkC;AAClC,4DAAoC;AACpC,wDAAgC;AAChC,0DAAkC;AAElC,kBAAe;IACb,GAAG,EAAH,aAAG;IACH,GAAG,EAAE,aAAG;IACR,KAAK,EAAL,eAAK;IACL,KAAK,EAAE,eAAK;IACZ,KAAK,EAAL,eAAK;IACL,KAAK,EAAE,eAAK;IACZ,GAAG,EAAH,aAAG;IACH,GAAG,EAAE,aAAG;IACR,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAE,cAAI;IACV,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,QAAQ,EAAR,kBAAQ;IACR,QAAQ,EAAE,kBAAQ;IAClB,SAAS,EAAT,mBAAS;IACT,SAAS,EAAE,mBAAS;IACpB,OAAO,EAAP,iBAAO;IACP,OAAO,EAAE,iBAAO;IAChB,QAAQ,EAAR,kBAAQ;IACR,QAAQ,EAAE,kBAAQ;CACc,CAAC"} | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/index.ts"],"names":[],"mappings":";;;;;AACA,gDAAwB;AACxB,oDAA4B;AAC5B,oDAA4B;AAC5B,gDAAwB;AACxB,sDAA8B;AAC9B,kDAA0B;AAC1B,sDAA8B;AAC9B,0DAAkC;AAClC,4DAAoC;AACpC,wDAAgC;AAChC,0DAAkC;AAElC,kBAAe;IACb;;;;OAIG;IACH,GAAG,EAAH,aAAG;IACH;;;;OAIG;IACH,GAAG,EAAE,aAAG;IACR;;;;OAIG;IACH,KAAK,EAAL,eAAK;IACL;;;;OAIG;IACH,KAAK,EAAE,eAAK;IACZ;;;;OAIG;IACH,KAAK,EAAL,eAAK;IACL;;;;OAIG;IACH,KAAK,EAAE,eAAK;IACZ;;;;OAIG;IACH,GAAG,EAAH,aAAG;IACH;;;;OAIG;IACH,GAAG,EAAE,aAAG;IACR;;;;OAIG;IACH,MAAM,EAAN,gBAAM;IACN;;;;OAIG;IACH,MAAM,EAAE,gBAAM;IACd;;;OAGG;IACH,IAAI,EAAJ,cAAI;IACJ;;;OAGG;IACH,IAAI,EAAE,cAAI;IACV;;;;;;;OAOG;IACH,MAAM,EAAN,gBAAM;IACN;;;;;;;OAOG;IACH,MAAM,EAAE,gBAAM;IACd;;;;;;;OAOG;IACH,QAAQ,EAAR,kBAAQ;IACR;;;;;;;OAOG;IACH,QAAQ,EAAE,kBAAQ;IAClB;;;;;OAKG;IACH,SAAS,EAAT,mBAAS;IACT;;;;;OAKG;IACH,SAAS,EAAE,mBAAS;IACpB;;;;;;;;OAQG;IACH,OAAO,EAAP,iBAAO;IACP;;;;;;;;OAQG;IACH,OAAO,EAAE,iBAAO;IAChB;;;;OAIG;IACH,QAAQ,EAAR,kBAAQ;IACR;;;;OAIG;IACH,QAAQ,EAAE,kBAAQ;CACc,CAAC"} |
@@ -39,7 +39,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns detailed information about a Cuckoo Filter including size, buckets, filters count, items statistics and configuration | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter to get information about | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument) => void; | ||
@@ -46,0 +41,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INFO.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/INFO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,WAAW,EAAE,gBAAgB,EAA2B,iBAAiB,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAGnK,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC;IAC5C;QAAC,iBAAiB,CAAC,MAAM,CAAC;QAAE,WAAW;KAAC;IACxC;QAAC,iBAAiB,CAAC,mBAAmB,CAAC;QAAE,WAAW;KAAC;IACrD;QAAC,iBAAiB,CAAC,mBAAmB,CAAC;QAAE,WAAW;KAAC;IACrD;QAAC,iBAAiB,CAAC,0BAA0B,CAAC;QAAE,WAAW;KAAC;IAC5D;QAAC,iBAAiB,CAAC,yBAAyB,CAAC;QAAE,WAAW;KAAC;IAC3D;QAAC,iBAAiB,CAAC,aAAa,CAAC;QAAE,WAAW;KAAC;IAC/C;QAAC,iBAAiB,CAAC,gBAAgB,CAAC;QAAE,WAAW;KAAC;IAClD;QAAC,iBAAiB,CAAC,gBAAgB,CAAC;QAAE,WAAW;KAAC;CACnD,CAAC,CAAC;;;IAID;;;;OAIG;gDACkB,aAAa,OAAO,aAAa;;4hBAKiB,WAAW;;;;AAZpF,wBAiB6B"} | ||
| {"version":3,"file":"INFO.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/INFO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,WAAW,EAAE,gBAAgB,EAA2B,iBAAiB,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAGnK,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC;IAC5C;QAAC,iBAAiB,CAAC,MAAM,CAAC;QAAE,WAAW;KAAC;IACxC;QAAC,iBAAiB,CAAC,mBAAmB,CAAC;QAAE,WAAW;KAAC;IACrD;QAAC,iBAAiB,CAAC,mBAAmB,CAAC;QAAE,WAAW;KAAC;IACrD;QAAC,iBAAiB,CAAC,0BAA0B,CAAC;QAAE,WAAW;KAAC;IAC5D;QAAC,iBAAiB,CAAC,yBAAyB,CAAC;QAAE,WAAW;KAAC;IAC3D;QAAC,iBAAiB,CAAC,aAAa,CAAC;QAAE,WAAW;KAAC;IAC/C;QAAC,iBAAiB,CAAC,gBAAgB,CAAC;QAAE,WAAW;KAAC;IAClD;QAAC,iBAAiB,CAAC,gBAAgB,CAAC;QAAE,WAAW;KAAC;CACnD,CAAC,CAAC;;;gDAIoB,aAAa,OAAO,aAAa;;4hBAKiB,WAAW;;;;AAPpF,wBAY6B"} |
@@ -6,7 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns detailed information about a Cuckoo Filter including size, buckets, filters count, items statistics and configuration | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter to get information about | ||
| */ | ||
| parseCommand(parser, key) { | ||
@@ -13,0 +8,0 @@ parser.push('CF.INFO'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INFO.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/INFO.ts"],"names":[],"mappings":";;AAEA,oCAAgD;AAahD,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;OAIG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACvB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,CAAC,KAA8C,EAAE,CAAC,EAAE,WAAyB,EAAkB,EAAE;YAClG,OAAO,IAAA,4BAAoB,EAAiB,KAAK,EAAE,WAAW,CAAC,CAAC;QAClE,CAAC;QACD,CAAC,EAAE,SAA4C;KAChD;CACyB,CAAC"} | ||
| {"version":3,"file":"INFO.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/INFO.ts"],"names":[],"mappings":";;AAEA,oCAAgD;AAahD,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACvB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,CAAC,KAA8C,EAAE,CAAC,EAAE,WAAyB,EAAkB,EAAE;YAClG,OAAO,IAAA,4BAAoB,EAAiB,KAAK,EAAE,WAAW,CAAC,CAAC;QAClE,CAAC;QACD,CAAC,EAAE,SAA4C;KAChD;CACyB,CAAC"} |
@@ -11,11 +11,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Adds one or more items to a Cuckoo Filter, creating it if it does not exist | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - The number of entries intended to be added to the filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, items: RedisVariadicArgument, options?: CfInsertOptions | undefined) => void; | ||
@@ -22,0 +13,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INSERT.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/INSERT.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAA8B,MAAM,sDAAsD,CAAC;AAEzH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,aAAa,EACrB,GAAG,EAAE,aAAa,EAClB,KAAK,EAAE,qBAAqB,EAC5B,OAAO,CAAC,EAAE,eAAe,QAc1B;;;IAIC;;;;;;;;OAQG;;;;;;;AAVL,wBAgB6B"} | ||
| {"version":3,"file":"INSERT.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/INSERT.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAA8B,MAAM,sDAAsD,CAAC;AAEzH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,aAAa,EACrB,GAAG,EAAE,aAAa,EAClB,KAAK,EAAE,qBAAqB,EAC5B,OAAO,CAAC,EAAE,eAAe,QAc1B;;;;;;;;;AAED,wBAO6B"} |
@@ -19,11 +19,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Adds one or more items to a Cuckoo Filter, creating it if it does not exist | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter | ||
| * @param items - One or more items to add to the filter | ||
| * @param options - Optional parameters for filter creation | ||
| * @param options.CAPACITY - The number of entries intended to be added to the filter | ||
| * @param options.NOCREATE - If true, prevents automatic filter creation | ||
| */ | ||
| parseCommand(...args) { | ||
@@ -30,0 +21,0 @@ args[0].push('CF.INSERT'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INSERT.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/INSERT.ts"],"names":[],"mappings":";;;AAEA,+FAAyH;AAOzH,SAAgB,sBAAsB,CACpC,MAAqB,EACrB,GAAkB,EAClB,KAA4B,EAC5B,OAAyB;IAEzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEpB,IAAI,OAAO,EAAE,QAAQ,KAAK,SAAS,EAAE,CAAC;QACpC,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;IACvD,CAAC;IAED,IAAI,OAAO,EAAE,QAAQ,EAAE,CAAC;QACtB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC1B,CAAC;IAED,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrB,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;AAC7B,CAAC;AAlBD,wDAkBC;AAED,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;OAQG;IACH,YAAY,CAAC,GAAG,IAA+C;QAC7D,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC1B,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC;IAClC,CAAC;IACD,cAAc,EAAE,iDAA0B;CAChB,CAAC"} | ||
| {"version":3,"file":"INSERT.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/INSERT.ts"],"names":[],"mappings":";;;AAEA,+FAAyH;AAOzH,SAAgB,sBAAsB,CACpC,MAAqB,EACrB,GAAkB,EAClB,KAA4B,EAC5B,OAAyB;IAEzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEpB,IAAI,OAAO,EAAE,QAAQ,KAAK,SAAS,EAAE,CAAC;QACpC,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;IACvD,CAAC;IAED,IAAI,OAAO,EAAE,QAAQ,EAAE,CAAC;QACtB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC1B,CAAC;IAED,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrB,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;AAC7B,CAAC;AAlBD,wDAkBC;AAED,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,GAAG,IAA+C;QAC7D,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC1B,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC;IAClC,CAAC;IACD,cAAc,EAAE,iDAA0B;CAChB,CAAC"} |
@@ -0,1 +1,2 @@ | ||
| import { ArrayReply, NumberReply } from '@redis/client/dist/lib/RESP/types'; | ||
| /** | ||
@@ -13,8 +14,5 @@ * Adds one or more items to a Cuckoo Filter only if they do not exist yet, creating the filter if needed | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument, items: import("@redis/client/dist/lib/commands/generic-transformers").RedisVariadicArgument, options?: import("./INSERT").CfInsertOptions | undefined) => void; | ||
| readonly transformReply: { | ||
| 2: (reply: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<0 | 1>>) => boolean[]; | ||
| 3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BooleanReply<boolean>>; | ||
| }; | ||
| readonly transformReply: () => ArrayReply<NumberReply<-1 | 0 | 1>>; | ||
| }; | ||
| export default _default; | ||
| //# sourceMappingURL=INSERTNX.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INSERTNX.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/INSERTNX.ts"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;;;;;;;;;AACH,wBAO6B"} | ||
| {"version":3,"file":"INSERTNX.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/INSERTNX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAW,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAGrF;;;;;;;;GAQG;;;;mCAO6C,WAAW,YAAY,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;;AANnF,wBAO6B"} |
@@ -42,4 +42,4 @@ "use strict"; | ||
| }, | ||
| transformReply: INSERT_1.default.transformReply | ||
| transformReply: undefined | ||
| }; | ||
| //# sourceMappingURL=INSERTNX.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INSERTNX.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/INSERTNX.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,mDAA0D;AAE1D;;;;;;;;GAQG;AACH,kBAAe;IACb,YAAY,EAAE,gBAAM,CAAC,YAAY;IACjC,YAAY,CAAC,GAAG,IAA+C;QAC7D,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC5B,IAAA,+BAAsB,EAAC,GAAG,IAAI,CAAC,CAAC;IAClC,CAAC;IACD,cAAc,EAAE,gBAAM,CAAC,cAAc;CACX,CAAC"} | ||
| {"version":3,"file":"INSERTNX.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/INSERTNX.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,mDAA0D;AAE1D;;;;;;;;GAQG;AACH,kBAAe;IACb,YAAY,EAAE,gBAAM,CAAC,YAAY;IACjC,YAAY,CAAC,GAAG,IAA+C;QAC7D,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC5B,IAAA,+BAAsB,EAAC,GAAG,IAAI,CAAC,CAAC;IAClC,CAAC;IACD,cAAc,EAAE,SAAiE;CACvD,CAAC"} |
@@ -5,9 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Restores a Cuckoo Filter chunk previously saved using SCANDUMP | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter to restore | ||
| * @param iterator - Iterator value from the SCANDUMP command | ||
| * @param chunk - Data chunk from the SCANDUMP command | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, iterator: number, chunk: RedisArgument) => void; | ||
@@ -14,0 +7,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"LOADCHUNK.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/LOADCHUNK.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;;;IAI5F;;;;;;OAMG;gDACkB,aAAa,OAAO,aAAa,YAAY,MAAM,SAAS,aAAa;mCAKhD,kBAAkB,IAAI,CAAC;;AAdvE,wBAe6B"} | ||
| {"version":3,"file":"LOADCHUNK.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/LOADCHUNK.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;;;gDAIvE,aAAa,OAAO,aAAa,YAAY,MAAM,SAAS,aAAa;mCAKhD,kBAAkB,IAAI,CAAC;;AAPvE,wBAQ6B"} |
@@ -5,9 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Restores a Cuckoo Filter chunk previously saved using SCANDUMP | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter to restore | ||
| * @param iterator - Iterator value from the SCANDUMP command | ||
| * @param chunk - Data chunk from the SCANDUMP command | ||
| */ | ||
| parseCommand(parser, key, iterator, chunk) { | ||
@@ -14,0 +7,0 @@ parser.push('CF.LOADCHUNK'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"LOADCHUNK.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/LOADCHUNK.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;OAMG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,QAAgB,EAAE,KAAoB;QAC5F,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC5B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} | ||
| {"version":3,"file":"LOADCHUNK.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/LOADCHUNK.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,QAAgB,EAAE,KAAoB;QAC5F,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC5B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} |
@@ -10,12 +10,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Creates an empty Cuckoo Filter with specified capacity and parameters | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter to create | ||
| * @param capacity - The number of entries intended to be added to the filter | ||
| * @param options - Optional parameters to tune the filter | ||
| * @param options.BUCKETSIZE - Number of items in each bucket | ||
| * @param options.MAXITERATIONS - Maximum number of iterations before declaring filter full | ||
| * @param options.EXPANSION - Number of additional buckets per expansion | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, capacity: number, options?: CfReserveOptions) => void; | ||
@@ -22,0 +12,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"RESERVE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/RESERVE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;AAE9F,MAAM,WAAW,gBAAgB;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;;IAIC;;;;;;;;;OASG;gDAEO,aAAa,OAChB,aAAa,YACR,MAAM,YACN,gBAAgB;mCAkBkB,kBAAkB,IAAI,CAAC;;AAlCvE,wBAmC6B"} | ||
| {"version":3,"file":"RESERVE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/RESERVE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;AAE9F,MAAM,WAAW,gBAAgB;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;;gDAKW,aAAa,OAChB,aAAa,YACR,MAAM,YACN,gBAAgB;mCAkBkB,kBAAkB,IAAI,CAAC;;AAxBvE,wBAyB6B"} |
@@ -5,12 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Creates an empty Cuckoo Filter with specified capacity and parameters | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter to create | ||
| * @param capacity - The number of entries intended to be added to the filter | ||
| * @param options - Optional parameters to tune the filter | ||
| * @param options.BUCKETSIZE - Number of items in each bucket | ||
| * @param options.MAXITERATIONS - Maximum number of iterations before declaring filter full | ||
| * @param options.EXPANSION - Number of additional buckets per expansion | ||
| */ | ||
| parseCommand(parser, key, capacity, options) { | ||
@@ -17,0 +7,0 @@ parser.push('CF.RESERVE'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"RESERVE.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/RESERVE.ts"],"names":[],"mappings":";;AASA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;;OASG;IACH,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,QAAgB,EAChB,OAA0B;QAE1B,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEjC,IAAI,OAAO,EAAE,UAAU,KAAK,SAAS,EAAE,CAAC;YACtC,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC3D,CAAC;QAED,IAAI,OAAO,EAAE,aAAa,KAAK,SAAS,EAAE,CAAC;YACzC,MAAM,CAAC,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC,CAAC;QACjE,CAAC;QAED,IAAI,OAAO,EAAE,SAAS,KAAK,SAAS,EAAE,CAAC;YACrC,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;QACzD,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} | ||
| {"version":3,"file":"RESERVE.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/RESERVE.ts"],"names":[],"mappings":";;AASA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CACV,MAAqB,EACrB,GAAkB,EAClB,QAAgB,EAChB,OAA0B;QAE1B,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEjC,IAAI,OAAO,EAAE,UAAU,KAAK,SAAS,EAAE,CAAC;YACtC,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC3D,CAAC;QAED,IAAI,OAAO,EAAE,aAAa,KAAK,SAAS,EAAE,CAAC;YACzC,MAAM,CAAC,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC,CAAC;QACjE,CAAC;QAED,IAAI,OAAO,EAAE,SAAS,KAAK,SAAS,EAAE,CAAC;YACrC,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;QACzD,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} |
@@ -5,8 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Begins an incremental save of a Cuckoo Filter. This is useful for large filters that can't be saved at once | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter to save | ||
| * @param iterator - Iterator value; Start at 0, and use the iterator from the response for the next chunk | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, iterator: number) => void; | ||
@@ -13,0 +7,0 @@ readonly transformReply: (this: void, reply: [NumberReply<number>, NullReply | BlobStringReply<string>]) => { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"SCANDUMP.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/SCANDUMP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAe,WAAW,EAAE,eAAe,EAAE,SAAS,EAAwB,MAAM,mCAAmC,CAAC;;;IAI5I;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,YAAY,MAAM;;;;;;AAR1E,wBAmB6B"} | ||
| {"version":3,"file":"SCANDUMP.d.ts","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/SCANDUMP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAe,WAAW,EAAE,eAAe,EAAE,SAAS,EAAwB,MAAM,mCAAmC,CAAC;;;gDAIvH,aAAa,OAAO,aAAa,YAAY,MAAM;;;;;;AAF1E,wBAa6B"} |
@@ -5,8 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Begins an incremental save of a Cuckoo Filter. This is useful for large filters that can't be saved at once | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Cuckoo filter to save | ||
| * @param iterator - Iterator value; Start at 0, and use the iterator from the response for the next chunk | ||
| */ | ||
| parseCommand(parser, key, iterator) { | ||
@@ -13,0 +7,0 @@ parser.push('CF.SCANDUMP'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"SCANDUMP.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/SCANDUMP.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,QAAgB;QACtE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;IACnC,CAAC;IACD,cAAc,CAAC,KAA2E;QACxF,OAAO;YACL,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;YAClB,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;SAChB,CAAC;IACJ,CAAC;CACyB,CAAC"} | ||
| {"version":3,"file":"SCANDUMP.js","sourceRoot":"","sources":["../../../../lib/commands/cuckoo/SCANDUMP.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,QAAgB;QACtE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;IACnC,CAAC;IACD,cAAc,CAAC,KAA2E;QACxF,OAAO;YACL,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;YAClB,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;SAChB,CAAC;IACJ,CAAC;CACyB,CAAC"} |
@@ -324,6 +324,3 @@ declare const _default: { | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, items: import("@redis/client/dist/lib/commands/generic-transformers").RedisVariadicArgument, options?: import("./cuckoo/INSERT").CfInsertOptions | undefined) => void; | ||
| readonly transformReply: { | ||
| 2: (reply: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<0 | 1>>) => boolean[]; | ||
| 3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BooleanReply<boolean>>; | ||
| }; | ||
| readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<0 | 1 | -1>>; | ||
| }; | ||
@@ -333,6 +330,3 @@ readonly insertNX: { | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client").RedisArgument, items: import("@redis/client/dist/lib/commands/generic-transformers").RedisVariadicArgument, options?: import("./cuckoo/INSERT").CfInsertOptions | undefined) => void; | ||
| readonly transformReply: { | ||
| 2: (reply: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<0 | 1>>) => boolean[]; | ||
| 3: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BooleanReply<boolean>>; | ||
| }; | ||
| readonly transformReply: () => import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").NumberReply<0 | 1 | -1>>; | ||
| }; | ||
@@ -601,3 +595,3 @@ readonly LOADCHUNK: { | ||
| readonly transformReply: { | ||
| readonly 2: (reply: [import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"k">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"width">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"depth">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"decay">, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>], preserve?: any, typeMapping?: import("@redis/client").TypeMapping | undefined) => import("./top-k/INFO").TopKInfoReplyMap; | ||
| readonly 2: (reply: [import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"k">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"width">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"depth">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"decay">, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>], preserve?: unknown, typeMapping?: import("@redis/client").TypeMapping | undefined) => import("./top-k/INFO").TopKInfoReplyMap; | ||
| readonly 3: () => import("./top-k/INFO").TopKInfoReplyMap; | ||
@@ -610,3 +604,3 @@ }; | ||
| readonly transformReply: { | ||
| readonly 2: (reply: [import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"k">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"width">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"depth">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"decay">, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>], preserve?: any, typeMapping?: import("@redis/client").TypeMapping | undefined) => import("./top-k/INFO").TopKInfoReplyMap; | ||
| readonly 2: (reply: [import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"k">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"width">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"depth">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"decay">, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>], preserve?: unknown, typeMapping?: import("@redis/client").TypeMapping | undefined) => import("./top-k/INFO").TopKInfoReplyMap; | ||
| readonly 3: () => import("./top-k/INFO").TopKInfoReplyMap; | ||
@@ -613,0 +607,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAMkC"} | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAMkC"} |
@@ -5,8 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Adds one or more observations to a t-digest sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of numeric values to add to the sketch | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, values: Array<number>) => void; | ||
@@ -13,0 +7,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"ADD.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/ADD.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;;;IAI5F;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,UAAU,MAAM,MAAM,CAAC;mCAQ/B,kBAAkB,IAAI,CAAC;;AAhBvE,wBAiB6B"} | ||
| {"version":3,"file":"ADD.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/ADD.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;;;gDAIvE,aAAa,OAAO,aAAa,UAAU,MAAM,MAAM,CAAC;mCAQ/B,kBAAkB,IAAI,CAAC;;AAVvE,wBAW6B"} |
@@ -5,8 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Adds one or more observations to a t-digest sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of numeric values to add to the sketch | ||
| */ | ||
| parseCommand(parser, key, values) { | ||
@@ -13,0 +7,0 @@ parser.push('TDIGEST.ADD'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"ADD.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/ADD.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,MAAqB;QAC3E,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YAC3B,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;QAChC,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} | ||
| {"version":3,"file":"ADD.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/ADD.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,MAAqB;QAC3E,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YAC3B,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;QAChC,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} |
@@ -6,8 +6,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns value estimates for one or more ranks in a t-digest sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param ranks - Array of ranks to get value estimates for (ascending order) | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, ranks: number[]) => void; | ||
@@ -14,0 +8,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"BYRANK.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/BYRANK.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;AAG3E,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,aAAa,EACrB,GAAG,EAAE,aAAa,EAClB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,QAOrB;;;IAIC;;;;;OAKG;;;;;;;AAPL,wBAa6B"} | ||
| {"version":3,"file":"BYRANK.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/BYRANK.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;AAG3E,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,aAAa,EACrB,GAAG,EAAE,aAAa,EAClB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,QAOrB;;;;;;;;;AAED,wBAO6B"} |
@@ -14,8 +14,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns value estimates for one or more ranks in a t-digest sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param ranks - Array of ranks to get value estimates for (ascending order) | ||
| */ | ||
| parseCommand(...args) { | ||
@@ -22,0 +16,0 @@ args[0].push('TDIGEST.BYRANK'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"BYRANK.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/BYRANK.ts"],"names":[],"mappings":";;;AAEA,+FAAiG;AAEjG,SAAgB,wBAAwB,CACtC,MAAqB,EACrB,GAAkB,EAClB,KAAoB;IAEpB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEpB,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC/B,CAAC;AACH,CAAC;AAVD,4DAUC;AAED,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;OAKG;IACH,YAAY,CAAC,GAAG,IAAiD;QAC/D,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC/B,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC;IACpC,CAAC;IACD,cAAc,EAAE,gDAAyB;CACf,CAAC"} | ||
| {"version":3,"file":"BYRANK.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/BYRANK.ts"],"names":[],"mappings":";;;AAEA,+FAAiG;AAEjG,SAAgB,wBAAwB,CACtC,MAAqB,EACrB,GAAkB,EAClB,KAAoB;IAEpB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEpB,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC/B,CAAC;AACH,CAAC;AAVD,4DAUC;AAED,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,GAAG,IAAiD;QAC/D,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC/B,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC;IACpC,CAAC;IACD,cAAc,EAAE,gDAAyB;CACf,CAAC"} |
@@ -5,8 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Estimates the cumulative distribution function for values in a t-digest sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get CDF estimates for | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, values: Array<number>) => void; | ||
@@ -13,0 +7,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"CDF.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/CDF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;IAKzE;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,UAAU,MAAM,MAAM,CAAC;;;;;;AAR/E,wBAiB6B"} | ||
| {"version":3,"file":"CDF.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/CDF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;gDAKpD,aAAa,OAAO,aAAa,UAAU,MAAM,MAAM,CAAC;;;;;;AAF/E,wBAW6B"} |
@@ -6,8 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Estimates the cumulative distribution function for values in a t-digest sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get CDF estimates for | ||
| */ | ||
| parseCommand(parser, key, values) { | ||
@@ -14,0 +8,0 @@ parser.push('TDIGEST.CDF'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"CDF.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/CDF.ts"],"names":[],"mappings":";;AAEA,+FAAiG;AAEjG,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,MAAqB;QAC3E,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE,CAAC;YAC1B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,gDAAyB;CACf,CAAC"} | ||
| {"version":3,"file":"CDF.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/CDF.ts"],"names":[],"mappings":";;AAEA,+FAAiG;AAEjG,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,MAAqB;QAC3E,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE,CAAC;YAC1B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,gDAAyB;CACf,CAAC"} |
@@ -8,9 +8,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Creates a new t-digest sketch for storing distributions | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param options - Optional parameters for sketch creation | ||
| * @param options.COMPRESSION - Compression parameter that affects performance and accuracy | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, options?: TDigestCreateOptions) => void; | ||
@@ -17,0 +10,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"CREATE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/CREATE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;AAE9F,MAAM,WAAW,oBAAoB;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;;;IAIC;;;;;;OAMG;gDACkB,aAAa,OAAO,aAAa,YAAY,oBAAoB;mCAQxC,kBAAkB,IAAI,CAAC;;AAjBvE,wBAkB6B"} | ||
| {"version":3,"file":"CREATE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/CREATE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;AAE9F,MAAM,WAAW,oBAAoB;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;;;gDAIsB,aAAa,OAAO,aAAa,YAAY,oBAAoB;mCAQxC,kBAAkB,IAAI,CAAC;;AAVvE,wBAW6B"} |
@@ -5,9 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Creates a new t-digest sketch for storing distributions | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param options - Optional parameters for sketch creation | ||
| * @param options.COMPRESSION - Compression parameter that affects performance and accuracy | ||
| */ | ||
| parseCommand(parser, key, options) { | ||
@@ -14,0 +7,0 @@ parser.push('TDIGEST.CREATE'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"CREATE.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/CREATE.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;OAMG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA8B;QACpF,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,WAAW,KAAK,SAAS,EAAE,CAAC;YACvC,MAAM,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC7D,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} | ||
| {"version":3,"file":"CREATE.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/CREATE.ts"],"names":[],"mappings":";;AAOA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,OAA8B;QACpF,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,IAAI,OAAO,EAAE,WAAW,KAAK,SAAS,EAAE,CAAC;YACvC,MAAM,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC7D,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} |
| declare const _default: { | ||
| /** | ||
| * Adds one or more observations to a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of numeric values to add to the sketch | ||
| */ | ||
| readonly ADD: { | ||
@@ -7,2 +12,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Adds one or more observations to a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of numeric values to add to the sketch | ||
| */ | ||
| readonly add: { | ||
@@ -13,2 +23,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Returns value estimates for one or more ranks in a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param ranks - Array of ranks to get value estimates for (ascending order) | ||
| */ | ||
| readonly BYRANK: { | ||
@@ -22,2 +37,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns value estimates for one or more ranks in a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param ranks - Array of ranks to get value estimates for (ascending order) | ||
| */ | ||
| readonly byRank: { | ||
@@ -31,2 +51,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns value estimates for one or more ranks in a t-digest sketch, starting from highest rank | ||
| * @param key - The name of the t-digest sketch | ||
| * @param ranks - Array of ranks to get value estimates for (descending order) | ||
| */ | ||
| readonly BYREVRANK: { | ||
@@ -40,2 +65,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns value estimates for one or more ranks in a t-digest sketch, starting from highest rank | ||
| * @param key - The name of the t-digest sketch | ||
| * @param ranks - Array of ranks to get value estimates for (descending order) | ||
| */ | ||
| readonly byRevRank: { | ||
@@ -49,2 +79,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Estimates the cumulative distribution function for values in a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get CDF estimates for | ||
| */ | ||
| readonly CDF: { | ||
@@ -58,2 +93,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Estimates the cumulative distribution function for values in a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get CDF estimates for | ||
| */ | ||
| readonly cdf: { | ||
@@ -67,2 +107,8 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Creates a new t-digest sketch for storing distributions | ||
| * @param key - The name of the t-digest sketch | ||
| * @param options - Optional parameters for sketch creation | ||
| * @param options.COMPRESSION - Compression parameter that affects performance and accuracy | ||
| */ | ||
| readonly CREATE: { | ||
@@ -73,2 +119,8 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Creates a new t-digest sketch for storing distributions | ||
| * @param key - The name of the t-digest sketch | ||
| * @param options - Optional parameters for sketch creation | ||
| * @param options.COMPRESSION - Compression parameter that affects performance and accuracy | ||
| */ | ||
| readonly create: { | ||
@@ -79,2 +131,6 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Returns information about a t-digest sketch including compression, capacity, nodes, weights, observations and memory usage | ||
| * @param key - The name of the t-digest sketch to get information about | ||
| */ | ||
| readonly INFO: { | ||
@@ -88,2 +144,6 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns information about a t-digest sketch including compression, capacity, nodes, weights, observations and memory usage | ||
| * @param key - The name of the t-digest sketch to get information about | ||
| */ | ||
| readonly info: { | ||
@@ -97,2 +157,6 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns the maximum value from a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| */ | ||
| readonly MAX: { | ||
@@ -106,2 +170,6 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns the maximum value from a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| */ | ||
| readonly max: { | ||
@@ -115,2 +183,10 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Merges multiple t-digest sketches into one, with optional compression and override settings | ||
| * @param destination - The name of the destination t-digest sketch | ||
| * @param source - One or more source sketch names to merge from | ||
| * @param options - Optional parameters for merge operation | ||
| * @param options.COMPRESSION - New compression value for merged sketch | ||
| * @param options.OVERRIDE - If true, override destination sketch if it exists | ||
| */ | ||
| readonly MERGE: { | ||
@@ -121,2 +197,10 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Merges multiple t-digest sketches into one, with optional compression and override settings | ||
| * @param destination - The name of the destination t-digest sketch | ||
| * @param source - One or more source sketch names to merge from | ||
| * @param options - Optional parameters for merge operation | ||
| * @param options.COMPRESSION - New compression value for merged sketch | ||
| * @param options.OVERRIDE - If true, override destination sketch if it exists | ||
| */ | ||
| readonly merge: { | ||
@@ -127,2 +211,6 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Returns the minimum value from a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| */ | ||
| readonly MIN: { | ||
@@ -136,2 +224,6 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns the minimum value from a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| */ | ||
| readonly min: { | ||
@@ -145,2 +237,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns value estimates at requested quantiles from a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param quantiles - Array of quantiles (between 0 and 1) to get value estimates for | ||
| */ | ||
| readonly QUANTILE: { | ||
@@ -154,2 +251,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns value estimates at requested quantiles from a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param quantiles - Array of quantiles (between 0 and 1) to get value estimates for | ||
| */ | ||
| readonly quantile: { | ||
@@ -163,2 +265,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns the rank of one or more values in a t-digest sketch (number of values that are lower than each value) | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get ranks for | ||
| */ | ||
| readonly RANK: { | ||
@@ -169,2 +276,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns the rank of one or more values in a t-digest sketch (number of values that are lower than each value) | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get ranks for | ||
| */ | ||
| readonly rank: { | ||
@@ -175,2 +287,6 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Resets a t-digest sketch, clearing all previously added observations | ||
| * @param key - The name of the t-digest sketch to reset | ||
| */ | ||
| readonly RESET: { | ||
@@ -181,2 +297,6 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Resets a t-digest sketch, clearing all previously added observations | ||
| * @param key - The name of the t-digest sketch to reset | ||
| */ | ||
| readonly reset: { | ||
@@ -187,2 +307,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Returns the reverse rank of one or more values in a t-digest sketch (number of values that are higher than each value) | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get reverse ranks for | ||
| */ | ||
| readonly REVRANK: { | ||
@@ -193,2 +318,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns the reverse rank of one or more values in a t-digest sketch (number of values that are higher than each value) | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get reverse ranks for | ||
| */ | ||
| readonly revRank: { | ||
@@ -199,2 +329,8 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns the mean value from a t-digest sketch after trimming values at specified percentiles | ||
| * @param key - The name of the t-digest sketch | ||
| * @param lowCutPercentile - Lower percentile cutoff (between 0 and 100) | ||
| * @param highCutPercentile - Higher percentile cutoff (between 0 and 100) | ||
| */ | ||
| readonly TRIMMED_MEAN: { | ||
@@ -208,2 +344,8 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns the mean value from a t-digest sketch after trimming values at specified percentiles | ||
| * @param key - The name of the t-digest sketch | ||
| * @param lowCutPercentile - Lower percentile cutoff (between 0 and 100) | ||
| * @param highCutPercentile - Higher percentile cutoff (between 0 and 100) | ||
| */ | ||
| readonly trimmedMean: { | ||
@@ -210,0 +352,0 @@ readonly IS_READ_ONLY: true; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,wBA6BmC"} | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/index.ts"],"names":[],"mappings":";IAiBE;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;;OAKG;;;;;;IAEH;;;;;OAKG;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;OAGG;;;;;;IAEH;;;OAGG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;;;OAKG;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;AAzKL,wBA2KmC"} |
@@ -21,31 +21,173 @@ "use strict"; | ||
| exports.default = { | ||
| /** | ||
| * Adds one or more observations to a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of numeric values to add to the sketch | ||
| */ | ||
| ADD: ADD_1.default, | ||
| /** | ||
| * Adds one or more observations to a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of numeric values to add to the sketch | ||
| */ | ||
| add: ADD_1.default, | ||
| /** | ||
| * Returns value estimates for one or more ranks in a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param ranks - Array of ranks to get value estimates for (ascending order) | ||
| */ | ||
| BYRANK: BYRANK_1.default, | ||
| /** | ||
| * Returns value estimates for one or more ranks in a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param ranks - Array of ranks to get value estimates for (ascending order) | ||
| */ | ||
| byRank: BYRANK_1.default, | ||
| /** | ||
| * Returns value estimates for one or more ranks in a t-digest sketch, starting from highest rank | ||
| * @param key - The name of the t-digest sketch | ||
| * @param ranks - Array of ranks to get value estimates for (descending order) | ||
| */ | ||
| BYREVRANK: BYREVRANK_1.default, | ||
| /** | ||
| * Returns value estimates for one or more ranks in a t-digest sketch, starting from highest rank | ||
| * @param key - The name of the t-digest sketch | ||
| * @param ranks - Array of ranks to get value estimates for (descending order) | ||
| */ | ||
| byRevRank: BYREVRANK_1.default, | ||
| /** | ||
| * Estimates the cumulative distribution function for values in a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get CDF estimates for | ||
| */ | ||
| CDF: CDF_1.default, | ||
| /** | ||
| * Estimates the cumulative distribution function for values in a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get CDF estimates for | ||
| */ | ||
| cdf: CDF_1.default, | ||
| /** | ||
| * Creates a new t-digest sketch for storing distributions | ||
| * @param key - The name of the t-digest sketch | ||
| * @param options - Optional parameters for sketch creation | ||
| * @param options.COMPRESSION - Compression parameter that affects performance and accuracy | ||
| */ | ||
| CREATE: CREATE_1.default, | ||
| /** | ||
| * Creates a new t-digest sketch for storing distributions | ||
| * @param key - The name of the t-digest sketch | ||
| * @param options - Optional parameters for sketch creation | ||
| * @param options.COMPRESSION - Compression parameter that affects performance and accuracy | ||
| */ | ||
| create: CREATE_1.default, | ||
| /** | ||
| * Returns information about a t-digest sketch including compression, capacity, nodes, weights, observations and memory usage | ||
| * @param key - The name of the t-digest sketch to get information about | ||
| */ | ||
| INFO: INFO_1.default, | ||
| /** | ||
| * Returns information about a t-digest sketch including compression, capacity, nodes, weights, observations and memory usage | ||
| * @param key - The name of the t-digest sketch to get information about | ||
| */ | ||
| info: INFO_1.default, | ||
| /** | ||
| * Returns the maximum value from a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| */ | ||
| MAX: MAX_1.default, | ||
| /** | ||
| * Returns the maximum value from a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| */ | ||
| max: MAX_1.default, | ||
| /** | ||
| * Merges multiple t-digest sketches into one, with optional compression and override settings | ||
| * @param destination - The name of the destination t-digest sketch | ||
| * @param source - One or more source sketch names to merge from | ||
| * @param options - Optional parameters for merge operation | ||
| * @param options.COMPRESSION - New compression value for merged sketch | ||
| * @param options.OVERRIDE - If true, override destination sketch if it exists | ||
| */ | ||
| MERGE: MERGE_1.default, | ||
| /** | ||
| * Merges multiple t-digest sketches into one, with optional compression and override settings | ||
| * @param destination - The name of the destination t-digest sketch | ||
| * @param source - One or more source sketch names to merge from | ||
| * @param options - Optional parameters for merge operation | ||
| * @param options.COMPRESSION - New compression value for merged sketch | ||
| * @param options.OVERRIDE - If true, override destination sketch if it exists | ||
| */ | ||
| merge: MERGE_1.default, | ||
| /** | ||
| * Returns the minimum value from a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| */ | ||
| MIN: MIN_1.default, | ||
| /** | ||
| * Returns the minimum value from a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| */ | ||
| min: MIN_1.default, | ||
| /** | ||
| * Returns value estimates at requested quantiles from a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param quantiles - Array of quantiles (between 0 and 1) to get value estimates for | ||
| */ | ||
| QUANTILE: QUANTILE_1.default, | ||
| /** | ||
| * Returns value estimates at requested quantiles from a t-digest sketch | ||
| * @param key - The name of the t-digest sketch | ||
| * @param quantiles - Array of quantiles (between 0 and 1) to get value estimates for | ||
| */ | ||
| quantile: QUANTILE_1.default, | ||
| /** | ||
| * Returns the rank of one or more values in a t-digest sketch (number of values that are lower than each value) | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get ranks for | ||
| */ | ||
| RANK: RANK_1.default, | ||
| /** | ||
| * Returns the rank of one or more values in a t-digest sketch (number of values that are lower than each value) | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get ranks for | ||
| */ | ||
| rank: RANK_1.default, | ||
| /** | ||
| * Resets a t-digest sketch, clearing all previously added observations | ||
| * @param key - The name of the t-digest sketch to reset | ||
| */ | ||
| RESET: RESET_1.default, | ||
| /** | ||
| * Resets a t-digest sketch, clearing all previously added observations | ||
| * @param key - The name of the t-digest sketch to reset | ||
| */ | ||
| reset: RESET_1.default, | ||
| /** | ||
| * Returns the reverse rank of one or more values in a t-digest sketch (number of values that are higher than each value) | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get reverse ranks for | ||
| */ | ||
| REVRANK: REVRANK_1.default, | ||
| /** | ||
| * Returns the reverse rank of one or more values in a t-digest sketch (number of values that are higher than each value) | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get reverse ranks for | ||
| */ | ||
| revRank: REVRANK_1.default, | ||
| /** | ||
| * Returns the mean value from a t-digest sketch after trimming values at specified percentiles | ||
| * @param key - The name of the t-digest sketch | ||
| * @param lowCutPercentile - Lower percentile cutoff (between 0 and 100) | ||
| * @param highCutPercentile - Higher percentile cutoff (between 0 and 100) | ||
| */ | ||
| TRIMMED_MEAN: TRIMMED_MEAN_1.default, | ||
| /** | ||
| * Returns the mean value from a t-digest sketch after trimming values at specified percentiles | ||
| * @param key - The name of the t-digest sketch | ||
| * @param lowCutPercentile - Lower percentile cutoff (between 0 and 100) | ||
| * @param highCutPercentile - Higher percentile cutoff (between 0 and 100) | ||
| */ | ||
| trimmedMean: TRIMMED_MEAN_1.default | ||
| }; | ||
| //# sourceMappingURL=index.js.map |
@@ -1,1 +0,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"} | ||
| {"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;;;;OAIG;IACH,GAAG,EAAH,aAAG;IACH;;;;OAIG;IACH,GAAG,EAAE,aAAG;IACR;;;;OAIG;IACH,MAAM,EAAN,gBAAM;IACN;;;;OAIG;IACH,MAAM,EAAE,gBAAM;IACd;;;;OAIG;IACH,SAAS,EAAT,mBAAS;IACT;;;;OAIG;IACH,SAAS,EAAE,mBAAS;IACpB;;;;OAIG;IACH,GAAG,EAAH,aAAG;IACH;;;;OAIG;IACH,GAAG,EAAE,aAAG;IACR;;;;;OAKG;IACH,MAAM,EAAN,gBAAM;IACN;;;;;OAKG;IACH,MAAM,EAAE,gBAAM;IACd;;;OAGG;IACH,IAAI,EAAJ,cAAI;IACJ;;;OAGG;IACH,IAAI,EAAE,cAAI;IACV;;;OAGG;IACH,GAAG,EAAH,aAAG;IACH;;;OAGG;IACH,GAAG,EAAE,aAAG;IACR;;;;;;;OAOG;IACH,KAAK,EAAL,eAAK;IACL;;;;;;;OAOG;IACH,KAAK,EAAE,eAAK;IACZ;;;OAGG;IACH,GAAG,EAAH,aAAG;IACH;;;OAGG;IACH,GAAG,EAAE,aAAG;IACR;;;;OAIG;IACH,QAAQ,EAAR,kBAAQ;IACR;;;;OAIG;IACH,QAAQ,EAAE,kBAAQ;IAClB;;;;OAIG;IACH,IAAI,EAAJ,cAAI;IACJ;;;;OAIG;IACH,IAAI,EAAE,cAAI;IACV;;;OAGG;IACH,KAAK,EAAL,eAAK;IACL;;;OAGG;IACH,KAAK,EAAE,eAAK;IACZ;;;;OAIG;IACH,OAAO,EAAP,iBAAO;IACP;;;;OAIG;IACH,OAAO,EAAE,iBAAO;IAChB;;;;;OAKG;IACH,YAAY,EAAZ,sBAAY;IACZ;;;;;OAKG;IACH,WAAW,EAAE,sBAAY;CACO,CAAC"} |
@@ -43,7 +43,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns information about a t-digest sketch including compression, capacity, nodes, weights, observations and memory usage | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch to get information about | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument) => void; | ||
@@ -50,0 +45,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INFO.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/INFO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,WAAW,EAAE,gBAAgB,EAA2B,iBAAiB,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAGnK,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC;IAC5C;QAAC,iBAAiB,CAAC,aAAa,CAAC;QAAE,WAAW;KAAC;IAC/C;QAAC,iBAAiB,CAAC,UAAU,CAAC;QAAE,WAAW;KAAC;IAC5C;QAAC,iBAAiB,CAAC,cAAc,CAAC;QAAE,WAAW;KAAC;IAChD;QAAC,iBAAiB,CAAC,gBAAgB,CAAC;QAAE,WAAW;KAAC;IAClD;QAAC,iBAAiB,CAAC,eAAe,CAAC;QAAE,WAAW;KAAC;IACjD;QAAC,iBAAiB,CAAC,iBAAiB,CAAC;QAAE,WAAW;KAAC;IACnD;QAAC,iBAAiB,CAAC,cAAc,CAAC;QAAE,WAAW;KAAC;IAChD;QAAC,iBAAiB,CAAC,oBAAoB,CAAC;QAAE,WAAW;KAAC;IACtD;QAAC,iBAAiB,CAAC,cAAc,CAAC;QAAE,WAAW;KAAC;CACjD,CAAC,CAAC;;;IAID;;;;OAIG;gDACkB,aAAa,OAAO,aAAa;;+jBAKiB,WAAW;;;;AAZpF,wBAiB6B"} | ||
| {"version":3,"file":"INFO.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/INFO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,WAAW,EAAE,gBAAgB,EAA2B,iBAAiB,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAGnK,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC;IAC5C;QAAC,iBAAiB,CAAC,aAAa,CAAC;QAAE,WAAW;KAAC;IAC/C;QAAC,iBAAiB,CAAC,UAAU,CAAC;QAAE,WAAW;KAAC;IAC5C;QAAC,iBAAiB,CAAC,cAAc,CAAC;QAAE,WAAW;KAAC;IAChD;QAAC,iBAAiB,CAAC,gBAAgB,CAAC;QAAE,WAAW;KAAC;IAClD;QAAC,iBAAiB,CAAC,eAAe,CAAC;QAAE,WAAW;KAAC;IACjD;QAAC,iBAAiB,CAAC,iBAAiB,CAAC;QAAE,WAAW;KAAC;IACnD;QAAC,iBAAiB,CAAC,cAAc,CAAC;QAAE,WAAW;KAAC;IAChD;QAAC,iBAAiB,CAAC,oBAAoB,CAAC;QAAE,WAAW;KAAC;IACtD;QAAC,iBAAiB,CAAC,cAAc,CAAC;QAAE,WAAW;KAAC;CACjD,CAAC,CAAC;;;gDAIoB,aAAa,OAAO,aAAa;;+jBAKiB,WAAW;;;;AAPpF,wBAY6B"} |
@@ -6,7 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns information about a t-digest sketch including compression, capacity, nodes, weights, observations and memory usage | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch to get information about | ||
| */ | ||
| parseCommand(parser, key) { | ||
@@ -13,0 +8,0 @@ parser.push('TDIGEST.INFO'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INFO.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/INFO.ts"],"names":[],"mappings":";;AAEA,oCAAgD;AAchD,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;OAIG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC5B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,CAAC,KAA8C,EAAE,CAAC,EAAE,WAAyB,EAAkB,EAAE;YAClG,OAAO,IAAA,4BAAoB,EAAiB,KAAK,EAAE,WAAW,CAAC,CAAC;QAClE,CAAC;QACD,CAAC,EAAE,SAA4C;KAChD;CACyB,CAAC"} | ||
| {"version":3,"file":"INFO.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/INFO.ts"],"names":[],"mappings":";;AAEA,oCAAgD;AAchD,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC5B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,CAAC,KAA8C,EAAE,CAAC,EAAE,WAAyB,EAAkB,EAAE;YAClG,OAAO,IAAA,4BAAoB,EAAiB,KAAK,EAAE,WAAW,CAAC,CAAC;QAClE,CAAC;QACD,CAAC,EAAE,SAA4C;KAChD;CACyB,CAAC"} |
@@ -5,7 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns the maximum value from a t-digest sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument) => void; | ||
@@ -12,0 +7,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"MAX.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/MAX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;IAKzE;;;;OAIG;gDACkB,aAAa,OAAO,aAAa;;;;;;AAPxD,wBAY6B"} | ||
| {"version":3,"file":"MAX.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/MAX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;gDAKpD,aAAa,OAAO,aAAa;;;;;;AAFxD,wBAO6B"} |
@@ -6,7 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns the maximum value from a t-digest sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| */ | ||
| parseCommand(parser, key) { | ||
@@ -13,0 +8,0 @@ parser.push('TDIGEST.MAX'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"MAX.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/MAX.ts"],"names":[],"mappings":";;AAEA,+FAA4F;AAE5F,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;OAIG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE,2CAAoB;CACV,CAAC"} | ||
| {"version":3,"file":"MAX.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/MAX.ts"],"names":[],"mappings":";;AAEA,+FAA4F;AAE5F,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE,2CAAoB;CACV,CAAC"} |
@@ -10,11 +10,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Merges multiple t-digest sketches into one, with optional compression and override settings | ||
| * @param parser - The command parser | ||
| * @param destination - The name of the destination t-digest sketch | ||
| * @param source - One or more source sketch names to merge from | ||
| * @param options - Optional parameters for merge operation | ||
| * @param options.COMPRESSION - New compression value for merged sketch | ||
| * @param options.OVERRIDE - If true, override destination sketch if it exists | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, destination: RedisArgument, source: RedisVariadicArgument, options?: TDigestMergeOptions) => void; | ||
@@ -21,0 +12,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"MERGE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/MERGE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAE7F,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;;IAIC;;;;;;;;OAQG;gDAEO,aAAa,eACR,aAAa,UAClB,qBAAqB,YACnB,mBAAmB;mCAce,kBAAkB,IAAI,CAAC;;AA7BvE,wBA8B6B"} | ||
| {"version":3,"file":"MERGE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/MERGE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAE7F,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;;gDAKW,aAAa,eACR,aAAa,UAClB,qBAAqB,YACnB,mBAAmB;mCAce,kBAAkB,IAAI,CAAC;;AApBvE,wBAqB6B"} |
@@ -5,11 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Merges multiple t-digest sketches into one, with optional compression and override settings | ||
| * @param parser - The command parser | ||
| * @param destination - The name of the destination t-digest sketch | ||
| * @param source - One or more source sketch names to merge from | ||
| * @param options - Optional parameters for merge operation | ||
| * @param options.COMPRESSION - New compression value for merged sketch | ||
| * @param options.OVERRIDE - If true, override destination sketch if it exists | ||
| */ | ||
| parseCommand(parser, destination, source, options) { | ||
@@ -16,0 +7,0 @@ parser.push('TDIGEST.MERGE'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"MERGE.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/MERGE.ts"],"names":[],"mappings":";;AASA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;OAQG;IACH,YAAY,CACV,MAAqB,EACrB,WAA0B,EAC1B,MAA6B,EAC7B,OAA6B;QAE7B,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC7B,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QAC5B,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;QAE9B,IAAI,OAAO,EAAE,WAAW,KAAK,SAAS,EAAE,CAAC;YACvC,MAAM,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC7D,CAAC;QAED,IAAI,OAAO,EAAE,QAAQ,EAAE,CAAC;YACtB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} | ||
| {"version":3,"file":"MERGE.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/MERGE.ts"],"names":[],"mappings":";;AASA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CACV,MAAqB,EACrB,WAA0B,EAC1B,MAA6B,EAC7B,OAA6B;QAE7B,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC7B,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QAC5B,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;QAE9B,IAAI,OAAO,EAAE,WAAW,KAAK,SAAS,EAAE,CAAC;YACvC,MAAM,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC7D,CAAC;QAED,IAAI,OAAO,EAAE,QAAQ,EAAE,CAAC;YACtB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} |
@@ -5,7 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns the minimum value from a t-digest sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument) => void; | ||
@@ -12,0 +7,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"MIN.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/MIN.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;IAKzE;;;;OAIG;gDACkB,aAAa,OAAO,aAAa;;;;;;AAPxD,wBAY6B"} | ||
| {"version":3,"file":"MIN.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/MIN.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;gDAKpD,aAAa,OAAO,aAAa;;;;;;AAFxD,wBAO6B"} |
@@ -6,7 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns the minimum value from a t-digest sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| */ | ||
| parseCommand(parser, key) { | ||
@@ -13,0 +8,0 @@ parser.push('TDIGEST.MIN'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"MIN.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/MIN.ts"],"names":[],"mappings":";;AAEA,+FAA4F;AAE5F,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;OAIG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE,2CAAoB;CACV,CAAC"} | ||
| {"version":3,"file":"MIN.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/MIN.ts"],"names":[],"mappings":";;AAEA,+FAA4F;AAE5F,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE,2CAAoB;CACV,CAAC"} |
@@ -5,8 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns value estimates at requested quantiles from a t-digest sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param quantiles - Array of quantiles (between 0 and 1) to get value estimates for | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, quantiles: Array<number>) => void; | ||
@@ -13,0 +7,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"QUANTILE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/QUANTILE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;IAKzE;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,aAAa,MAAM,MAAM,CAAC;;;;;;AARlF,wBAiB6B"} | ||
| {"version":3,"file":"QUANTILE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/QUANTILE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;;;gDAKpD,aAAa,OAAO,aAAa,aAAa,MAAM,MAAM,CAAC;;;;;;AAFlF,wBAW6B"} |
@@ -6,8 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns value estimates at requested quantiles from a t-digest sketch | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param quantiles - Array of quantiles (between 0 and 1) to get value estimates for | ||
| */ | ||
| parseCommand(parser, key, quantiles) { | ||
@@ -14,0 +8,0 @@ parser.push('TDIGEST.QUANTILE'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"QUANTILE.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/QUANTILE.ts"],"names":[],"mappings":";;AAEA,+FAAiG;AAEjG,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;OAKG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,SAAwB;QAC9E,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;QAChC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;YACjC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;QACnC,CAAC;IACH,CAAC;IACD,cAAc,EAAE,gDAAyB;CACf,CAAC"} | ||
| {"version":3,"file":"QUANTILE.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/QUANTILE.ts"],"names":[],"mappings":";;AAEA,+FAAiG;AAEjG,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,SAAwB;QAC9E,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;QAChC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEpB,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;YACjC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;QACnC,CAAC;IACH,CAAC;IACD,cAAc,EAAE,gDAAyB;CACf,CAAC"} |
@@ -6,8 +6,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns the rank of one or more values in a t-digest sketch (number of values that are lower than each value) | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get ranks for | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, values: number[]) => void; | ||
@@ -14,0 +8,0 @@ readonly transformReply: () => ArrayReply<NumberReply>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"RANK.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/RANK.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;AAEpG,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,aAAa,EACrB,GAAG,EAAE,aAAa,EAClB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,QAOtB;;;IAIC;;;;;OAKG;;mCAK2C,WAAW,WAAW,CAAC;;AAZvE,wBAa6B"} | ||
| {"version":3,"file":"RANK.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/RANK.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;AAEpG,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,aAAa,EACrB,GAAG,EAAE,aAAa,EAClB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,QAOtB;;;;mCAQ+C,WAAW,WAAW,CAAC;;AANvE,wBAO6B"} |
@@ -13,8 +13,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns the rank of one or more values in a t-digest sketch (number of values that are lower than each value) | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param values - Array of values to get ranks for | ||
| */ | ||
| parseCommand(...args) { | ||
@@ -21,0 +15,0 @@ args[0].push('TDIGEST.RANK'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"RANK.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/RANK.ts"],"names":[],"mappings":";;;AAGA,SAAgB,sBAAsB,CACpC,MAAqB,EACrB,GAAkB,EAClB,MAAqB;IAErB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEpB,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAVD,wDAUC;AAED,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;OAKG;IACH,YAAY,CAAC,GAAG,IAA+C;QAC7D,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC7B,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC;IAClC,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} | ||
| {"version":3,"file":"RANK.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/RANK.ts"],"names":[],"mappings":";;;AAGA,SAAgB,sBAAsB,CACpC,MAAqB,EACrB,GAAkB,EAClB,MAAqB;IAErB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEpB,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAVD,wDAUC;AAED,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,GAAG,IAA+C;QAC7D,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC7B,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC;IAClC,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} |
@@ -5,7 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Resets a t-digest sketch, clearing all previously added observations | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch to reset | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument) => void; | ||
@@ -12,0 +7,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"RESET.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/RESET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;;;IAI5F;;;;OAIG;gDACkB,aAAa,OAAO,aAAa;mCAIR,kBAAkB,IAAI,CAAC;;AAXvE,wBAY6B"} | ||
| {"version":3,"file":"RESET.d.ts","sourceRoot":"","sources":["../../../../lib/commands/t-digest/RESET.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAW,MAAM,mCAAmC,CAAC;;;gDAIvE,aAAa,OAAO,aAAa;mCAIR,kBAAkB,IAAI,CAAC;;AANvE,wBAO6B"} |
@@ -5,7 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Resets a t-digest sketch, clearing all previously added observations | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch to reset | ||
| */ | ||
| parseCommand(parser, key) { | ||
@@ -12,0 +7,0 @@ parser.push('TDIGEST.RESET'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"RESET.js","sourceRoot":"","sources":["../../../../lib/commands/t-digest/RESET.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;OAIG;IACH,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"} | ||
| {"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"} |
@@ -5,9 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns the mean value from a t-digest sketch after trimming values at specified percentiles | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param lowCutPercentile - Lower percentile cutoff (between 0 and 100) | ||
| * @param highCutPercentile - Higher percentile cutoff (between 0 and 100) | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, lowCutPercentile: number, highCutPercentile: number) => void; | ||
@@ -14,0 +7,0 @@ readonly transformReply: { |
@@ -1,1 +0,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;;;IAKzE;;;;;;OAMG;gDAEO,aAAa,OAChB,aAAa,oBACA,MAAM,qBACL,MAAM;;;;;;AAb7B,wBAoB6B"} | ||
| {"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"} |
@@ -6,9 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns the mean value from a t-digest sketch after trimming values at specified percentiles | ||
| * @param parser - The command parser | ||
| * @param key - The name of the t-digest sketch | ||
| * @param lowCutPercentile - Lower percentile cutoff (between 0 and 100) | ||
| * @param highCutPercentile - Higher percentile cutoff (between 0 and 100) | ||
| */ | ||
| parseCommand(parser, key, lowCutPercentile, highCutPercentile) { | ||
@@ -15,0 +8,0 @@ parser.push('TDIGEST.TRIMMED_MEAN'); |
@@ -1,1 +0,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;;;;;;OAMG;IACH,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"} | ||
| {"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"} |
@@ -6,8 +6,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Adds one or more items to a Top-K filter and returns items dropped from the top-K list | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, items: RedisVariadicArgument) => void; | ||
@@ -14,0 +8,0 @@ readonly transformReply: () => ArrayReply<BlobStringReply>; |
@@ -1,1 +0,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;;;IAI3F;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,SAAS,qBAAqB;mCAKtC,WAAW,eAAe,CAAC;;AAb3E,wBAc6B"} | ||
| {"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"} |
@@ -5,8 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Adds one or more items to a Top-K filter and returns items dropped from the top-K list | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| parseCommand(parser, key, items) { | ||
@@ -13,0 +7,0 @@ parser.push('TOPK.ADD'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"ADD.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/ADD.ts"],"names":[],"mappings":";;AAIA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;OAKG;IACH,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"} | ||
| {"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"} |
@@ -6,8 +6,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns the count of occurrences for one or more items in a Top-K filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, items: RedisVariadicArgument) => void; | ||
@@ -14,0 +8,0 @@ readonly transformReply: () => ArrayReply<NumberReply>; |
@@ -1,1 +0,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;;;IAI3F;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,SAAS,qBAAqB;mCAKtC,WAAW,WAAW,CAAC;;AAbvE,wBAc6B"} | ||
| {"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"} |
@@ -5,8 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns the count of occurrences for one or more items in a Top-K filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| parseCommand(parser, key, items) { | ||
@@ -13,0 +7,0 @@ parser.push('TOPK.COUNT'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"COUNT.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/COUNT.ts"],"names":[],"mappings":";;AAIA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;;OAKG;IACH,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"} | ||
| {"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"} |
@@ -9,8 +9,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Increases the score of one or more items in a Top-K filter by specified increments | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - A single item or array of items to increment, each with an item name and increment value | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, items: TopKIncrByItem | Array<TopKIncrByItem>) => void; | ||
@@ -17,0 +11,0 @@ readonly transformReply: () => ArrayReply<SimpleStringReply | NullReply>; |
@@ -1,1 +0,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;;;IAQC;;;;;OAKG;gDAEO,aAAa,OAChB,aAAa,SACX,cAAc,GAAG,MAAM,cAAc,CAAC;mCAaD,WAAW,iBAAiB,GAAG,SAAS,CAAC;;AAxBzF,wBAyB6B"} | ||
| {"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"} |
@@ -8,8 +8,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Increases the score of one or more items in a Top-K filter by specified increments | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - A single item or array of items to increment, each with an item name and increment value | ||
| */ | ||
| parseCommand(parser, key, items) { | ||
@@ -16,0 +10,0 @@ parser.push('TOPK.INCRBY'); |
@@ -1,1 +0,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;;;;;OAKG;IACH,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"} | ||
| {"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"} |
| declare const _default: { | ||
| /** | ||
| * Adds one or more items to a Top-K filter and returns items dropped from the top-K list | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| readonly ADD: { | ||
@@ -7,2 +12,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Adds one or more items to a Top-K filter and returns items dropped from the top-K list | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| readonly add: { | ||
@@ -13,2 +23,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Returns the count of occurrences for one or more items in a Top-K filter | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| readonly COUNT: { | ||
@@ -19,2 +34,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns the count of occurrences for one or more items in a Top-K filter | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| readonly count: { | ||
@@ -25,2 +45,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Increases the score of one or more items in a Top-K filter by specified increments | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - A single item or array of items to increment, each with an item name and increment value | ||
| */ | ||
| readonly INCRBY: { | ||
@@ -31,2 +56,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Increases the score of one or more items in a Top-K filter by specified increments | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - A single item or array of items to increment, each with an item name and increment value | ||
| */ | ||
| readonly incrBy: { | ||
@@ -37,18 +67,38 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Returns configuration and statistics of a Top-K filter, including k, width, depth, and decay parameters | ||
| * @param key - The name of the Top-K filter to get information about | ||
| */ | ||
| readonly INFO: { | ||
| readonly IS_READ_ONLY: true; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void; /** | ||
| * Returns the count of occurrences for one or more items in a Top-K filter | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| readonly transformReply: { | ||
| readonly 2: (reply: [import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"k">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"width">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"depth">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"decay">, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>], preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("./INFO").TopKInfoReplyMap; | ||
| readonly 2: (reply: [import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"k">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"width">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"depth">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"decay">, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>], preserve?: unknown, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("./INFO").TopKInfoReplyMap; | ||
| readonly 3: () => import("./INFO").TopKInfoReplyMap; | ||
| }; | ||
| }; | ||
| /** | ||
| * Returns configuration and statistics of a Top-K filter, including k, width, depth, and decay parameters | ||
| * @param key - The name of the Top-K filter to get information about | ||
| */ | ||
| readonly info: { | ||
| readonly IS_READ_ONLY: true; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void; | ||
| readonly parseCommand: (this: void, parser: import("@redis/client").CommandParser, key: import("@redis/client/dist/lib/RESP/types").RedisArgument) => void; /** | ||
| * Returns the count of occurrences for one or more items in a Top-K filter | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| readonly transformReply: { | ||
| readonly 2: (reply: [import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"k">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"width">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"depth">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"decay">, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>], preserve?: any, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("./INFO").TopKInfoReplyMap; | ||
| readonly 2: (reply: [import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"k">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"width">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"depth">, import("@redis/client/dist/lib/RESP/types").NumberReply<number>, import("@redis/client/dist/lib/RESP/types").SimpleStringReply<"decay">, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>], preserve?: unknown, typeMapping?: import("@redis/client/dist/lib/RESP/types").TypeMapping | undefined) => import("./INFO").TopKInfoReplyMap; | ||
| readonly 3: () => import("./INFO").TopKInfoReplyMap; | ||
| }; | ||
| }; | ||
| /** | ||
| * Returns all items in a Top-K filter with their respective counts | ||
| * @param key - The name of the Top-K filter | ||
| */ | ||
| readonly LIST_WITHCOUNT: { | ||
@@ -59,5 +109,13 @@ readonly IS_READ_ONLY: true; | ||
| item: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>; | ||
| count: import("@redis/client/dist/lib/RESP/types").NumberReply<number>; | ||
| count: import("@redis/client/dist/lib/RESP/types").NumberReply<number>; /** | ||
| * Adds one or more items to a Top-K filter and returns items dropped from the top-K list | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| }[]; | ||
| }; | ||
| /** | ||
| * Returns all items in a Top-K filter with their respective counts | ||
| * @param key - The name of the Top-K filter | ||
| */ | ||
| readonly listWithCount: { | ||
@@ -68,5 +126,13 @@ readonly IS_READ_ONLY: true; | ||
| item: import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>; | ||
| count: import("@redis/client/dist/lib/RESP/types").NumberReply<number>; | ||
| count: import("@redis/client/dist/lib/RESP/types").NumberReply<number>; /** | ||
| * Adds one or more items to a Top-K filter and returns items dropped from the top-K list | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| }[]; | ||
| }; | ||
| /** | ||
| * Returns all items in a Top-K filter | ||
| * @param key - The name of the Top-K filter | ||
| */ | ||
| readonly LIST: { | ||
@@ -77,2 +143,6 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Returns all items in a Top-K filter | ||
| * @param key - The name of the Top-K filter | ||
| */ | ||
| readonly list: { | ||
@@ -83,2 +153,7 @@ readonly IS_READ_ONLY: true; | ||
| }; | ||
| /** | ||
| * Checks if one or more items are in the Top-K list | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to check in the filter | ||
| */ | ||
| readonly QUERY: { | ||
@@ -92,2 +167,7 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Checks if one or more items are in the Top-K list | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to check in the filter | ||
| */ | ||
| readonly query: { | ||
@@ -101,2 +181,11 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Creates a new Top-K filter with specified parameters | ||
| * @param key - The name of the Top-K filter | ||
| * @param topK - Number of top occurring items to keep | ||
| * @param options - Optional parameters for filter configuration | ||
| * @param options.width - Number of counters in each array | ||
| * @param options.depth - Number of counter-arrays | ||
| * @param options.decay - Counter decay factor | ||
| */ | ||
| readonly RESERVE: { | ||
@@ -107,2 +196,11 @@ readonly IS_READ_ONLY: false; | ||
| }; | ||
| /** | ||
| * Creates a new Top-K filter with specified parameters | ||
| * @param key - The name of the Top-K filter | ||
| * @param topK - Number of top occurring items to keep | ||
| * @param options - Optional parameters for filter configuration | ||
| * @param options.width - Number of counters in each array | ||
| * @param options.depth - Number of counter-arrays | ||
| * @param options.decay - Counter decay factor | ||
| */ | ||
| readonly reserve: { | ||
@@ -109,0 +207,0 @@ readonly IS_READ_ONLY: false; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,wBAiBmC"} | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/index.ts"],"names":[],"mappings":";IAWE;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;;OAIG;;;;;;IAEH;;;OAGG;;;oKA3BH;;;;WAIG;;;;;;IAyBH;;;OAGG;;;oKAhCH;;;;WAIG;;;;;;IA8BH;;;OAGG;;;;;;oFA3CH;;;;eAIG;;;IAyCH;;;OAGG;;;;;;oFAhDH;;;;eAIG;;;IA8CH;;;OAGG;;;;;;IAEH;;;OAGG;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;IAEH;;;;;;;;OAQG;;;;;;IAEH;;;;;;;;OAQG;;;;;;;AAjGL,wBAmGmC"} |
@@ -15,19 +15,101 @@ "use strict"; | ||
| exports.default = { | ||
| /** | ||
| * Adds one or more items to a Top-K filter and returns items dropped from the top-K list | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| ADD: ADD_1.default, | ||
| /** | ||
| * Adds one or more items to a Top-K filter and returns items dropped from the top-K list | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to add to the filter | ||
| */ | ||
| add: ADD_1.default, | ||
| /** | ||
| * Returns the count of occurrences for one or more items in a Top-K filter | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| COUNT: COUNT_1.default, | ||
| /** | ||
| * Returns the count of occurrences for one or more items in a Top-K filter | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to get counts for | ||
| */ | ||
| count: COUNT_1.default, | ||
| /** | ||
| * Increases the score of one or more items in a Top-K filter by specified increments | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - A single item or array of items to increment, each with an item name and increment value | ||
| */ | ||
| INCRBY: INCRBY_1.default, | ||
| /** | ||
| * Increases the score of one or more items in a Top-K filter by specified increments | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - A single item or array of items to increment, each with an item name and increment value | ||
| */ | ||
| incrBy: INCRBY_1.default, | ||
| /** | ||
| * Returns configuration and statistics of a Top-K filter, including k, width, depth, and decay parameters | ||
| * @param key - The name of the Top-K filter to get information about | ||
| */ | ||
| INFO: INFO_1.default, | ||
| /** | ||
| * Returns configuration and statistics of a Top-K filter, including k, width, depth, and decay parameters | ||
| * @param key - The name of the Top-K filter to get information about | ||
| */ | ||
| info: INFO_1.default, | ||
| /** | ||
| * Returns all items in a Top-K filter with their respective counts | ||
| * @param key - The name of the Top-K filter | ||
| */ | ||
| LIST_WITHCOUNT: LIST_WITHCOUNT_1.default, | ||
| /** | ||
| * Returns all items in a Top-K filter with their respective counts | ||
| * @param key - The name of the Top-K filter | ||
| */ | ||
| listWithCount: LIST_WITHCOUNT_1.default, | ||
| /** | ||
| * Returns all items in a Top-K filter | ||
| * @param key - The name of the Top-K filter | ||
| */ | ||
| LIST: LIST_1.default, | ||
| /** | ||
| * Returns all items in a Top-K filter | ||
| * @param key - The name of the Top-K filter | ||
| */ | ||
| list: LIST_1.default, | ||
| /** | ||
| * Checks if one or more items are in the Top-K list | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to check in the filter | ||
| */ | ||
| QUERY: QUERY_1.default, | ||
| /** | ||
| * Checks if one or more items are in the Top-K list | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to check in the filter | ||
| */ | ||
| query: QUERY_1.default, | ||
| /** | ||
| * Creates a new Top-K filter with specified parameters | ||
| * @param key - The name of the Top-K filter | ||
| * @param topK - Number of top occurring items to keep | ||
| * @param options - Optional parameters for filter configuration | ||
| * @param options.width - Number of counters in each array | ||
| * @param options.depth - Number of counter-arrays | ||
| * @param options.decay - Counter decay factor | ||
| */ | ||
| RESERVE: RESERVE_1.default, | ||
| /** | ||
| * Creates a new Top-K filter with specified parameters | ||
| * @param key - The name of the Top-K filter | ||
| * @param topK - Number of top occurring items to keep | ||
| * @param options - Optional parameters for filter configuration | ||
| * @param options.width - Number of counters in each array | ||
| * @param options.depth - Number of counter-arrays | ||
| * @param options.decay - Counter decay factor | ||
| */ | ||
| reserve: RESERVE_1.default | ||
| }; | ||
| //# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/index.ts"],"names":[],"mappings":";;;;;AACA,gDAAwB;AACxB,oDAA4B;AAC5B,sDAA8B;AAC9B,kDAA0B;AAC1B,sEAA8C;AAC9C,kDAA0B;AAC1B,oDAA4B;AAC5B,wDAAgC;AAEhC,kBAAe;IACb,GAAG,EAAH,aAAG;IACH,GAAG,EAAE,aAAG;IACR,KAAK,EAAL,eAAK;IACL,KAAK,EAAE,eAAK;IACZ,MAAM,EAAN,gBAAM;IACN,MAAM,EAAE,gBAAM;IACd,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAE,cAAI;IACV,cAAc,EAAd,wBAAc;IACd,aAAa,EAAE,wBAAc;IAC7B,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAE,cAAI;IACV,KAAK,EAAL,eAAK;IACL,KAAK,EAAE,eAAK;IACZ,OAAO,EAAP,iBAAO;IACP,OAAO,EAAE,iBAAO;CACgB,CAAC"} | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/index.ts"],"names":[],"mappings":";;;;;AACA,gDAAwB;AACxB,oDAA4B;AAC5B,sDAA8B;AAC9B,kDAA0B;AAC1B,sEAA8C;AAC9C,kDAA0B;AAC1B,oDAA4B;AAC5B,wDAAgC;AAEhC,kBAAe;IACb;;;;OAIG;IACH,GAAG,EAAH,aAAG;IACH;;;;OAIG;IACH,GAAG,EAAE,aAAG;IACR;;;;OAIG;IACH,KAAK,EAAL,eAAK;IACL;;;;OAIG;IACH,KAAK,EAAE,eAAK;IACZ;;;;OAIG;IACH,MAAM,EAAN,gBAAM;IACN;;;;OAIG;IACH,MAAM,EAAE,gBAAM;IACd;;;OAGG;IACH,IAAI,EAAJ,cAAI;IACJ;;;OAGG;IACH,IAAI,EAAE,cAAI;IACV;;;OAGG;IACH,cAAc,EAAd,wBAAc;IACd;;;OAGG;IACH,aAAa,EAAE,wBAAc;IAC7B;;;OAGG;IACH,IAAI,EAAJ,cAAI;IACJ;;;OAGG;IACH,IAAI,EAAE,cAAI;IACV;;;;OAIG;IACH,KAAK,EAAL,eAAK;IACL;;;;OAIG;IACH,KAAK,EAAE,eAAK;IACZ;;;;;;;;OAQG;IACH,OAAO,EAAP,iBAAO;IACP;;;;;;;;OAQG;IACH,OAAO,EAAE,iBAAO;CACgB,CAAC"} |
@@ -23,10 +23,5 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns configuration and statistics of a Top-K filter, including k, width, depth, and decay parameters | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter to get information about | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument) => void; | ||
| readonly transformReply: { | ||
| readonly 2: (reply: [SimpleStringReply<"k">, NumberReply<number>, SimpleStringReply<"width">, NumberReply<number>, SimpleStringReply<"depth">, NumberReply<number>, SimpleStringReply<"decay">, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>], preserve?: any, typeMapping?: TypeMapping) => TopKInfoReplyMap; | ||
| readonly 2: (reply: [SimpleStringReply<"k">, NumberReply<number>, SimpleStringReply<"width">, NumberReply<number>, SimpleStringReply<"depth">, NumberReply<number>, SimpleStringReply<"decay">, import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>], preserve?: unknown, typeMapping?: TypeMapping) => TopKInfoReplyMap; | ||
| readonly 3: () => TopKInfoReplyMap; | ||
@@ -33,0 +28,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INFO.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/INFO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAE,WAAW,EAAoC,iBAAiB,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAIhL,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;IAC9C;QAAC,iBAAiB,CAAC,GAAG,CAAC;QAAE,WAAW;KAAC;IACrC;QAAC,iBAAiB,CAAC,OAAO,CAAC;QAAE,WAAW;KAAC;IACzC;QAAC,iBAAiB,CAAC,OAAO,CAAC;QAAE,WAAW;KAAC;IACzC;QAAC,iBAAiB,CAAC,OAAO,CAAC;QAAE,WAAW;KAAC;CAC1C,CAAC,CAAC;;;IAID;;;;OAIG;gDACkB,aAAa,OAAO,aAAa;;yRAKa,GAAG,gBAAgB,WAAW;;;;AAZnG,wBAmB4B"} | ||
| {"version":3,"file":"INFO.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/INFO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAE,WAAW,EAAoC,iBAAiB,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAIhL,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;IAC9C;QAAC,iBAAiB,CAAC,GAAG,CAAC;QAAE,WAAW;KAAC;IACrC;QAAC,iBAAiB,CAAC,OAAO,CAAC;QAAE,WAAW;KAAC;IACzC;QAAC,iBAAiB,CAAC,OAAO,CAAC;QAAE,WAAW;KAAC;IACzC;QAAC,iBAAiB,CAAC,OAAO,CAAC;QAAE,WAAW;KAAC;CAC1C,CAAC,CAAC;;;gDAIoB,aAAa,OAAO,aAAa;;yRAKa,OAAO,gBAAgB,WAAW;;;;AAPvG,wBAc4B"} |
@@ -7,7 +7,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns configuration and statistics of a Top-K filter, including k, width, depth, and decay parameters | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter to get information about | ||
| */ | ||
| parseCommand(parser, key) { | ||
@@ -14,0 +9,0 @@ parser.push('TOPK.INFO'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"INFO.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/INFO.ts"],"names":[],"mappings":";;AAEA,+FAA4F;AAC5F,oCAAgD;AAShD,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;OAIG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,CAAC,KAAgD,EAAE,QAAc,EAAE,WAAyB,EAAoB,EAAE;YACnH,KAAK,CAAC,CAAC,CAAC,GAAG,2CAAoB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,WAAW,CAAQ,CAAC;YAE3E,OAAO,IAAA,4BAAoB,EAAmB,KAAK,EAAE,WAAW,CAAC,CAAC;QACpE,CAAC;QACD,CAAC,EAAE,SAA8C;KAClD;CACyB,CAAA"} | ||
| {"version":3,"file":"INFO.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/INFO.ts"],"names":[],"mappings":";;AAEA,+FAA4F;AAC5F,oCAAgD;AAShD,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE;QACd,CAAC,EAAE,CAAC,KAAgD,EAAE,QAAkB,EAAE,WAAyB,EAAoB,EAAE;YACvH,KAAK,CAAC,CAAC,CAAC,GAAG,2CAAoB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,WAAW,CAA+B,CAAC;YAElG,OAAO,IAAA,4BAAoB,EAAmB,KAAK,EAAE,WAAW,CAAC,CAAC;QACpE,CAAC;QACD,CAAC,EAAE,SAA8C;KAClD;CACyB,CAAA"} |
@@ -5,7 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns all items in a Top-K filter with their respective counts | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument) => void; | ||
@@ -12,0 +7,0 @@ readonly transformReply: (this: void, rawReply: UnwrapReply<ArrayReply<BlobStringReply | NumberReply>>) => { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"LIST_WITHCOUNT.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/LIST_WITHCOUNT.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;;;IAIhI;;;;OAIG;gDACkB,aAAa,OAAO,aAAa;oDAK7B,YAAY,WAAW,eAAe,GAAG,WAAW,CAAC,CAAC;cAErE,eAAe;eACd,WAAW;;;AAfxB,wBA2B6B"} | ||
| {"version":3,"file":"LIST_WITHCOUNT.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/LIST_WITHCOUNT.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,WAAW,EAAW,MAAM,mCAAmC,CAAC;;;gDAI3G,aAAa,OAAO,aAAa;oDAK7B,YAAY,WAAW,eAAe,GAAG,WAAW,CAAC,CAAC;cAErE,eAAe;eACd,WAAW;;;AAVxB,wBAsB6B"} |
@@ -5,7 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns all items in a Top-K filter with their respective counts | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| */ | ||
| parseCommand(parser, key) { | ||
@@ -12,0 +7,0 @@ parser.push('TOPK.LIST'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"LIST_WITHCOUNT.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/LIST_WITHCOUNT.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;OAIG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC3B,CAAC;IACD,cAAc,CAAC,QAAgE;QAC7E,MAAM,KAAK,GAGN,EAAE,CAAC;QAER,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,KAAK,CAAC,IAAI,CAAC;gBACT,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAoB;gBACpC,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAgB;aACpC,CAAC,CAAC;QACL,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;CACyB,CAAC"} | ||
| {"version":3,"file":"LIST_WITHCOUNT.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/LIST_WITHCOUNT.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC3B,CAAC;IACD,cAAc,CAAC,QAAgE;QAC7E,MAAM,KAAK,GAGN,EAAE,CAAC;QAER,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,KAAK,CAAC,IAAI,CAAC;gBACT,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAoB;gBACpC,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAgB;aACpC,CAAC,CAAC;QACL,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;CACyB,CAAC"} |
@@ -5,7 +5,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: true; | ||
| /** | ||
| * Returns all items in a Top-K filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument) => void; | ||
@@ -12,0 +7,0 @@ readonly transformReply: () => ArrayReply<BlobStringReply>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"LIST.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/LIST.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAW,MAAM,mCAAmC,CAAC;;;IAItG;;;;OAIG;gDACkB,aAAa,OAAO,aAAa;mCAIR,WAAW,eAAe,CAAC;;AAX3E,wBAY6B"} | ||
| {"version":3,"file":"LIST.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/LIST.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAW,MAAM,mCAAmC,CAAC;;;gDAIjF,aAAa,OAAO,aAAa;mCAIR,WAAW,eAAe,CAAC;;AAN3E,wBAO6B"} |
@@ -5,7 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: true, | ||
| /** | ||
| * Returns all items in a Top-K filter | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| */ | ||
| parseCommand(parser, key) { | ||
@@ -12,0 +7,0 @@ parser.push('TOPK.LIST'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"LIST.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/LIST.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB;;;;OAIG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE,SAAyD;CAC/C,CAAC"} | ||
| {"version":3,"file":"LIST.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/LIST.ts"],"names":[],"mappings":";;AAGA,kBAAe;IACb,YAAY,EAAE,IAAI;IAClB,YAAY,CAAC,MAAqB,EAAE,GAAkB;QACpD,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;IACD,cAAc,EAAE,SAAyD;CAC/C,CAAC"} |
@@ -6,8 +6,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Checks if one or more items are in the Top-K list | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to check in the filter | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, items: RedisVariadicArgument) => void; | ||
@@ -14,0 +8,0 @@ readonly transformReply: { |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"QUERY.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/QUERY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAA8B,MAAM,sDAAsD,CAAC;;;IAIvH;;;;;OAKG;gDACkB,aAAa,OAAO,aAAa,SAAS,qBAAqB;;;;;;AARtF,wBAc6B"} | ||
| {"version":3,"file":"QUERY.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/QUERY.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAW,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAA8B,MAAM,sDAAsD,CAAC;;;gDAIlG,aAAa,OAAO,aAAa,SAAS,qBAAqB;;;;;;AAFtF,wBAQ6B"} |
@@ -6,8 +6,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Checks if one or more items are in the Top-K list | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| * @param items - One or more items to check in the filter | ||
| */ | ||
| parseCommand(parser, key, items) { | ||
@@ -14,0 +8,0 @@ parser.push('TOPK.QUERY'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"QUERY.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/QUERY.ts"],"names":[],"mappings":";;AAEA,+FAAyH;AAEzH,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;OAKG;IACH,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,iDAA0B;CAChB,CAAC"} | ||
| {"version":3,"file":"QUERY.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/QUERY.ts"],"names":[],"mappings":";;AAEA,+FAAyH;AAEzH,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,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,iDAA0B;CAChB,CAAC"} |
@@ -10,12 +10,2 @@ import { CommandParser } from '@redis/client/dist/lib/client/parser'; | ||
| readonly IS_READ_ONLY: false; | ||
| /** | ||
| * Creates a new Top-K filter with specified parameters | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| * @param topK - Number of top occurring items to keep | ||
| * @param options - Optional parameters for filter configuration | ||
| * @param options.width - Number of counters in each array | ||
| * @param options.depth - Number of counter-arrays | ||
| * @param options.decay - Counter decay factor | ||
| */ | ||
| readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, topK: number, options?: TopKReserveOptions) => void; | ||
@@ -22,0 +12,0 @@ readonly transformReply: () => SimpleStringReply<'OK'>; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"RESERVE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/RESERVE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAE9F,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;;;IAIC;;;;;;;;;OASG;gDACkB,aAAa,OAAO,aAAa,QAAQ,MAAM,YAAY,kBAAkB;mCAapD,kBAAkB,IAAI,CAAC;;AAzBvE,wBA0B6B"} | ||
| {"version":3,"file":"RESERVE.d.ts","sourceRoot":"","sources":["../../../../lib/commands/top-k/RESERVE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAW,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAE9F,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;;;gDAIsB,aAAa,OAAO,aAAa,QAAQ,MAAM,YAAY,kBAAkB;mCAapD,kBAAkB,IAAI,CAAC;;AAfvE,wBAgB6B"} |
@@ -5,12 +5,2 @@ "use strict"; | ||
| IS_READ_ONLY: false, | ||
| /** | ||
| * Creates a new Top-K filter with specified parameters | ||
| * @param parser - The command parser | ||
| * @param key - The name of the Top-K filter | ||
| * @param topK - Number of top occurring items to keep | ||
| * @param options - Optional parameters for filter configuration | ||
| * @param options.width - Number of counters in each array | ||
| * @param options.depth - Number of counter-arrays | ||
| * @param options.decay - Counter decay factor | ||
| */ | ||
| parseCommand(parser, key, topK, options) { | ||
@@ -17,0 +7,0 @@ parser.push('TOPK.RESERVE'); |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"RESERVE.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/RESERVE.ts"],"names":[],"mappings":";;AASA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB;;;;;;;;;OASG;IACH,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAY,EAAE,OAA4B;QAChG,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC5B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAE7B,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,CAAC,IAAI,CACT,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,EACxB,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,EACxB,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,CACzB,CAAC;QACJ,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} | ||
| {"version":3,"file":"RESERVE.js","sourceRoot":"","sources":["../../../../lib/commands/top-k/RESERVE.ts"],"names":[],"mappings":";;AASA,kBAAe;IACb,YAAY,EAAE,KAAK;IACnB,YAAY,CAAC,MAAqB,EAAE,GAAkB,EAAE,IAAY,EAAE,OAA4B;QAChG,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC5B,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAE7B,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,CAAC,IAAI,CACT,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,EACxB,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,EACxB,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,CACzB,CAAC;QACJ,CAAC;IACH,CAAC;IACD,cAAc,EAAE,SAAqD;CAC3C,CAAC"} |
+3
-3
| { | ||
| "name": "@redis/bloom", | ||
| "version": "5.12.1", | ||
| "version": "6.0.0", | ||
| "license": "MIT", | ||
@@ -16,3 +16,3 @@ "main": "./dist/lib/index.js", | ||
| "peerDependencies": { | ||
| "@redis/client": "^5.12.1" | ||
| "@redis/client": "^6.0.0" | ||
| }, | ||
@@ -23,3 +23,3 @@ "devDependencies": { | ||
| "engines": { | ||
| "node": ">= 18.19.0" | ||
| "node": ">= 20.0.0" | ||
| }, | ||
@@ -26,0 +26,0 @@ "repository": { |
300130
9.23%4233
13.24%