dbHashTable Class Reference

#include <hashtab.h>

List of all members.

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 []


Member Function Documentation

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]


Member Data Documentation

nat4 size [private]

nat4 used [private]

oid_t page [private]

BEGIN_FASTDB_NAMESPACE int const keySize [static, private]

Initial value:

 {
    1,  
    1,  
    2,  
    4,  
    8,  
    4,  
    8,  
    0,  
    sizeof(oid_t), 
    -1, 
    -1  
}


Online Library Docs

sipXecs home page

Version 4.2.1-018930 2010-07-31T01:13:23 build16 abuild