Files
micro-service-api/node_modules/@redis/bloom/dist/lib/commands/cuckoo/LOADCHUNK.js
2025-11-11 12:36:06 +07:00

19 lines
677 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
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) {
parser.push('CF.LOADCHUNK');
parser.pushKey(key);
parser.push(iterator.toString(), chunk);
},
transformReply: undefined
};
//# sourceMappingURL=LOADCHUNK.js.map