edmiRemoteGetPersistentAttrHashTable
Â
EdmiError edmiRemoteGetPersistentAttrHashTable(SdaiServerContext serverContextId, SdaiModel modelId, SdaiString entityName, SdaiString attributeName, SdaiInteger *entityIndex, SdaiInteger *attrHashTables, SdaiAttrHashTable *data, SdaiInvocationId *edmiInvocationId);
Searches the specified model for definitions of persistent attribute hash tables. For each hash table a structure of type tSdaiAttrHashTable (see below) is returned. If both entity name and attribute name are specified, information about a possible persistent attribute hash table for that attribute is returned. If only entity name is specified, information about all persistent attribute hash tables for that entity is returned. If not the entity name is specified, information about all persistent attribute hash tables for the entities with entity index equal or greater to the argument entityIndex are returned.
typedef struct SDAI_ATTR_HASH_TABLE { SdaiInstance attrHashTableId; SdaiString entityName; SdaiString attributeName; EdmiPackedDate creationTime; SdaiOptions options; SdaiInteger hashTableWidth; SdaiInteger stringLength; } tSdaiAttrHashTable;
Arguments
Type | Name | Comment |
SdaiServerContext | serverContextId | Context identification, from edmiDefineServerContext |
SdaiModel | modelId | Optional. The modelId that uniquely identifies the dictionaryModel or a dataModel in the remote EDMdatabase |
SdaiString | entityName | Optional. The name of the entity. The entity must be defined by the underlying Express Schema of the edmModel that contains the instance given by the <modelId> argument. Entity names are case insensitive. |
SdaiString | attributeName | Optional. Specifies the name of the attribute. Attribute names are case insensitive. |
SdaiInteger | *entityIndex | Optional. Used if entityName == NULL. Then it is the index of the first entity in the model, to search for persistent attribute hash tables. |
SdaiInteger | *attrHashTables | Address of variable where number of attribute hash tables is returned. |
SdaiAttrHashTable | *data | The address of array pointer to the tSdaiAttrHashTable array. After use the array must be released by edmiFree. |
SdaiInvocationId | *edmiInvocationId | Currently not used. |
Return Value
Â
Options
 Â
Â
Example
Â
 <missing code>
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â