|
|
@ -22,7 +22,7 @@ class Env; |
|
|
|
struct SuperVersion; |
|
|
|
struct SuperVersion; |
|
|
|
class ColumnFamilyData; |
|
|
|
class ColumnFamilyData; |
|
|
|
class LevelIterator; |
|
|
|
class LevelIterator; |
|
|
|
class FileMetaData; |
|
|
|
struct FileMetaData; |
|
|
|
|
|
|
|
|
|
|
|
class MinIterComparator { |
|
|
|
class MinIterComparator { |
|
|
|
public: |
|
|
|
public: |
|
|
@ -49,8 +49,8 @@ typedef std::priority_queue<Iterator*, |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
class ForwardIterator : public Iterator { |
|
|
|
class ForwardIterator : public Iterator { |
|
|
|
public: |
|
|
|
public: |
|
|
|
ForwardIterator(Env* const env, DBImpl* db, const ReadOptions& read_options, |
|
|
|
ForwardIterator(DBImpl* db, const ReadOptions& read_options, |
|
|
|
ColumnFamilyData* cfd); |
|
|
|
ColumnFamilyData* cfd); |
|
|
|
virtual ~ForwardIterator(); |
|
|
|
virtual ~ForwardIterator(); |
|
|
|
|
|
|
|
|
|
|
|
void SeekToLast() override { |
|
|
|
void SeekToLast() override { |
|
|
@ -81,7 +81,6 @@ class ForwardIterator : public Iterator { |
|
|
|
uint32_t left, uint32_t right); |
|
|
|
uint32_t left, uint32_t right); |
|
|
|
|
|
|
|
|
|
|
|
DBImpl* const db_; |
|
|
|
DBImpl* const db_; |
|
|
|
Env* const env_; |
|
|
|
|
|
|
|
const ReadOptions read_options_; |
|
|
|
const ReadOptions read_options_; |
|
|
|
ColumnFamilyData* const cfd_; |
|
|
|
ColumnFamilyData* const cfd_; |
|
|
|
const SliceTransform* const prefix_extractor_; |
|
|
|
const SliceTransform* const prefix_extractor_; |
|
|
|