22 lines
733 B
JavaScript
22 lines
733 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const bloom_1 = require("../bloom");
|
|
exports.default = {
|
|
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) {
|
|
parser.push('CF.INFO');
|
|
parser.pushKey(key);
|
|
},
|
|
transformReply: {
|
|
2: (reply, _, typeMapping) => {
|
|
return (0, bloom_1.transformInfoV2Reply)(reply, typeMapping);
|
|
},
|
|
3: undefined
|
|
}
|
|
};
|
|
//# sourceMappingURL=INFO.js.map
|