import GraphDataModelOperationResult from "@arcgis/core/rest/knowledgeGraph/GraphDataModelOperationResult.js";const GraphDataModelOperationResult = await $arcgis.import("@arcgis/core/rest/knowledgeGraph/GraphDataModelOperationResult.js");- Inheritance:
- GraphDataModelOperationResult→
Accessor
- Subclasses:
- GraphAddFieldIndexResult, GraphAddNamedTypesResult, GraphAddPropertyResult, GraphDeleteFieldIndexResult, GraphDeleteNamedTypeResult, GraphDeletePropertyResult, GraphUpdateNamedTypesResult, GraphUpdatePropertyResult, GraphUpdateSearchIndexResult
- Since
- ArcGIS Maps SDK for JavaScript 4.33
The result returned after modifying a knowledge graph data model. This contains information on the number of modifications made, errors encountered when executing the operation or errors encountered decoding the results.
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 |
|---|---|---|
declaredClass readonly inherited | ||
| | ||
| | ||
| | ||
| |
results
Property
- Type
- Array<ResultsObject>
Information about the add, update or delete modifications made to the data model.
updatedKnowledgeGraph
Property
- Type
- KnowledgeGraph | null
The updated knowledge graph with the applied additions, updates, and deletions.
Type definitions
ResultsObject
Type definition
Information about the success of adding a new entity type or relationship type to the graph.
name
Property
- Type
- string
The name based on the operation that created the results e.g. namedType, graph property name, index names etc.