小组成员: 曹可心-10223903406 朴祉燕-10224602413
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

27 righe
871 B

  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 <stdint.h>
  7. #include "leveldb/db.h"
  8. #include "db/dbformat.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,
  15. const Comparator* user_key_comparator,
  16. Iterator* internal_iter,
  17. SequenceNumber sequence,
  18. uint32_t seed);
  19. } // namespace leveldb
  20. #endif // STORAGE_LEVELDB_DB_DB_ITER_H_