hub schema import
Imports a model.
Use the hub schema import command to import a Context Graph model, its metadata, its monitors, and its queries. If you do not specify a path where you would like the model imported, the system will look for a file of the name you specify in the current working directory.
Usage
hub schema import --m model --f fileRequired | Argument | Description |
---|---|---|
Yes | --m model | Specifies the name of the model whose schema you want to import. |
No | --p path | (Deprecated) Specifies the path for the location of the model whose schema you are importing. This path is relative to where you have installed the Spectrum Technology Platform server. |
No | --f file | Specifies the path for the location of the model whose schema you are importing. This path is relative to where you have installed the Spectrum Technology Platform Administration Utility. |
Example
This example imports the schema for a model called Fraud_2015 from the GraphModels directory on the C drive.
hub schema import --m Fraud_2015 --f C:\GraphModels