#include <btfilescan.h>
BTreeFileScan implements the scan interface into B+-Tree index.
Methods
Status GetNext(RecordID&
rid, char *key)
Retrieve the next entry (key, rid) from the B+-Tree. Please note that the order of key and rid is different from BTreeFile methods. Return OK if succesfull, return DONE if there are no more entry is the B+-Tree. (The entry should still return OK.)Note: key pointer should be allocated enough space before calling.