InterSystems IRISでは、サンプル定義の一部は、GitHub上に公開しています。
本FAQ内で登場する Sample.Person のクラス定義とサンプルデータについては、こちら からダウンロードいただけます。
手順は以下の通りです。
- Zipとしてダウンロード
- 1を展開
- 展開フォルダ内 以下階層のクラス定義をターミナルを利用してIRISへインポート
Samples-Data-master\buildsample\Build.DataSample.cls
実行例は以下の通りです(Sample-Data-masterフォルダをc:\kitへコピーした状態での例です)。
USER>do $system.OBJ.Load("C:\kit\Samples-Data-master\buildsample\Build.DataSample.cls","ck")
USER>do ##class(Build.DataSample).Build()
This is the setup method for the Samples-Data sample, which provides several
persistent classes with data, for use with InterSystems IRIS Data Platform.
To continue, please specify the full path of the directory that contains this
sample. (This is the directory that contains the README.md and LICENSE files.)
Your input: C:\kit\Samples-Data-master
Your input: の右側には、Zip展開後 cls や buildsample フォルダが含まれる上位フォルダ=Sample-Data-masterのフルパスを指定してください。
詳細については、以下のドキュメントをご覧ください。
InterSystems IRIS で使用するサンプルのダウンロード