関連性ラベルの名前を変更します。
contextgraph schema rename relationshipLabel コマンドは、Context Graph モデルの関連性ラベルの名前を変更します。
使用方法
contextgraph schema rename relationshipLabel --m model --r relationshipLabel --nr newRelationshipLabel --s sourceEntityType --t targetEntityType --w waitForComplete必須 | 引数 | 説明 |
---|---|---|
はい | --m model | 関連性ラベルの名前を変更するモデルの名前を指定します。 |
はい | --r relationshipLabel | 名前を変更する関連性ラベルを指定します。 |
はい | --nr newRelationshipLabel | 関連性ラベルの新しい名前を指定します。 |
いいえ | --s sourceEntityType | ソース エンティティのタイプを指定します。 |
いいえ | --t targetEntityType | ターゲット エンティティのタイプを指定します。 |
いいえ | --w waitForComplete | ジョブの完了まで同期モードで待機するかどうかを指定します。ここで、waitForComplete は次のいずれかです。
|
例
この例では、Staff というモデルの関連性ラベル Hired の名前を Employed に変更します。
contextgraph schema rename relationshipLabel --m Staff --r Hired --nr Employed