|
| ObMergingIterator (const ObComparator *comparator, vector< unique_ptr< ObLsmIterator > > &&children) |
|
bool | valid () const override |
| Checks if the iterator is currently positioned at a valid key-value pair. 更多...
|
|
void | seek_to_first () override |
| Positions the iterator at the first key-value pair in the source. 更多...
|
|
void | seek_to_last () override |
| Positions the iterator at the last key-value pair in the source. 更多...
|
|
void | seek (const string_view &target) override |
| Positions the iterator at the first entry with a key greater than or equal to the specified key. 更多...
|
|
void | next () override |
| Moves the iterator to the next key-value pair in the source. 更多...
|
|
string_view | key () const override |
| Returns the key of the current entry the iterator is positioned at. 更多...
|
|
string_view | value () const override |
| Returns the value of the current entry the iterator is positioned at. 更多...
|
|
| ObLsmIterator (const ObLsmIterator &)=delete |
|
ObLsmIterator & | operator= (const ObLsmIterator &)=delete |
|
virtual bool | valid () const =0 |
| Checks if the iterator is currently positioned at a valid key-value pair. 更多...
|
|
virtual void | next ()=0 |
| Moves the iterator to the next key-value pair in the source. 更多...
|
|
virtual string_view | key () const =0 |
| Returns the key of the current entry the iterator is positioned at. 更多...
|
|
virtual string_view | value () const =0 |
| Returns the value of the current entry the iterator is positioned at. 更多...
|
|
virtual void | seek (const string_view &k)=0 |
| Positions the iterator at the first entry with a key greater than or equal to the specified key. 更多...
|
|
virtual void | seek_to_first ()=0 |
| Positions the iterator at the first key-value pair in the source. 更多...
|
|
virtual void | seek_to_last ()=0 |
| Positions the iterator at the last key-value pair in the source. 更多...
|
|