contextgraph schema rename relationshipLabel - spectrum_platform - 23.1

spectrum-inline

Product type
Software
Portfolio
Enrich
Integrate
Locate
Verify
Product family
Spectrum
Product
Spectrum > Dataflow Designer
Spectrum > Spectrum Platform
Spectrum > Quality > Spectrum Quality
Spectrum > Quality > Context Graph
Spectrum > Web Services
Spectrum > Geo Addressing > Enterprise Tax
Spectrum > Discovery
Spectrum > Data Integration
Spectrum > Spatial > Spectrum Spatial
Spectrum > GeoEnrichment
Spectrum > Quality > Addressing
Version
23.1
Language
English
Product name
Precisely Spectrum
Title
spectrum-inline
First publish date
2007
Last updated
2023-06-02
Published on
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