CreateSchema
Generates a schema file that defines the structure of a specified Box table or view for integration or analysis.
CreateSchema
データモデル内の既存のテーブルまたはビューからローカルスキーマファイル(.rsd)を作成します。
スキーマファイルは、このプロシージャが実行されると、Location 接続プロパティで設定されたディレクトリに作成されます。ファイルを編集してカラムを含めたり除外したり、カラム名を変更したり、カラムのデータ型を変更したりできます。
本製品 はLocation を確認し、.rsd ファイルの名前がデータモデルのテーブルまたはビューに一致するかどうかを判断します。重複がある場合、スキーマファイルはデータモデル内のこのテーブルのデフォルトインスタンスよりも優先されます。既存のテーブルまたはビューに一致しないスキーマファイルがLocation に存在する場合、新しいテーブルまたはビューのエントリが本製品 のデータモデルに追加されます。
Input
| Name | Type | Description |
| TableName | String | The name of the Box table or view for which the schema definition will be generated. |
| FileName | String | The full file path and name where the generated schema will be saved (for example, 'C:\\Users\\User\\Desktop\\Box\\CustomTable.rsd'). |
Result Set Columns
| Name | Type | Description |
| Result | String | Indicates whether the schema generation completed successfully or failed. |
| FileData | String | The generated schema file data encoded in Base64, returned when FileName and FileStream are not specified. |