Code Block |
---|
The Persistent attribute hash table concept cover attributes of the following data types:
SdaiString / sdaiSTRING
SdaiInteger /sdaiINTEGER
SdaiInstance / sdaiINSTANCE
EdmiPackedDate / edmPACKED_DATE
language | cpp |
---|
theme | Confluence |
---|
|
FUNCTION xpxDefinePersistentAttrHashTable (entityId : GENERIC;
attrId : GENERIC;
options : INTEGER;
hashTableWidth : INTEGER;
stringLength : INTEGER)
status : INTEGER;
FUNCTION xpxDefinePersistentAttrHashTableBN (schemaName : STRING;
entityName : STRING;
attributeName : STRING;
options : INTEGER;
hashTableWidth : INTEGER;
stringLength : INTEGER)
status : INTEGER;
FUNCTION xpxDefinePersistentAttrHashTableBNEx (schemaName : STRING;
entityNames : AGGREGATE OF STRING;
attributeName : STRING;
options : INTEGER;
hashTableWidth : INTEGER;
stringLength : INTEGER)
status : INTEGER;
FUNCTION xpxGetPersistentAttrHashTable (modelId : GENERIC;
entityName : STRING;
attributeName : STRING;
entityIndex : INTEGER;
VAR nextEntityIndex : INTEGER;
VAR attrHashTableDescrs : SET OF GENERIC)
status : INTEGER;
FUNCTION xpfGetHashedAttrInstance (modelId : GENERIC;"
attrId : GENERIC;"
attrValue : GENERIC)"
matchingInstanceId : GENERIC;
FUNCTION xpfGetHashedAttrInstanceEx (modelId : GENERIC;
entityId : GENERIC;
attrId : GENERIC;
attrValue : GENERIC)
matchingInstanceId : GENERIC;
FUNCTION xpfGetHashedAttrInstanceBN (modelId : GENERIC;
entityName : STRING;
attributeName : STRING;
attrValue : GENERIC)
matchingInstanceId : GENERIC;
FUNCTION xpxGetHashedAttrInstances (modelId : GENERIC;
attrId : GENERIC;
attrValue : GENERIC;
index : INTEGER;
maxHits : INTEGER;
VAR indexOfLastFound : INTEGER;
VAR matchingInstances : SET OF GENERIC)
rstat : INTEGER;
FUNCTION xpxGetHashedAttrInstancesBN (modelId : GENERIC;
entityName : STRING;
attributeName : STRING;
attrValue : GENERIC;
index : INTEGER;
maxHits : INTEGER;
VAR indexOfLastFound : INTEGER;
VAR matchingInstances : SET OF GENERIC)
rstat : INTEGER;
FUNCTION xpxGetHashedDateInterval (modelId : GENERIC;"
entityNameOrEntityId : GENERIC;"
attributeNameOrAttributeId : GENERIC;"
firstDate : INTEGER;" --EdmiPackedDate is compatible with INTEGER
lastDate : INTEGER;" --EdmiPackedDate is compatible with INTEGER
index : INTEGER;"
maxHits : INTEGER;"
VAR indexOfLastFound : INTEGER;"
VAR actualHits : INTEGER;"
VAR matchingInstances : SET OF GENERIC)
status : INTEGER;
|
This function is used to define a persistent hash table to increase search speed in the database. This function defines attribute hash table connected to the specified attribute in the specified schema and is equivalent to edmiDefinePersistentAttrHashTable.
Arguments
...
Insert excerpt |
---|
| US:_a_entityId |
---|
| US:_a_entityId |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| US:_a_attrId |
---|
| US:_a_attrId |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| US:_a_options_XPX |
---|
| US:_a_options_XPX |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| US:_a_hashTableWidth |
---|
| US:_a_hashTableWidth |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| US:_a_stringLength |
---|
| US:_a_stringLength |
---|
nopanel | true |
---|
|
Return Value
...
Insert excerpt |
---|
| US:_r_XPX_Return_Value |
---|
| US:_r_XPX_Return_Value |
---|
nopanel | true |
---|
|
Options
...
Insert excerpt |
---|
| US:_o_DELETE_ATTRIBUTE_HASH_TABLE |
---|
| US:_o_DELETE_ATTRIBUTE_HASH_TABLE |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| US:_o_REDEFINE_ATTRIBUTE_HASH_TABLE |
---|
| US:_o_REDEFINE_ATTRIBUTE_HASH_TABLE |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| US:_o_SUBTYPES |
---|
| US:_o_SUBTYPES |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| US:_o_FIXED_STRING_LENGTH |
---|
| US:_o_FIXED_STRING_LENGTH |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| US:_o_UNIQUE_ATTRIBUTE_VALUES |
---|
| US:_o_UNIQUE_ATTRIBUTE_VALUES |
---|
nopanel | true |
---|
|
Example
...
<example missing>
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
showSpace | false |
---|
cql | label = "hashedattribute" and parent = "5636522" |
---|
|