import ReplicaDefinition from "@arcgis/core/rest/knowledgeGraph/ReplicaDefinition.js";
Inheritance
ReplicaDefinitionAccessor
Since
ArcGIS Maps SDK for JavaScript 5.1

A replica definition returned from a knowledge graph replica endpoint.

Constructors

Constructor

Constructor

Parameters

ParameterTypeDescriptionRequired
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.

creationDate

Property
Type
Date | null | undefined

Date the replica was created.

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor
Since
ArcGIS Maps SDK for JavaScript 4.7

The name of the class. The declared class name is formatted as esri.folder.className.

lastSyncDate

Property
Type
Date | null | undefined

Date of the last replica sync.

replicaFilters

Property
Type
ReplicaFilters | null | undefined

Filters that define the replica scope.

replicaId

Property
Type
string | null | undefined

Unique identifier of the replica.

replicaName

Property
Type
string | null | undefined

Name of the replica.

replicaOwner

Property
Type
string | null | undefined

Owner of the replica.

syncDirection

Property
Type
ReplicaSyncDirection | null | undefined

Synchronization direction for the replica.

Type definitions

ReplicaReference

Type definition

ReplicaProvenanceOptions

Type definition
Type
{ includeProvenance: true; includeSourceDocuments?: boolean; } | { includeProvenance: false; }

ReplicaDocumentOptions

Type definition
Type
{ includeConnectedDocuments: true; includeDocumentProvenance: true; includeDocumentSourceDocuments?: boolean; } | { includeConnectedDocuments: true; includeDocumentProvenance?: false; } | { includeConnectedDocuments: false; }

ReplicaNamedTypeDefinition

Type definition

Entity type and relationship type definitions included in the replica definition.

At least one of entityTypeReplicaDefinitions or relationshipTypeReplicaDefinitions must be provided with at least one definition.

typeName

Property
Type
string

The entity type or relationship type name.

openCypherWhereClause

Property
Type
string | undefined

An openCypher where clause to filter the specific entities or relationships included in the replica.

provenanceOptions

Property
Type
ReplicaProvenanceOptions | null | undefined

Options for specifying how provenance is included in the replica.

parameters

Property
Type
Record<string, ValidBindParameterType> | null | undefined

Bind parameters to send with the openCypher query to define the replica.

ReplicaEntityTypeDefinition

Type definition

Entity type definitions included in the replica static definition.

At least one of entityTypeReplicaDefinitions or relationshipTypeReplicaDefinitions must be provided with at least one definition.

ReplicaRelationshipTypeDefinition

Type definition

Relationship type definitions included in the replica static definition.

At least one of entityTypeReplicaDefinitions or relationshipTypeReplicaDefinitions must be provided with at least one definition.

ReplicaStaticDefinition

Type definition

The definition of a replica including the entity types and relationship types to be included. Additional filters can be applied to each type to get a subset of data.

entityTypeReplicaDefinitions

Property
Type
ReplicaEntityTypeDefinition[] | null | undefined

Entity type definitions included in the replica static definition.

At least one of entityTypeReplicaDefinitions or relationshipTypeReplicaDefinitions must be provided with at least one definition.

relationshipTypeReplicaDefinitions

Property
Type
ReplicaRelationshipTypeDefinition[] | null | undefined

Relationship type definitions included in the replica static definition.

At least one of entityTypeReplicaDefinitions or relationshipTypeReplicaDefinitions must be provided with at least one definition.

ReplicaFilters

Type definition

inputQuantizationParameters

Property
Type
InputQuantizationParameters | null | undefined

Custom quantization parameters for input geometry that compresses geometry for transfer to the server. Overrides the default lossless WGS84 quantization.

inputSpatialReference

Property
Type
SpatialReference | null | undefined

Custom spatial reference for input geometry.

staticDefinition

Property
Type
ReplicaStaticDefinition

The definition of a replica including the entity types and relationship types to be included. Additional filters can be applied to each type to get a subset of data.

ReplicaSyncDirection

Type definition
Type
"bidirectional" | "upload" | "download"

ReplicaSyncDataFormat

Type definition
Type
"pbf" | "spbf" | "geoparquet" | "sqlite"

BaseReplicaOptions

Type definition

Base options shared by replica create request variants.

requestedReplicaName

Property
Type
string

Requested name to use when creating the replica.

requestedReplicaId

Property
Type
string | undefined

Optional requested replica id in UUID string format.

syncDirection

Property
Type
ReplicaSyncDirection

Synchronization direction for the replica operation.

syncDataFormat

Property
Type
ReplicaSyncDataFormat

Data format to use for replica synchronization payloads.

type

Property
Type
"reference" | "filter"

The type of the replica creation options.

ReferenceReplicaOptions

Type definition

Additional options used by executeCreateReplica() for reference replica creation.

Supertypes
BaseReplicaOptions

referenceReplica

Property
Type
ReplicaReference

Reference replica used as a create baseline.

type

Property
Type
"reference"

The type of the replica creation options.

FilterReplicaOptions

Type definition

Additional options used by executeCreateReplica() for filtered replica creation.

Supertypes
BaseReplicaOptions

replicaFilters

Property
Type
ReplicaFilters

filters to define the replica scope.

type

Property
Type
"filter"

The type of the replica creation options.