LevelDB project 1 10225501460 林子骥 10211900416 郭夏辉
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

26 linhas
823 B

1 mês atrás
  1. // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file. See the AUTHORS file for names of contributors.
  4. #ifndef STORAGE_LEVELDB_DB_DB_ITER_H_
  5. #define STORAGE_LEVELDB_DB_DB_ITER_H_
  6. #include <cstdint>
  7. #include "db/dbformat.h"
  8. #include "leveldb/db.h"
  9. namespace leveldb {
  10. class DBImpl;
  11. // Return a new iterator that converts internal keys (yielded by
  12. // "*internal_iter") that were live at the specified "sequence" number
  13. // into appropriate user keys.
  14. Iterator* NewDBIterator(DBImpl* db, const Comparator* user_key_comparator,
  15. Iterator* internal_iter, SequenceNumber sequence,
  16. uint32_t seed);
  17. } // namespace leveldb
  18. #endif // STORAGE_LEVELDB_DB_DB_ITER_H_