Model Serve
- Model Serve
- 所有产品
/api/v2/connection/source/<id>/field/<object name>
/api/v2/connection/source/name/<name>/field/<object name>
/api/v2/connection/target/<id>/field/<object name>
/api/v2/connection/target/name/<name>/field/<object name>
/api/v2/connection/source/name/my%20connection/field/customer
/api/v2/connection/<source or target>/<id>/fields?objectName=<objectName>
フィールド
| タイプ
| 説明
|
---|---|---|
id
| Long
| フィールドID。
|
name
| String
| フィールド名。
|
type
| String
| フィールドの種類
|
label
| String
| フィールドのラベル。
|
parentObject
| String
| 親オブジェクト(該当する場合)。
|
precision
| Int
| フィールドの長さ(バイト)。
|
pcType
| String
| PowerCenterのデータ型。
|
scale
| Int
| 数値の小数点以下の桁数。
|
columnIndex
| Int
| カラムのインデックス。
|
isKey
| Boolean
| フィールドがキーとして使用されるかどうかを示します。
|
isExternalId
| Boolean
| フィールドが外部IDとして使用されるかどうかを示します。
|
isSfldLookup
| Boolean
| フィールドがSalesforce IDのルックアップフィールドとして使用されるかどうかを示します。
|
isNullible
| Boolean
| フィールドにNULL値を含めることができるかどうかを示します。
|
isUnique
| Boolean
| フィールドに一意の値が必要かどうかを示します。
|
isCreateable
| Boolean
| フィールドが新しい値を承認するかどうかを示します。
|
isCalculated
| Boolean
| フィールドが計算されるかどうかを示します。
|
isUpdateable
| Boolean
| フィールドで更新が許可されるかどうかを示します。
|
isFilterable
| Boolean
| フィールドをフィルタできるかどうかを示します。
|
linkedFields
| String
| マスキング タスクの場合は、マップレットの入力フィールドにマップされるソースフィールド。
|
relatedInfos
| 各関連フィールドのfieldRelatedInfoオブジェクトに含まれる、関連するフィールドの情報。
| |
fieldId
| Long
| fieldRelatedInfoオブジェクトに含まれています。
フィールドID。
|
referenceObject
| String
| fieldRelatedInfoオブジェクトに含まれています。フィールドに含まれるオブジェクト。
|
relationshipName
| String
| fieldRelatedInfoオブジェクトに含まれています。オブジェクトとのリレーション。
|
references
| 各関連フィールドのfieldRelatedInfoオブジェクトに含まれる参照情報。
| |
fieldId
| Long
| fieldRelatedInfoオブジェクトに含まれています。
フィールドID。
|
referenceObject
| String
| fieldRelatedInfoオブジェクトに含まれています。
フィールドに含まれるオブジェクト。
|
relationshipName
| String
| fieldRelatedInfoオブジェクトに含まれています。
オブジェクトとのリレーション。
|
javaType
| String
| Javaデータ型。
|
showLabel
| Boolean
| フィールドのラベルを表示するかどうかを示します。
|
naturalOrder
| Int
| ソース内のフィールドの位置番号。
|
customProperties
| フィールドのカスタムプロパティ。
|
GET <serverUrl>/api/v2/connection/source/0002D420000000J/field/Customer Content-Type: application/xml Accept: application/xml icSessionId: <icSessionId>
/api/v2/connection/source/<id>/field/<objectName> /api/v2/connection/target/<id>/field/<objectName>
フィールド
| タイプ
| 必須
| 説明
|
---|---|---|---|
id
| Long
| はい
| フィールドID。
|
delimiter
| String
| ○
| フィールドを区切るために使用される文字。
|
textQualifier
| String
| ○
| テキスト文字列の境界を定義する引用符。
|
escapeChar
| String
| ○
| 引用符で囲まれていない文字列に埋め込まれたフィールド区切り文字の直前の文字、または引用符で囲まれた文字列内の引用符の直前の文字。
|
headerLineNo
| Int
| ○
| ヘッダー行の数。
|
firstDataRow
| Int
| ○
| ファイル内でデータが始まる行番号。
|
rowDelimiter
| Int
| --
| 改行文字。1から32までのASCII文字の10進数コードを入力します。
デフォルト値は10で、これは改行文字です。
|
consecutiveDelimiter
| Boolean
| --
| 1つ以上の連続する区切り文字を1つの文字として扱うかどうかを示します。
デフォルトはfalseです。
|
multiDelimitersAsAnd
| Boolean
| --
| 指定した区切り文字が複数の文字である場合に、その文字を1つの区切り文字として扱うか、複数の区切り文字として扱うかを示します。
デフォルトはtrueです。
|
POST <serverUrl>/api/v2/connection/source/0000010B000000000021/field/test_precision.csv 1.0 Content-Type: application/xml Accept: application/xml icSessionId { "@type": "flatFileAttrs", "delimiter": ",", "textQualifier": "'", "escapeChar": "\\" }
/api/v2/connection/source/<id>/fields?objectName=<object name> /api/v2/connection/target/<id>/fields?objectName=<object name>
フィールド
| タイプ
| 必須
| 説明
|
---|---|---|---|
formatId
| String
| ○
| 形式タイプ、例えば、Avro。
|
schema
| String
| --
| スキーマ形式。
|
POST <serverUrl>/api/v2/connection/source/0100000B00000000000F/fields?objectName=infa.qa.bucket%2Fcustomer.parquet 1.0 Content-Type: application/xml Accept: application/xml icSessionId: <icSessionId> { "@type": "dataFormat", "dformatId": "Parquet", "schema": "message AllData_root { optional int32 c_custkey; optional binary c_name (UTF8); optional binary c_address (UTF8); optional int64 c_nationkey; optional binary c_phone (UTF8); optional double c_acctbal; optional binary c_mktsegment (UTF8); required binary c_comment (UTF8);}" }
[ { "@type": "field", "id": -1, "name": "c_custkey", "type": "parquet_int32", "uniqueName": "c_custkey", "label": "c_custkey", "parentObject": "customer_tgt.parquet", "pcType": "INTEGER", "precision": 10, "scale": 0, "columnIndex": -1, "isKey": false, "isExternalId": false, "isSfIdLookup": false, "isNullable": true, "isUnique": false, "isCreateable": false, "isUpdateable": true, "isFilterable": true, "isCalculated": false, "javaType": "java.lang.Integer", "showLabel": true, "naturalOrder": 0, "linkedFields": [], "relatedInfos": [], "references": [] }, { "@type": "field", "id": -1, "name": "c_address", "type": "parquet_string", "uniqueName": "c_address", "label": "c_address", "parentObject": "customer_tgt.parquet", "pcType": "NSTRING", "precision": 4000, "scale": 0, "columnIndex": -1, "isKey": false, "isExternalId": false, "isSfIdLookup": false, "isNullable": true, "isUnique": false, "isCreateable": false, "isUpdateable": true, "isFilterable": true, "isCalculated": false, "javaType": "java.lang.String", "showLabel": true, "naturalOrder": 2, "linkedFields": [], "relatedInfos": [], "references": [] }, { "@type": "field", "id": -1, "name": "c_nationkey", "type": "parquet_int64", "uniqueName": "c_nationkey", "label": "c_nationkey", "parentObject": "customer_tgt.parquet", "pcType": "BIGINT", "precision": 19, "scale": 0, "columnIndex": -1, "isKey": false, "isExternalId": false, "isSfIdLookup": false, "isNullable": true, "isUnique": false, "isCreateable": false, "isUpdateable": true, "isFilterable": true, "isCalculated": false, "javaType": "java.math.BigInteger", "showLabel": true, "naturalOrder": 3, "linkedFields": [], "relatedInfos": [], "references": [] }, { "@type": "field", "id": -1, "name": "FileName", "type": "string", "uniqueName": "FileName", "label": "FileName", "parentObject": "customer_tgt.parquet", "pcType": "NSTRING", "precision": 1024, "scale": 0, "columnIndex": -1, "isKey": false, "isExternalId": false, "isSfIdLookup": false, "isNullable": false, "isUnique": false, "isCreateable": false, "isUpdateable": true, "isFilterable": true, "isCalculated": false, "javaType": "java.lang.String", "showLabel": true, "naturalOrder": 8, "linkedFields": [], "relatedInfos": [], "references": [] } ]