xpxDefinePersistentAttrHashTableBN
FUNCTION xpxDefinePersistentAttrHashTableBN (schemaName : STRING; entityName : STRING; attributeName : STRING; options : INTEGER; hashTableWidth : INTEGER; stringLength : INTEGER) status : INTEGER;
Â
Â
The Persistent attribute hash table concept cover attributes of the following data types:
- SdaiString / sdaiSTRING
- SdaiInteger /sdaiINTEGER
- SdaiInstance / sdaiINSTANCE
- EdmiPackedDate / edmPACKED_DATE
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.
Â
Arguments
Return Value
Options
Â
Example
<example missing>
Â
See also
Filter by label
There are no items with the selected labels at this time.