Home | History | Annotate | Download | only in leveldb

Lines Matching refs:Iterator

5 // An iterator yields a sequence of key/value pairs from a source.
10 // Multiple threads can invoke const methods on an Iterator without
12 // non-const method, all threads accessing the same Iterator must use
23 class Iterator {
25 Iterator();
26 virtual ~Iterator();
28 // An iterator is either positioned at a key/value pair, or
29 // not valid. This method returns true iff the iterator is valid.
32 // Position at the first key in the source. The iterator is Valid()
36 // Position at the last key in the source. The iterator is
41 // The iterator is Valid() after this call iff the source contains
46 // true iff the iterator was not positioned at the last entry in the source.
51 // true iff the iterator was not positioned at the first entry in source.
57 // the iterator.
63 // the iterator.
71 // will be invoked when this iterator is destroyed.
88 Iterator(const Iterator&);
89 void operator=(const Iterator&);
92 // Return an empty iterator (yields nothing).
93 extern Iterator* NewEmptyIterator();
95 // Return an empty iterator with the specified status.
96 extern Iterator* NewErrorIterator(const Status& status);