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

Version 1 Next »

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

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


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;



  • No labels