CMDBGraphQueryResult structure
The CMDBGraphQueryResult
structure holds the results that the CMDBQueryByPath
function returns. The query returns the results in a graph format or a linear format. When requested in a graph format, the query results are grouped and stored in two parts: CIs and relationships.
If the query result contains a CI with two different relationships, the CI list will includes only one entry for the specific CI. For example, if a BMC_Printer
instance is connected to two different BMC_ComputerSystem
instances, the BMC_Printer
instance is listed only once.
The CMDBGraphQueryResult
structure is a top-level result structure, which uses CMDBNodeListList
to store the list of CIs and CMDBEdgeListList
to store the list of relationships to return for the query results.
typedef struct CMDBGraphQueryResult
{
CMDBNodeListList nodeListList;
CMDBEdgeListList edgeListList;
} CMDBGraphQueryResult;
The CMDBGraphQueryResult
structure consists of the following elements:
nodeListList |
The list of |
edgeListList |
The list of |
Comments