import GraphAddNamedTypesResult from "@arcgis/core/rest/knowledgeGraph/GraphAddNamedTypesResult.js";const GraphAddNamedTypesResult = await $arcgis.import("@arcgis/core/rest/knowledgeGraph/GraphAddNamedTypesResult.js");- Inheritance
- GraphAddNamedTypesResult→
GraphDataModelOperationResult→ Accessor
- Since
- ArcGIS Maps SDK for JavaScript 4.33
The result returned when adding a new entity type or relationship type to a knowledge graph. This contains the names of the new types, the number of types added and any errors encountered.
Constructors
Constructor
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
See the properties table for a list of all the
properties that may be passed into the constructor.
Properties
Any properties can be set, retrieved or listened to. See the
Watch for changes
topic.
| Property | Type | Class |
|---|---|---|
| readonly inherited | ||
| inherited | ||
| | ||
| | ||
| | ||
| | ||
| inherited | ||
| inherited | ||
| inherited |
decoderError
inherited Property
Inherited from: GraphDataModelOperationResult
Any errors encountered while decoding the results.
entityAddResultsCount
Property
- Type
- number
The number of entity types added to the graph.
- Default value
- 0
relationshipAddResults
Property
- Type
- Array<ResultsObject>
Information specific to each added relationship type.
relationshipAddResultsCount
Property
- Type
- number
The number of relationship types added to the graph.
- Default value
- 0
results
inherited Property
- Type
- Array<ResultsObject>
Inherited from: GraphDataModelOperationResult
Information about the add, update or delete modifications made to the data model.
resultsCount
inherited Property
- Type
- number
Inherited from: GraphDataModelOperationResult
The number of modifications made to the graph.
- Default value
- 0
updatedKnowledgeGraph
inherited Property
- Type
- KnowledgeGraph | null
Inherited from: GraphDataModelOperationResult
The updated knowledge graph with the applied additions, updates, and deletions.