00001 /* 00002 * IndexScan.h 00003 * 00004 * Created on: Apr 4, 2010 00005 * Author: Mingmin Chen 00006 */ 00007 00008 #ifndef INDEXSCAN_H_ 00009 #define INDEXSCAN_H_ 00010 00011 #include "Common.h" 00012 #include "IndexHandle.h" 00013 00020 class IndexScan { 00021 public: 00022 IndexScan(); 00023 ~IndexScan(); 00024 00047 ReturnCode openScan(IndexHandle *indexHandle, ComparisonOp compOp, 00048 const TypedValue* value); 00049 00061 ReturnCode getNextEntry(RecordID *rid); 00062 00069 ReturnCode closeScan(); 00070 00071 }; 00072 00073 #endif /* INDEXSCAN_H_ */