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