1
|
<RESOURCE_PROFILE>
|
2
|
<HEADER>
|
3
|
<RESOURCE_IDENTIFIER value="9bb04513-be1d-4d13-8e86-785cc0375635_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
|
4
|
<RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/>
|
5
|
<RESOURCE_KIND value="WorkflowTemplateDSResources"/>
|
6
|
<RESOURCE_URI value=""/>
|
7
|
<DATE_OF_CREATION value="2006-05-04T18:13:51.0Z"/>
|
8
|
</HEADER>
|
9
|
<BODY>
|
10
|
<CONFIGURATION>
|
11
|
|
12
|
<PARAMETERS>
|
13
|
<PARAM name="db" description="relational db name" required="true" type="string"/>
|
14
|
<PARAM name="sqlQuery" description="the SQL query" required="true" type="string"/>
|
15
|
<PARAM name="sqlForSize" description="the SQL query used to determine the row set size" required="false" type="string"/>
|
16
|
<PARAM name="sqlPrepareQuery" description="the prepare SQL query" required="false" type="string"/>
|
17
|
|
18
|
<PARAM name="hbaseTable" description="HBase table name" required="true" type="string"/>
|
19
|
<PARAM name="cluster" description="Hadoop cluster name" required="true" type="string"/>
|
20
|
|
21
|
<PARAM name="mapping" description="xslt mapping function" required="true" type="string"/>
|
22
|
</PARAMETERS>
|
23
|
|
24
|
<WORKFLOW>
|
25
|
|
26
|
<NODE name="prepareQuery" type="ExecuteSql" isStart="true">
|
27
|
<DESCRIPTION>prepare query</DESCRIPTION>
|
28
|
<PARAMETERS>
|
29
|
<PARAM name="db" ref="db"/>
|
30
|
<PARAM name="sql" ref="sqlPrepareQuery"/>
|
31
|
</PARAMETERS>
|
32
|
<ARCS>
|
33
|
<ARC to="queryDB"/>
|
34
|
</ARCS>
|
35
|
</NODE>
|
36
|
|
37
|
<NODE name="queryDB" type="QueryDb">
|
38
|
<DESCRIPTION>perform SQL query</DESCRIPTION>
|
39
|
<PARAMETERS>
|
40
|
<PARAM name="db" ref="db"/>
|
41
|
<PARAM name="sql" ref="sqlQuery"/>
|
42
|
<PARAM name="sqlForSize" ref="sqlForSize"/>
|
43
|
<PARAM name="outputEprParam" value="outputResultSet"/>
|
44
|
</PARAMETERS>
|
45
|
<ARCS>
|
46
|
<ARC to="storeResultSet"/>
|
47
|
</ARCS>
|
48
|
</NODE>
|
49
|
|
50
|
<NODE name="storeResultSet" type="StoreHBase">
|
51
|
<DESCRIPTION>Store ResultSet to HBase</DESCRIPTION>
|
52
|
<PARAMETERS>
|
53
|
<PARAM name="inputEprParam" value="outputResultSet"/>
|
54
|
<PARAM name="hbaseTable" ref="hbaseTable"/>
|
55
|
<PARAM name="cluster" ref="cluster"/>
|
56
|
<PARAM name="mapping" ref="mapping"/>
|
57
|
</PARAMETERS>
|
58
|
<ARCS>
|
59
|
<ARC to="success"/>
|
60
|
</ARCS>
|
61
|
</NODE>
|
62
|
|
63
|
</WORKFLOW>
|
64
|
</CONFIGURATION>
|
65
|
</BODY>
|
66
|
</RESOURCE_PROFILE>
|