Go to the documentation of this file.    1 #ifndef EXTSORT_ITEMITERATOR_H 
    2 #define EXTSORT_ITEMITERATOR_H 
   33     virtual bool Next() = 0;
 
   67     virtual void Rewind(uint64_t pos) = 0;
 
   77 #endif      // EXTSORT_ITEMITERATOR_H 
 
virtual void EndScan()=0
Ends the scan.
 
int16_t FieldOffset
Definition: tdb_base.h:212
 
virtual bool Next()=0
Subclass implementation should override the Next() function for moving to the next item .
 
virtual void Rewind(uint64_t pos)=0
Rewinds the iterator back to a previously saved posision if the subclass implementation supports rewi...
 
virtual bool SupportsRewind() const =0
Whether the subclass implementation supports rewinding.
 
virtual const char * GetCurrentItem(FieldOffset &p_reclen)=0
Returns the current serialized item that a previous Next() call moved this iterator to.
 
A pure abstract iterator over items (i.e., plain byte arrays).
Definition: ItemIterator.h:18
 
virtual uint64_t SavePosition() const =0
Saves the current posision if the subclass implementation supports rewinding.
 
virtual ~ItemIterator()
Destructor.
Definition: ItemIterator.h:23