xpxGetPersistentAttrHashTableProperties
FUNCTION xpxGetPersistentAttrHashTableProperties (modelId : GENERIC; attrHashTableId : GENERIC; VAR hashTableWidth : INTEGER; VAR entries : INTEGER; VAR subEntries : INTEGER; VAR databaseBlocks : INTEGER; VAR entriesPerBuckets : LIST OF INTEGER; VAR subEntriesPerBuckets : LIST OF INTEGER; VAR databaseBlocksPerBuckets : LIST OF INTEGER) status : INTEGER;
Function to retrieve properties of an given EDMpersitentAttrHashTable. This function has variable number of arguments, i.e., it can be invoked with minimum 6 argument and maximum 9 arguments.
Â
Arguments
1 | Type | Name | Comment |
2 | GENERIC | modelId | Specifies the EDMdataModel that locates the actual EDMpersitentAttrHashTable. |
3 | GENERIC | attrHashTableId | An instanceId that in combination with the argument "modelId" uniquely identifies an EDMpersitentAttrHashTable in an EDMdatabase. The "attrHashTableId" will be returned by a xpxGetPersistentAttrHashTable() operation |
4 | INTEGER | hashTableWidth | The width (number of buckets) of the actual EDMpersitentAttrHashTable will be returned in this argument. |
5 | INTEGER | entries | The total number of entries (elements) in the actual EDMpersitentAttrHashTable will be returned in this argument. |
6 | INTEGER | subEntries | The total number of sub entries (sub elements)Â in the actual EDMpersitentAttrHashTable will be returned in this argument. |
7 | INTEGER | databaseBlocks | The total number of database blocks in the EDMdatabase the actual EDMpersitentAttrHashTable occupies will be returned in this argument. |
8 | LIST OF INTEGER | entriesPerBuckets | Optional argument. When specified, the number of elements per bucket (hash table distribution) will be returned as a LIST of integer. The index in this list is the same as the "bucket index" in the actual EDMpersitentAttrHashTable. |
9 | LIST OF INTEGER | subEntriesPerBuckets | Optional argument. When specified, the number of sub elements per bucket will be returned as a LIST of integer. The index in this list is the same as the "bucket index" in the actual EDMpersitentAttrHashTable. A "subEntry" in an EDMpersitentAttrHashTable, is an entry that holds an instanceId that share the same string value with other instanceIds. In other words, the number of "subEntries" gives the number of entries with identical string value in the actual bucket. |
10 | LIST OF INTEGER | databaseBlocksPerBuckets | Optional argument. When specified, the number of database blocks in EDMdatabase occupied per nucket will be returned in the LIST of integer aggregate. The index in this list is the same as the "bucket index" in the actual EDMpersitentAttrHashTable. |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.
Options
Â
Example
<Missing Example>
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â