...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiRemoteGetHashedAttrInstancesBN(SdaiServerContext serverContextId,
SdaiModel modelId,
SdaiString entityName,
SdaiString attributeName,
SdaiString attrStringValue,
SdaiInteger attrIntegerValue,
SdaiInteger maxBufferSize,
SdaiInteger *index,
SdaiInteger *numberOfHits,
SdaiInstance *resultBuffer,
SdaiInvocationId *edmiInvocationId);
|
Search the specified model for the instances with an attribute value equal to the specified attribute. The attribute is specified by name via the arguments <entityName> and <attributeName>. Number of instances found is returned via the argument <numberOfHits>.
...
If no attribute hash table is defined for the specified attribute, no sequential search is performed and the function returns an error code.
...
Arguments
...
Type | Name | Comment |
SdaiServerContext | serverContextId | Context identification, from edmiDefineServerContext |
SdaiModel | modelId | The modelId that uniquely identifies the edmModel in the remote EDMdatabase . |
SdaiString | entityName | The name of the entity that defines the attribute of interrest. Entity names are case insensitive. |
SdaiString | attributeName | The name of the attribute of interrest. Attribute names are case insensitive. |
SdaiString | attrStringValue | If the attribute is of <string type>, use this argument to specify the attribute value to search for. |
SdaiInteger | attrIntegerValue | If the attribute is of <integer type>, use this argument to specify the attribute value to search for. |
SdaiInteger | maxBufferSize | The size of the buffer in which the indexes of all the matching aggregate elements will be returned. The number of returned indexes will never exceed this number. |
SdaiInteger | *index |
|
SdaiInteger | *numberOfHits |
|
SdaiInstance | *resultBuffer | A buffer, allocated by the calling application, that will receive the indexes of the matching aggregate elements. Use the <maxBufferSize> argument to prevent writing past the end of this buffer. |
SdaiInvocationId | *edmiInvocationId | Currently not used. |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
|
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|