Defined in file: hzDatabase.h

Derivative of: hdbIndex

hdbIndexUkey (unique key index), ensures objects in a repository are unique on the member to which the index applies. hdbIndexUkey can be applied to members with any string like or numeric data type with a maximum population of 1. hdbIndexUkey is implimented as direct, 1:1 mappings between values and object ids. Thus, for every value found in the index, there will be a single object in the repository that will have that value for the applicable data class member. hdbIndexUkey is generally applied to inherently unique data, such as usernames and email addresses. Note that as hdbIndexUkey can be applied to members with either string like or numeric data types, the mapping regime must be able to cope with this. By means of a union of map pointers, the maping can be between a key of string or a 64-bit or 32-bit number - and the 32-bit object id.

Constructors/Detructors

hdbIndexOrdr*hdbIndexOrdr(void)
void~hdbIndexOrdr(void)

Public Methods:

hdbBasetypeBasetype(void)
hzEcodeDelete(hzAtom& A)
voidHalt(void)
hzEcodeInit(hdbObjRepos* pRepos)hzString& mbrName, hdbBasetype eType,
hzEcodeInsert(hzAtom& A)uint32_t objId,
hzEcodeSelect(uint32_t& objId)hzAtom& key,
hdbIdxtypeWhatami(void)

Member Variables:

boolm_bInitInit state
hdbBasetypem_eBasetypeThe type
_ptrsetm_keysThe key