#include <Table.h>
Inherited by IndexKeyEqualCursor, KeyEqualCursor, and TableScanCursor.
Public Member Functions | |
virtual void | setTuple (const char *tuple)=0 |
Set the input tuple in this cursors internal context. | |
virtual void | reset ()=0 |
Point the cursor at the first valid row. | |
virtual bool | avail () const =0 |
Return true iff row_data will return data for a valid row. | |
virtual const char * | rowData () const =0 |
Returns a pointer to the data of the current row. | |
virtual void | deleteRow () const =0 |
Delete the current row from the database. | |
virtual string | as_string () const |
String representation of this cursor. | |
virtual Cursor & | operator++ ()=0 |
Move forward to the next row. | |
virtual | ~Cursor () |
|
|
|
String representation of this cursor.
Reimplemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.
|
|
Return true iff row_data will return data for a valid row.
Implemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.
|
|
Delete the current row from the database. Valid only if avail(). Implemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.
|
|
Move forward to the next row.
Implemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.
|
|
Point the cursor at the first valid row. This will need to be called before the cursor is valid after construction. Implemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.
|
|
Returns a pointer to the data of the current row. Valid only if avail(). Implemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.
|
|
Set the input tuple in this cursors internal context. Must be called before reset, if the cursor is going to use data from the input tuple. Implemented in TableScanCursor, KeyEqualCursor, and IndexKeyEqualCursor.
|