#include <Index.h>
Inheritance diagram for Index:


Public Member Functions | |
| virtual DbRetVal | insert (TableImpl *tbl, Transaction *tr, void *indexPtr, IndexInfo *info, void *tuple, bool undoFlag)=0 |
| virtual DbRetVal | remove (TableImpl *tbl, Transaction *tr, void *indexPtr, IndexInfo *info, void *tuple, bool undoFlag)=0 |
| virtual DbRetVal | update (TableImpl *tbl, Transaction *tr, void *indexPtr, IndexInfo *info, void *tuple, bool undoFlag)=0 |
Static Public Member Functions | |
| static Index * | getIndex (IndexType type) |
| static void | init () |
| static void | destroy () |
Definition at line 68 of file Index.h.
| static void Index::destroy | ( | ) | [inline, static] |
Definition at line 78 of file Index.h.
Referenced by Connection::~Connection().
00078 { 00079 usageCount--; 00080 if(!usageCount) { 00081 if(!hIdx) { delete hIdx; hIdx=NULL; } 00082 } 00083 }
Here is the caller graph for this function:

| static void Index::init | ( | ) | [inline, static] |
Definition at line 77 of file Index.h.
Referenced by Connection::open().
Here is the caller graph for this function:

| virtual DbRetVal Index::insert | ( | TableImpl * | tbl, | |
| Transaction * | tr, | |||
| void * | indexPtr, | |||
| IndexInfo * | info, | |||
| void * | tuple, | |||
| bool | undoFlag | |||
| ) | [pure virtual] |
Implemented in HashIndex.
| virtual DbRetVal Index::remove | ( | TableImpl * | tbl, | |
| Transaction * | tr, | |||
| void * | indexPtr, | |||
| IndexInfo * | info, | |||
| void * | tuple, | |||
| bool | undoFlag | |||
| ) | [pure virtual] |
Implemented in HashIndex.
| virtual DbRetVal Index::update | ( | TableImpl * | tbl, | |
| Transaction * | tr, | |||
| void * | indexPtr, | |||
| IndexInfo * | info, | |||
| void * | tuple, | |||
| bool | undoFlag | |||
| ) | [pure virtual] |
Implemented in HashIndex.
1.4.7