Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
FUNCTION xpfGetHashedValue(hashTableIndex, index :

...

 INTEGER;
                           hashedValue           : GENERIC)
                           instanceId            : GENERIC;
                

The xpfGetHashedValue function looks up in the specified hash table for instances that match the given ?lookup value?. The hashTableIndex identifies the actual hash table. The hashTableIndex is returned by a previous xpxMakeHashTable operation when the actual hash table was created. The argument hashedValue is the actual value of the attribute which is specified as key. The argument index is the index in the hash table for all elements in the hash table that exactly matches the specified hashedValue. index start with the value 1. instanceId is the returned value that uniquely identifies the instance in the hash table that matches the ?lookup value?: hashTableIndex, index and hashedValue.
This function returns the constant xpxNullId when no matching instance is found in the actual hash table.
Using the mechanism of hash table will considerable improve performance when searching a collection of instances for matching attribute values.
Related operations: xpxGetHashedValue, xpfMakeHashTable, xpxMakeHashTable, xpxDeleteHashTable.

Arguments

...

TypeNameComment
INTEGERhashTableIndex 
INTEGERindex 
GENERIChashedValue 

Return Value

...

 

TypeNameComment
GENERICinstanceIdcomments

Options

...

 

Example

...

Code Block
languagecpp
<Missing Example>

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "extension_schema" and parent = "5636522"