forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com> Co-committed-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
101 lines
8.2 KiB
HTML
101 lines
8.2 KiB
HTML
<a name="dataartsstudio_02_0293"></a><a name="dataartsstudio_02_0293"></a>
|
|
|
|
<h1 class="topictitle1">From Elasticsearch/Cloud Search Service</h1>
|
|
<div id="body8662426"><div class="section" id="dataartsstudio_02_0293__en-us_topic_0108272828_section33401108172339"><h4 class="sectiontitle">Sample JSON File</h4><pre class="screen" id="dataartsstudio_02_0293__en-us_topic_0108272828_screen39440142152637">"from-config-values": {
|
|
"configs": [
|
|
{
|
|
"inputs": [
|
|
{
|
|
"name": "fromJobConfig.index",
|
|
"value": "cdm"
|
|
},
|
|
{
|
|
"name": "fromJobConfig.type",
|
|
"value": "es"
|
|
},
|
|
{
|
|
"name": "fromJobConfig.columnList",
|
|
"value": "a1:numeric&s1:string"
|
|
},
|
|
{
|
|
"name": "fromJobConfig.splitNestedField",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"name": "fromJobConfig.queryString",
|
|
"value": "last_name:Smith"
|
|
}
|
|
],
|
|
"name": "fromJobConfig"
|
|
}
|
|
]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_02_0293__en-us_topic_0108272828_section61808073174843"><h4 class="sectiontitle">Parameter Description</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_02_0293__en-us_topic_0108272828_table6307873415412" frame="border" border="1" rules="all"><thead align="left"><tr id="dataartsstudio_02_0293__en-us_topic_0108272828_row2882542015412"><th align="left" class="cellrowborder" valign="top" width="22.657734226577343%" id="mcps1.3.2.2.1.5.1.1"><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p5315765115412">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.157984201579843%" id="mcps1.3.2.2.1.5.1.2"><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p1080249515412">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.2983701629837%" id="mcps1.3.2.2.1.5.1.3"><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p258693615412">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.885911408859116%" id="mcps1.3.2.2.1.5.1.4"><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p821526915412">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dataartsstudio_02_0293__en-us_topic_0108272828_row3532522715412"><td class="cellrowborder" valign="top" width="22.657734226577343%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p31423427144217">fromJobConfig.index</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.157984201579843%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p62269650144217">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.2983701629837%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p10676914144217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.885911408859116%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p59523723144217">Index of the extracted data, which is similar to the database name in the relational database</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_02_0293__en-us_topic_0108272828_row2888033144824"><td class="cellrowborder" valign="top" width="22.657734226577343%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p32604129144824">fromJobConfig.type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.157984201579843%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p23688773144824">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.2983701629837%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p39742454144824">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.885911408859116%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p65022171144824">Type of the extracted data, which is similar to the table name in the relational database</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_02_0293__en-us_topic_0108272828_row5037735615412"><td class="cellrowborder" valign="top" width="22.657734226577343%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p52978520144217">fromJobConfig.columnList</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.157984201579843%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p63401693144217">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.2983701629837%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p35263486144217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.885911408859116%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p37770149144217">List of fields to be extracted. Use <span class="parmvalue" id="dataartsstudio_02_0293__en-us_topic_0108272828_parmvalue361045875114827"><b>&</b></span> to separate field names. For example, <span class="parmvalue" id="dataartsstudio_02_0293__en-us_topic_0108272828_parmvalue1597360760113647"><b>id&gid&name</b></span>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_02_0293__en-us_topic_0108272828_row1583494418571"><td class="cellrowborder" valign="top" width="22.657734226577343%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p16834174416571">fromJobConfig.splitNestedField</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.157984201579843%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p883484425711">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.2983701629837%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p8057768172040">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.885911408859116%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p9286172411394">Whether to split the JSON content of the <strong id="dataartsstudio_02_0293__en-us_topic_0108272828_b1266613245610">nested</strong> field. For example, <span class="uicontrol" id="dataartsstudio_02_0293__en-us_topic_0108272828_uicontrol04931650205615"><b>a:{ b:{ c:1, d:{ e:2, f:3 } } }</b></span> can be split into <span class="uicontrol" id="dataartsstudio_02_0293__en-us_topic_0108272828_uicontrol2259295578"><b>a.b.c</b></span>, <span class="uicontrol" id="dataartsstudio_02_0293__en-us_topic_0108272828_uicontrol32596925711"><b>a.b.d.e</b></span>, and <span class="uicontrol" id="dataartsstudio_02_0293__en-us_topic_0108272828_uicontrol1225989105716"><b>a.b.d.f</b></span>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_02_0293__en-us_topic_0108272828_row135064715715"><td class="cellrowborder" valign="top" width="22.657734226577343%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p1235024712574">fromJobConfig.queryString</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.157984201579843%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p2035074705717">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.2983701629837%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p13400129013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.885911408859116%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0293__en-us_topic_0108272828_p16865173219416">Whether to use the Elasticsearch query string to filter the source data. CDM migrates only the data that meets the filter criteria.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="source_job_parameters.html">Source Job Parameters</a></div>
|
|
</div>
|
|
</div>
|
|
|