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