関数のファイル情報を更新します。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| FileFolderPath |
string |
任意 |
関数ファイルを格納するフォルダのパス。 |
Business_process/First_Business_Process/function/string_processing_function |
| ProjectId |
integer |
任意 |
DataWorks ワークスペースの ID。確認するには、右上隅のレンチアイコンをクリックし、ワークスペース管理ページに移動します。 |
10000 |
| FunctionType |
string |
必須 |
関数のカテゴリ。[関数の作成]フォーム内の「関数タイプ」フィールドに対応します。有効な値:MATH(数学関数)、AGGREGATE(集計関数)、STRING(文字列処理関数)、DATE(日付処理関数)、ANALYTIC(ウィンドウ関数)、OTHER(その他の関数)。 |
STRING |
| ClassName |
string |
必須 |
関数が定義されているクラス名。[関数の作成]フォーム内の「クラス名」フィールドに対応します。 |
com.alibaba.DataWorks.api.udf.StringConcat |
| Resources |
string |
必須 |
関数が参照するリソース名のカンマ区切りリスト。[関数の作成]フォーム内の「リソース一覧」フィールドに対応します。 |
string-concat-1.0.0.jar,commons-lang-2.6.jar |
| UdfDescription |
string |
任意 |
関数の目的に関する説明。[関数の作成]フォーム内の「説明」フィールドに対応します。 |
Concatenate several strings to generate a new string |
| CmdDescription |
string |
任意 |
関数を呼び出すためのコマンド形式。[関数の作成]フォーム内の「コマンド形式」フィールドに対応します。 |
StringConcat(String... substrs) |
| ParameterDescription |
string |
任意 |
関数のパラメーターに関する説明。[関数の作成]フォーム内の「パラメーターの説明」フィールドに対応します。 有効な値:
|
List of strings to be connected |
| ReturnValue |
string |
任意 |
戻り値に関する説明。[関数の作成]フォーム内の「戻り値」フィールドに対応します。 |
New strings generated by concatenating all strings before and after the input order |
| Example |
string |
任意 |
関数の呼び出し方法を示す例。[関数の作成]フォーム内の「例」フィールドに対応します。 |
StringConcat('a', 'b', 'c') |
| ProjectIdentifier |
string |
任意 |
DataWorks ワークスペースの固有識別子。ワークスペース切り替え時に Data Studio ページ上部に表示される識別子です。 この API 呼び出しで対象となる DataWorks ワークスペースを特定するには、本パラメーターまたは ProjectId のいずれかを指定する必要があります。 |
dw_project |
| FileId |
string |
必須 |
ファイル ID。 |
10000001 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答。 |
||
| HttpStatusCode |
integer |
HTTP ステータスコード。 |
200 |
| ErrorMessage |
string |
エラーメッセージ。 |
The connection does not exist. |
| RequestId |
string |
このリクエストの固有 ID。エラー発生時のトラブルシューティングに使用します。 |
0000-ABCD-EFG**** |
| ErrorCode |
string |
エラーコード。 |
Invalid.Tenant.ConnectionNotExists |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値:
|
true |
例
成功レスポンス
JSONJSON
{
"HttpStatusCode": 200,
"ErrorMessage": "The connection does not exist.",
"RequestId": "0000-ABCD-EFG****",
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"Success": true
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 429 | Throttling.System | The DataWorks system is busy. Try again later. | |
| 429 | Throttling.User | Your request is too frequent. Try again later. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。