-
Notifications
You must be signed in to change notification settings - Fork 0
/
tDBResultsToJSON_java.xml
62 lines (61 loc) · 2.77 KB
/
tDBResultsToJSON_java.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="UTF-8"?>
<COMPONENT>
<HEADER AUTHOR="dsietz" COMPATIBILITY="ALL" DATA_AUTO_PROPAGATE="false" PLATEFORM="ALL" RELEASE_DATE="2015113A" SERIAL="" STARTABLE="false" STATUS="ALPHA" VERSION="0.100">
<SIGNATURE/>
</HEADER>
<FAMILIES>
<FAMILY>Databases/DB Genric</FAMILY>
</FAMILIES>
<DOCUMENTATION>
<URL/>
</DOCUMENTATION>
<CONNECTORS>
<CONNECTOR CTYPE="FLOW" MIN_INPUT="1" MAX_INPUT="1" MAX_OUTPUT="0" />
<CONNECTOR NAME="RESPONSE" CTYPE="FLOW" COLOR="009900" MAX_OUTPUT="1" />
</CONNECTORS>
<PARAMETERS>
<PARAMETER FIELD="SCHEMA_TYPE" NAME="INPUT_SCHEMA" NUM_ROW="1" READONLY="true" REQUIRED="true">
<TABLE READONLY="true">
<COLUMN NAME="dbConnection" TYPE="id_Object" READONLY="true"
COMMENT="Pass the database connection object of Talend component that created the connection (e.g.: tDB2Row), and make sure to cast it - e.g.: (Object) conn_tDB2Row_1"/>
<COLUMN NAME="resultSet" TYPE="id_Object" READONLY="true" COMMENT="Use the advanced setting (Propagate QUERY's recordset) in the tDBRow component to pass the ResultSet object. Make sure the schema column selected is of type Object."/>
</TABLE>
</PARAMETER>
<PARAMETER FIELD="SCHEMA_TYPE" NAME="SCHEMA_RESPONSE" NUM_ROW="2" READONLY="true" REQUIRED="true" CONTEXT="RESPONSE">
<TABLE READONLY="true">
<COLUMN NAME="resultJSON" TYPE="id_String" READONLY="true" />
</TABLE>
</PARAMETER>
<PARAMETER NAME="JSON_INCLUDE" REQUIRED="true" FIELD="CLOSED_LIST" NUM_ROW="3" READONLY="false">
<ITEMS DEFAULT="BOTH">
<ITEM NAME="BOTH" VALUE="BOTH"></ITEM>
<ITEM NAME="STRUCTURE" VALUE="STRUCTURE"></ITEM>
<ITEM NAME="DATA" VALUE="DATA"></ITEM>
</ITEMS>
</PARAMETER>
<PARAMETER NAME="NULL_PLACEHOLDER" REQUIRED="true" FIELD="CLOSED_LIST" NUM_ROW="4" READONLY="false">
<ITEMS DEFAULT="NULL">
<ITEM NAME="NULL" VALUE='NULL'></ITEM>
<ITEM NAME="EMPTY" VALUE='[EMPTY]'></ITEM>
<ITEM NAME="BLANK" VALUE='[BLANK]'></ITEM>
<ITEM NAME="TILDA" VALUE='~'></ITEM>
</ITEMS>
</PARAMETER>
</PARAMETERS>
<ADVANCED_PARAMETERS>
<PARAMETER NAME="PARENT_KEY_CATALOG" REQUIRED="true" FIELD="CHECK" NUM_ROW="5" READONLY="false">
<DEFAULT>true</DEFAULT>
</PARAMETER>
<PARAMETER NAME="PARENT_KEY_SCHEMA" REQUIRED="true" FIELD="CHECK" NUM_ROW="5" READONLY="false">
<DEFAULT>true</DEFAULT>
</PARAMETER>
</ADVANCED_PARAMETERS>
<CODEGENERATION>
<IMPORTS>
<IMPORT NAME="org.json.jar" MODULE="org.json.jar" REQUIRED="true"></IMPORT>
</IMPORTS>
</CODEGENERATION>
<RETURNS>
<RETURN AVAILABILITY="AFTER" NAME="NB_LINE" TYPE="id_Integer"/>
</RETURNS>
</COMPONENT>