MCPcopy Create free account
hub / github.com/apache/kvrocks / GetKeyNumStats

Method GetKeyNumStats

src/storage/redis_db.cc:245–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245rocksdb::Status Database::GetKeyNumStats(engine::Context &ctx, const std::string &prefix, KeyNumStats *stats) {
246 return Keys(ctx, prefix, "*", nullptr, stats);
247}
248
249rocksdb::Status Database::Keys(engine::Context &ctx, const std::string &prefix, const std::string &suffix_glob,
250 std::vector<std::string> *keys, KeyNumStats *stats) {

Callers 1

AsyncScanDBSizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected