#include <hashtab.h>
Static Public Member Functions | |
| static dbHashFunction | getHashFunction (int version) |
| static oid_t | allocate (dbDatabase *db, size_t nRows=0) |
| static void | insert (dbDatabase *db, oid_t hashId, oid_t rowId, int type, int sizeofType, int offs, size_t nRows) |
| static void | remove (dbDatabase *db, oid_t hashId, oid_t rowId, int type, int sizeofType, int offs) |
| static void | find (dbDatabase *db, oid_t hashId, dbSearchContext &sc) |
| static void | drop (dbDatabase *db, oid_t hashId) |
| static void | purge (dbDatabase *db, oid_t hashId) |
Static Private Member Functions | |
| static unsigned | stringHashFunction (byte *key, int keylen) |
Private Attributes | |
| nat4 | size |
| nat4 | used |
| oid_t | page |
Static Private Attributes | |
| static int const | keySize [] |
| unsigned stringHashFunction | ( | byte * | key, | |
| int | keylen | |||
| ) | [inline, static, private] |
| dbHashFunction getHashFunction | ( | int | version | ) | [static] |
| oid_t allocate | ( | dbDatabase * | db, | |
| size_t | nRows = 0 | |||
| ) | [static] |
| void insert | ( | dbDatabase * | db, | |
| oid_t | hashId, | |||
| oid_t | rowId, | |||
| int | type, | |||
| int | sizeofType, | |||
| int | offs, | |||
| size_t | nRows | |||
| ) | [static] |
| void remove | ( | dbDatabase * | db, | |
| oid_t | hashId, | |||
| oid_t | rowId, | |||
| int | type, | |||
| int | sizeofType, | |||
| int | offs | |||
| ) | [static] |
| void find | ( | dbDatabase * | db, | |
| oid_t | hashId, | |||
| dbSearchContext & | sc | |||
| ) | [static] |
| void drop | ( | dbDatabase * | db, | |
| oid_t | hashId | |||
| ) | [static] |
| void purge | ( | dbDatabase * | db, | |
| oid_t | hashId | |||
| ) | [static] |
BEGIN_FASTDB_NAMESPACE int const keySize [static, private] |
Initial value:
{
1,
1,
2,
4,
8,
4,
8,
0,
sizeof(oid_t),
-1,
-1
}