Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The Persistent attribute hash table concept cover attributes of the following data types:

SdaiString / sdaiSTRING
SdaiInteger /sdaiINTEGER
SdaiInstance / sdaiINSTANCE
EdmiPackedDate / edmPACKED_DATE

FUNCTION xpxDefinePersistentAttrHashTableBN (schemaName     : STRING;
                                             entityName     : STRING;
                                             attributeName  : STRING;
                                             options        : INTEGER;
                                             hashTableWidth : INTEGER;
                                             stringLength   : INTEGER)
                                             status         : INTEGER;    
                                                     

The xpxDefinePersistentAttrHashTableBN function is used to define a persistent hash table to increase search speed in the database. A hash table is a persistent data structure in the database that speeds up the search for instances of one entity in one schema via the value of one attribute. Input parameters are defined for corresponding edmi-function.

The hash table is created when a data model of the specified schema is created and it is maintained during the entire lifetime of the model or until it is deleted. If there exist a data model based on the specified schema when the hash table is defined, this model do not get a hash table. In this case the model must be exported to a STEP file, deleted and recreated from the STEP file. Likewise is not an attribute hash table of data model removed if the attribute hash table definition is removed from the underlying schema of the data model.

This function defines attribute hash table connected to the specified attribute in the specified schema.

Related functions: xpxDefinePersistentAttrHashTablexpfGetHashedAttrInstanceBNxpxGetHashedAttrInstancexpxGetHashedAttrInstancesBN and xpxGetHashedAttrInstances.

This function is equivalent to the EDMinterfaceTM function edmiDefinePersistentAttrHashTableBN.

  • No labels