contextgraph schema rename relationshipLabel - spectrum_platform - 23.1

spectrum-inline

Product type
Software
Portfolio
Enrich
Integrate
Locate
Verify
Product family
Spectrum
Product
Spectrum > Geocoding > Enterprise Tax
Spectrum > GeoEnrichment
Spectrum > Web Services
Spectrum > Spatial > Spectrum Spatial
Spectrum > Spectrum Platform
Spectrum > Data Integration
Spectrum > Quality > Addressing
Spectrum > Quality > Spectrum Quality
Spectrum > Discovery
Spectrum > Dataflow Designer
Spectrum > Quality > Context Graph
Version
23.1
Language
English
Product name
Precisely Spectrum
Title
spectrum-inline
First publish date
2007
ft:lastEdition
2023-06-02
ft:lastPublication
2023-06-02T09:54:39.526000

Rename a relationship label.

Use the contextgraph schema rename relationshipLabel command to rename a Context Graph model relationship label.

Usage

contextgraph schema rename relationshipLabel --m model --r relationshipLabel --nr newRelationshipLabel --s sourceEntityType --t targetEntityType --w waitForComplete
Required Argument Description
Yes --m model Specifies the name of the model whose relationship label you want to rename.
Yes --r relationshipLabel Specifies the relationship label you want to rename.
Yes --nr newRelationshipLabel Specifies the new relationship label name.
No --s sourceEntityType Specifies the type of source entity.
No --t targetEntityType Specifies the type of target entity.
No --w waitForComplete Specifies whether to wait for jobs to complete in a synchronous mode, where waitForComplete is one of the following:
true
Waits for jobs to complete.
false
Does not wait for jobs to complete. This is the default setting.

Example

This example renames the relationshipLabel Hired to Employed in a model called Staff.

contextgraph schema rename relationshipLabel --m Staff --r Hired --nr Employed