/database/metadata_dev/layer_index_link_analysis.ktr

http://alageospatialportal.googlecode.com/ · Unknown · 792 lines · 773 code · 19 blank · 0 comment · 0 complexity · 50c67ca82bdf28d6b7b58d0b85eb981d MD5 · raw file

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <transformation>
  3. <info>
  4. <name>layer_index_link_analysis</name>
  5. <description/>
  6. <extended_description/>
  7. <trans_version/>
  8. <trans_type>Normal</trans_type>
  9. <directory>&#47;</directory>
  10. <parameters>
  11. </parameters>
  12. <log>
  13. <trans-log-table><connection/>
  14. <schema/>
  15. <table/>
  16. <size_limit_lines/>
  17. <interval/>
  18. <timeout_days/>
  19. <field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STATUS</id><enabled>Y</enabled><name>STATUS</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name><subject/></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name><subject/></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name><subject/></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name><subject/></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name><subject/></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name><subject/></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>STARTDATE</id><enabled>Y</enabled><name>STARTDATE</name></field><field><id>ENDDATE</id><enabled>Y</enabled><name>ENDDATE</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>DEPDATE</id><enabled>Y</enabled><name>DEPDATE</name></field><field><id>REPLAYDATE</id><enabled>Y</enabled><name>REPLAYDATE</name></field><field><id>LOG_FIELD</id><enabled>Y</enabled><name>LOG_FIELD</name></field></trans-log-table>
  20. <perf-log-table><connection/>
  21. <schema/>
  22. <table/>
  23. <interval/>
  24. <timeout_days/>
  25. <field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>SEQ_NR</id><enabled>Y</enabled><name>SEQ_NR</name></field><field><id>LOGDATE</id><enabled>Y</enabled><name>LOGDATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>INPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>INPUT_BUFFER_ROWS</name></field><field><id>OUTPUT_BUFFER_ROWS</id><enabled>Y</enabled><name>OUTPUT_BUFFER_ROWS</name></field></perf-log-table>
  26. <channel-log-table><connection/>
  27. <schema/>
  28. <table/>
  29. <timeout_days/>
  30. <field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>LOGGING_OBJECT_TYPE</id><enabled>Y</enabled><name>LOGGING_OBJECT_TYPE</name></field><field><id>OBJECT_NAME</id><enabled>Y</enabled><name>OBJECT_NAME</name></field><field><id>OBJECT_COPY</id><enabled>Y</enabled><name>OBJECT_COPY</name></field><field><id>REPOSITORY_DIRECTORY</id><enabled>Y</enabled><name>REPOSITORY_DIRECTORY</name></field><field><id>FILENAME</id><enabled>Y</enabled><name>FILENAME</name></field><field><id>OBJECT_ID</id><enabled>Y</enabled><name>OBJECT_ID</name></field><field><id>OBJECT_REVISION</id><enabled>Y</enabled><name>OBJECT_REVISION</name></field><field><id>PARENT_CHANNEL_ID</id><enabled>Y</enabled><name>PARENT_CHANNEL_ID</name></field><field><id>ROOT_CHANNEL_ID</id><enabled>Y</enabled><name>ROOT_CHANNEL_ID</name></field></channel-log-table>
  31. <step-log-table><connection/>
  32. <schema/>
  33. <table/>
  34. <timeout_days/>
  35. <field><id>ID_BATCH</id><enabled>Y</enabled><name>ID_BATCH</name></field><field><id>CHANNEL_ID</id><enabled>Y</enabled><name>CHANNEL_ID</name></field><field><id>LOG_DATE</id><enabled>Y</enabled><name>LOG_DATE</name></field><field><id>TRANSNAME</id><enabled>Y</enabled><name>TRANSNAME</name></field><field><id>STEPNAME</id><enabled>Y</enabled><name>STEPNAME</name></field><field><id>STEP_COPY</id><enabled>Y</enabled><name>STEP_COPY</name></field><field><id>LINES_READ</id><enabled>Y</enabled><name>LINES_READ</name></field><field><id>LINES_WRITTEN</id><enabled>Y</enabled><name>LINES_WRITTEN</name></field><field><id>LINES_UPDATED</id><enabled>Y</enabled><name>LINES_UPDATED</name></field><field><id>LINES_INPUT</id><enabled>Y</enabled><name>LINES_INPUT</name></field><field><id>LINES_OUTPUT</id><enabled>Y</enabled><name>LINES_OUTPUT</name></field><field><id>LINES_REJECTED</id><enabled>Y</enabled><name>LINES_REJECTED</name></field><field><id>ERRORS</id><enabled>Y</enabled><name>ERRORS</name></field><field><id>LOG_FIELD</id><enabled>N</enabled><name>LOG_FIELD</name></field></step-log-table>
  36. </log>
  37. <maxdate>
  38. <connection/>
  39. <table/>
  40. <field/>
  41. <offset>0.0</offset>
  42. <maxdiff>0.0</maxdiff>
  43. </maxdate>
  44. <size_rowset>10000</size_rowset>
  45. <sleep_time_empty>50</sleep_time_empty>
  46. <sleep_time_full>50</sleep_time_full>
  47. <unique_connections>N</unique_connections>
  48. <feedback_shown>Y</feedback_shown>
  49. <feedback_size>50000</feedback_size>
  50. <using_thread_priorities>Y</using_thread_priorities>
  51. <shared_objects_file/>
  52. <capture_step_performance>N</capture_step_performance>
  53. <step_performance_capturing_delay>1000</step_performance_capturing_delay>
  54. <step_performance_capturing_size_limit>100</step_performance_capturing_size_limit>
  55. <dependencies>
  56. </dependencies>
  57. <partitionschemas>
  58. </partitionschemas>
  59. <slaveservers>
  60. </slaveservers>
  61. <clusterschemas>
  62. </clusterschemas>
  63. <created_user>-</created_user>
  64. <created_date>2011&#47;07&#47;29 11:22:48.970</created_date>
  65. <modified_user>-</modified_user>
  66. <modified_date>2011&#47;07&#47;29 11:22:48.970</modified_date>
  67. </info>
  68. <notepads>
  69. </notepads>
  70. <connection>
  71. <name>ALA_DA_9</name>
  72. <server>127.0.0.1</server>
  73. <type>POSTGRESQL</type>
  74. <access>Native</access>
  75. <database>ala_da</database>
  76. <port>15432</port>
  77. <username>postgres</username>
  78. <password>Encrypted 2be98afc86ad7c297bf1ebc75cdad9cfb</password>
  79. <servername/>
  80. <data_tablespace/>
  81. <index_tablespace/>
  82. <attributes>
  83. <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
  84. <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
  85. <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
  86. <attribute><code>PORT_NUMBER</code><attribute>15432</attribute></attribute>
  87. <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
  88. <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>N</attribute></attribute>
  89. <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
  90. </attributes>
  91. </connection>
  92. <order>
  93. <hop> <from>Table input</from><to>Sort licence_link</to><enabled>Y</enabled> </hop> <hop> <from>Table input</from><to>Sort metadatapath</to><enabled>Y</enabled> </hop> <hop> <from>Table input</from><to>Sort source_link</to><enabled>Y</enabled> </hop> <hop> <from>Filter licence_link</from><to>drop blank licence_link</to><enabled>Y</enabled> </hop> <hop> <from>Sort licence_link</from><to>Filter licence_link</to><enabled>Y</enabled> </hop> <hop> <from>Select id + ll</from><to>Group by licence_link</to><enabled>Y</enabled> </hop> <hop> <from>Filter licence_link</from><to>Select id + ll</to><enabled>Y</enabled> </hop> <hop> <from>Group by licence_link</from><to>XML licence_link</to><enabled>Y</enabled> </hop> <hop> <from>Filter mdp</from><to>drop blank mdp</to><enabled>Y</enabled> </hop> <hop> <from>Filter mdp</from><to>Select id + mdp</to><enabled>Y</enabled> </hop> <hop> <from>Select id + mdp</from><to>Group by mdp</to><enabled>Y</enabled> </hop> <hop> <from>Group by mdp</from><to>XML mdp</to><enabled>Y</enabled> </hop> <hop> <from>Sort metadatapath</from><to>Filter mdp</to><enabled>Y</enabled> </hop> <hop> <from>Filter sl</from><to>drop blank sl</to><enabled>Y</enabled> </hop> <hop> <from>Filter sl</from><to>Select id + sl</to><enabled>Y</enabled> </hop> <hop> <from>Select id + sl</from><to>Group by sl</to><enabled>Y</enabled> </hop> <hop> <from>Group by sl</from><to>XML sl</to><enabled>Y</enabled> </hop> <hop> <from>Sort source_link</from><to>Filter sl</to><enabled>Y</enabled> </hop> </order>
  94. <step>
  95. <name>Table input</name>
  96. <type>TableInput</type>
  97. <description/>
  98. <distribute>N</distribute>
  99. <copies>1</copies>
  100. <partitioning>
  101. <method>none</method>
  102. <schema_name/>
  103. </partitioning>
  104. <connection>ALA_DA_9</connection>
  105. <sql>SELECT
  106. id
  107. , &quot;name&quot;
  108. , description
  109. , &quot;type&quot;
  110. , &quot;source&quot;
  111. , &quot;path&quot;
  112. , extents
  113. , minlatitude
  114. , minlongitude
  115. , maxlatitude
  116. , maxlongitude
  117. , notes
  118. , enabled
  119. , displayname
  120. , displaypath
  121. , &quot;scale&quot;
  122. , environmentalvaluemin
  123. , environmentalvaluemax
  124. , environmentalvalueunits
  125. , lookuptablepath
  126. , metadatapath
  127. , classification1
  128. , classification2
  129. , uid
  130. , mddatest
  131. , citation_date
  132. , datalang
  133. , mdhrlv
  134. , respparty_role
  135. , licence_level
  136. , licence_link
  137. , licence_notes
  138. , source_link
  139. FROM &quot;public&quot;.vwsp_layers_live
  140. </sql>
  141. <limit>0</limit>
  142. <lookup/>
  143. <execute_each_row>N</execute_each_row>
  144. <variables_active>N</variables_active>
  145. <lazy_conversion_active>N</lazy_conversion_active>
  146. <cluster_schema/>
  147. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  148. <xloc>41</xloc>
  149. <yloc>130</yloc>
  150. <draw>Y</draw>
  151. </GUI>
  152. </step>
  153. <step>
  154. <name>Sort licence_link</name>
  155. <type>SortRows</type>
  156. <description/>
  157. <distribute>N</distribute>
  158. <copies>1</copies>
  159. <partitioning>
  160. <method>none</method>
  161. <schema_name/>
  162. </partitioning>
  163. <directory>%%java.io.tmpdir%%</directory>
  164. <prefix>out</prefix>
  165. <sort_size>1000000</sort_size>
  166. <free_memory/>
  167. <compress>N</compress>
  168. <compress_variable/>
  169. <unique_rows>N</unique_rows>
  170. <fields>
  171. <field>
  172. <name>licence_link</name>
  173. <ascending>Y</ascending>
  174. <case_sensitive>N</case_sensitive>
  175. </field>
  176. <field>
  177. <name>id</name>
  178. <ascending>N</ascending>
  179. <case_sensitive>N</case_sensitive>
  180. </field>
  181. </fields>
  182. <cluster_schema/>
  183. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  184. <xloc>201</xloc>
  185. <yloc>50</yloc>
  186. <draw>Y</draw>
  187. </GUI>
  188. </step>
  189. <step>
  190. <name>Sort metadatapath</name>
  191. <type>SortRows</type>
  192. <description/>
  193. <distribute>Y</distribute>
  194. <copies>1</copies>
  195. <partitioning>
  196. <method>none</method>
  197. <schema_name/>
  198. </partitioning>
  199. <directory>%%java.io.tmpdir%%</directory>
  200. <prefix>out</prefix>
  201. <sort_size>1000000</sort_size>
  202. <free_memory/>
  203. <compress>N</compress>
  204. <compress_variable/>
  205. <unique_rows>N</unique_rows>
  206. <fields>
  207. <field>
  208. <name>metadatapath</name>
  209. <ascending>Y</ascending>
  210. <case_sensitive>N</case_sensitive>
  211. </field>
  212. <field>
  213. <name>id</name>
  214. <ascending>N</ascending>
  215. <case_sensitive>N</case_sensitive>
  216. </field>
  217. </fields>
  218. <cluster_schema/>
  219. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  220. <xloc>201</xloc>
  221. <yloc>164</yloc>
  222. <draw>Y</draw>
  223. </GUI>
  224. </step>
  225. <step>
  226. <name>Sort source_link</name>
  227. <type>SortRows</type>
  228. <description/>
  229. <distribute>Y</distribute>
  230. <copies>1</copies>
  231. <partitioning>
  232. <method>none</method>
  233. <schema_name/>
  234. </partitioning>
  235. <directory>%%java.io.tmpdir%%</directory>
  236. <prefix>out</prefix>
  237. <sort_size>1000000</sort_size>
  238. <free_memory/>
  239. <compress>N</compress>
  240. <compress_variable/>
  241. <unique_rows>N</unique_rows>
  242. <fields>
  243. <field>
  244. <name>source_link</name>
  245. <ascending>Y</ascending>
  246. <case_sensitive>N</case_sensitive>
  247. </field>
  248. <field>
  249. <name>id</name>
  250. <ascending>N</ascending>
  251. <case_sensitive>N</case_sensitive>
  252. </field>
  253. </fields>
  254. <cluster_schema/>
  255. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  256. <xloc>190</xloc>
  257. <yloc>265</yloc>
  258. <draw>Y</draw>
  259. </GUI>
  260. </step>
  261. <step>
  262. <name>XML licence_link</name>
  263. <type>XMLOutput</type>
  264. <description/>
  265. <distribute>Y</distribute>
  266. <copies>1</copies>
  267. <partitioning>
  268. <method>none</method>
  269. <schema_name/>
  270. </partitioning>
  271. <encoding>UTF-8</encoding>
  272. <name_space/>
  273. <xml_main_element>Rows</xml_main_element>
  274. <xml_repeat_element>Row</xml_repeat_element>
  275. <file>
  276. <name>C:\Bryn\ala\spatial portal\layer_index_links_licence</name>
  277. <extention>xml</extention>
  278. <do_not_open_newfile_init>N</do_not_open_newfile_init>
  279. <split>N</split>
  280. <add_date>N</add_date>
  281. <add_time>N</add_time>
  282. <SpecifyFormat>Y</SpecifyFormat>
  283. <omit_null_values>N</omit_null_values>
  284. <date_time_format>.yyyyMMdd</date_time_format>
  285. <add_to_result_filenames>N</add_to_result_filenames>
  286. <zipped>N</zipped>
  287. <splitevery>0</splitevery>
  288. </file>
  289. <fields>
  290. <field>
  291. <name>licence_link</name>
  292. <element/>
  293. <type>String</type>
  294. <format/>
  295. <currency/>
  296. <decimal/>
  297. <group/>
  298. <nullif/>
  299. <length>-1</length>
  300. <precision>-1</precision>
  301. </field>
  302. <field>
  303. <name>ids</name>
  304. <element/>
  305. <type>String</type>
  306. <format/>
  307. <currency/>
  308. <decimal/>
  309. <group/>
  310. <nullif/>
  311. <length>-1</length>
  312. <precision>-1</precision>
  313. </field>
  314. </fields>
  315. <cluster_schema/>
  316. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  317. <xloc>701</xloc>
  318. <yloc>70</yloc>
  319. <draw>Y</draw>
  320. </GUI>
  321. </step>
  322. <step>
  323. <name>Filter licence_link</name>
  324. <type>FilterRows</type>
  325. <description/>
  326. <distribute>Y</distribute>
  327. <copies>1</copies>
  328. <partitioning>
  329. <method>none</method>
  330. <schema_name/>
  331. </partitioning>
  332. <send_true_to>Select id + ll</send_true_to>
  333. <send_false_to>drop blank licence_link</send_false_to>
  334. <compare>
  335. <condition>
  336. <negated>N</negated>
  337. <leftvalue>licence_link</leftvalue>
  338. <function>&lt;&gt;</function>
  339. <rightvalue/>
  340. <value><name>constant</name><type>String</type><text/><length>-1</length><precision>-1</precision><isnull>Y</isnull><mask/></value> </condition>
  341. </compare>
  342. <cluster_schema/>
  343. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  344. <xloc>321</xloc>
  345. <yloc>50</yloc>
  346. <draw>Y</draw>
  347. </GUI>
  348. </step>
  349. <step>
  350. <name>drop blank licence_link</name>
  351. <type>Dummy</type>
  352. <description/>
  353. <distribute>Y</distribute>
  354. <copies>1</copies>
  355. <partitioning>
  356. <method>none</method>
  357. <schema_name/>
  358. </partitioning>
  359. <cluster_schema/>
  360. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  361. <xloc>512</xloc>
  362. <yloc>18</yloc>
  363. <draw>Y</draw>
  364. </GUI>
  365. </step>
  366. <step>
  367. <name>Select id + ll</name>
  368. <type>SelectValues</type>
  369. <description/>
  370. <distribute>N</distribute>
  371. <copies>1</copies>
  372. <partitioning>
  373. <method>none</method>
  374. <schema_name/>
  375. </partitioning>
  376. <fields> <field> <name>id</name>
  377. <rename/>
  378. <length>-2</length>
  379. <precision>-2</precision>
  380. </field> <field> <name>licence_link</name>
  381. <rename/>
  382. <length>-2</length>
  383. <precision>-2</precision>
  384. </field> <select_unspecified>N</select_unspecified>
  385. </fields> <cluster_schema/>
  386. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  387. <xloc>441</xloc>
  388. <yloc>70</yloc>
  389. <draw>Y</draw>
  390. </GUI>
  391. </step>
  392. <step>
  393. <name>Group by licence_link</name>
  394. <type>GroupBy</type>
  395. <description/>
  396. <distribute>Y</distribute>
  397. <copies>1</copies>
  398. <partitioning>
  399. <method>none</method>
  400. <schema_name/>
  401. </partitioning>
  402. <all_rows>N</all_rows>
  403. <ignore_aggregate>N</ignore_aggregate>
  404. <field_ignore/>
  405. <directory>%%java.io.tmpdir%%</directory>
  406. <prefix>grp</prefix>
  407. <add_linenr>N</add_linenr>
  408. <linenr_fieldname/>
  409. <give_back_row>N</give_back_row>
  410. <group>
  411. <field>
  412. <name>licence_link</name>
  413. </field>
  414. </group>
  415. <fields>
  416. <field>
  417. <aggregate>ids</aggregate>
  418. <subject>id</subject>
  419. <type>CONCAT_STRING</type>
  420. <valuefield>,</valuefield>
  421. </field>
  422. </fields>
  423. <cluster_schema/>
  424. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  425. <xloc>561</xloc>
  426. <yloc>70</yloc>
  427. <draw>Y</draw>
  428. </GUI>
  429. </step>
  430. <step>
  431. <name>XML mdp</name>
  432. <type>XMLOutput</type>
  433. <description/>
  434. <distribute>Y</distribute>
  435. <copies>1</copies>
  436. <partitioning>
  437. <method>none</method>
  438. <schema_name/>
  439. </partitioning>
  440. <encoding>UTF-8</encoding>
  441. <name_space/>
  442. <xml_main_element>Rows</xml_main_element>
  443. <xml_repeat_element>Row</xml_repeat_element>
  444. <file>
  445. <name>C:\Bryn\ala\spatial portal\layer_index_links_mdpath</name>
  446. <extention>xml</extention>
  447. <do_not_open_newfile_init>N</do_not_open_newfile_init>
  448. <split>N</split>
  449. <add_date>N</add_date>
  450. <add_time>N</add_time>
  451. <SpecifyFormat>Y</SpecifyFormat>
  452. <omit_null_values>N</omit_null_values>
  453. <date_time_format>.yyyyMMdd</date_time_format>
  454. <add_to_result_filenames>N</add_to_result_filenames>
  455. <zipped>N</zipped>
  456. <splitevery>0</splitevery>
  457. </file>
  458. <fields>
  459. <field>
  460. <name>metadatapath</name>
  461. <element/>
  462. <type>String</type>
  463. <format/>
  464. <currency/>
  465. <decimal/>
  466. <group/>
  467. <nullif/>
  468. <length>-1</length>
  469. <precision>-1</precision>
  470. </field>
  471. <field>
  472. <name>ids</name>
  473. <element/>
  474. <type>String</type>
  475. <format/>
  476. <currency/>
  477. <decimal/>
  478. <group/>
  479. <nullif/>
  480. <length>-1</length>
  481. <precision>-1</precision>
  482. </field>
  483. </fields>
  484. <cluster_schema/>
  485. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  486. <xloc>703</xloc>
  487. <yloc>190</yloc>
  488. <draw>Y</draw>
  489. </GUI>
  490. </step>
  491. <step>
  492. <name>Filter mdp</name>
  493. <type>FilterRows</type>
  494. <description/>
  495. <distribute>Y</distribute>
  496. <copies>1</copies>
  497. <partitioning>
  498. <method>none</method>
  499. <schema_name/>
  500. </partitioning>
  501. <send_true_to>Select id + mdp</send_true_to>
  502. <send_false_to>drop blank mdp</send_false_to>
  503. <compare>
  504. <condition>
  505. <negated>N</negated>
  506. <leftvalue>metadatapath</leftvalue>
  507. <function>&lt;&gt;</function>
  508. <rightvalue/>
  509. <value><name>constant</name><type>String</type><text/><length>-1</length><precision>-1</precision><isnull>Y</isnull><mask/></value> </condition>
  510. </compare>
  511. <cluster_schema/>
  512. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  513. <xloc>323</xloc>
  514. <yloc>170</yloc>
  515. <draw>Y</draw>
  516. </GUI>
  517. </step>
  518. <step>
  519. <name>drop blank mdp</name>
  520. <type>Dummy</type>
  521. <description/>
  522. <distribute>Y</distribute>
  523. <copies>1</copies>
  524. <partitioning>
  525. <method>none</method>
  526. <schema_name/>
  527. </partitioning>
  528. <cluster_schema/>
  529. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  530. <xloc>509</xloc>
  531. <yloc>145</yloc>
  532. <draw>Y</draw>
  533. </GUI>
  534. </step>
  535. <step>
  536. <name>Select id + mdp</name>
  537. <type>SelectValues</type>
  538. <description/>
  539. <distribute>N</distribute>
  540. <copies>1</copies>
  541. <partitioning>
  542. <method>none</method>
  543. <schema_name/>
  544. </partitioning>
  545. <fields> <field> <name>id</name>
  546. <rename/>
  547. <length>-2</length>
  548. <precision>-2</precision>
  549. </field> <field> <name>metadatapath</name>
  550. <rename/>
  551. <length>-2</length>
  552. <precision>-2</precision>
  553. </field> <select_unspecified>N</select_unspecified>
  554. </fields> <cluster_schema/>
  555. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  556. <xloc>443</xloc>
  557. <yloc>190</yloc>
  558. <draw>Y</draw>
  559. </GUI>
  560. </step>
  561. <step>
  562. <name>Group by mdp</name>
  563. <type>GroupBy</type>
  564. <description/>
  565. <distribute>Y</distribute>
  566. <copies>1</copies>
  567. <partitioning>
  568. <method>none</method>
  569. <schema_name/>
  570. </partitioning>
  571. <all_rows>N</all_rows>
  572. <ignore_aggregate>N</ignore_aggregate>
  573. <field_ignore/>
  574. <directory>%%java.io.tmpdir%%</directory>
  575. <prefix>grp</prefix>
  576. <add_linenr>N</add_linenr>
  577. <linenr_fieldname/>
  578. <give_back_row>N</give_back_row>
  579. <group>
  580. <field>
  581. <name>metadatapath</name>
  582. </field>
  583. </group>
  584. <fields>
  585. <field>
  586. <aggregate>ids</aggregate>
  587. <subject>id</subject>
  588. <type>CONCAT_STRING</type>
  589. <valuefield>,</valuefield>
  590. </field>
  591. </fields>
  592. <cluster_schema/>
  593. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  594. <xloc>581</xloc>
  595. <yloc>190</yloc>
  596. <draw>Y</draw>
  597. </GUI>
  598. </step>
  599. <step>
  600. <name>XML sl</name>
  601. <type>XMLOutput</type>
  602. <description/>
  603. <distribute>Y</distribute>
  604. <copies>1</copies>
  605. <partitioning>
  606. <method>none</method>
  607. <schema_name/>
  608. </partitioning>
  609. <encoding>UTF-8</encoding>
  610. <name_space/>
  611. <xml_main_element>Rows</xml_main_element>
  612. <xml_repeat_element>Row</xml_repeat_element>
  613. <file>
  614. <name>C:\Bryn\ala\spatial portal\layer_index_links_source</name>
  615. <extention>xml</extention>
  616. <do_not_open_newfile_init>N</do_not_open_newfile_init>
  617. <split>N</split>
  618. <add_date>N</add_date>
  619. <add_time>N</add_time>
  620. <SpecifyFormat>Y</SpecifyFormat>
  621. <omit_null_values>N</omit_null_values>
  622. <date_time_format>.yyyyMMdd</date_time_format>
  623. <add_to_result_filenames>N</add_to_result_filenames>
  624. <zipped>N</zipped>
  625. <splitevery>0</splitevery>
  626. </file>
  627. <fields>
  628. <field>
  629. <name>source_link</name>
  630. <element/>
  631. <type>String</type>
  632. <format/>
  633. <currency/>
  634. <decimal/>
  635. <group/>
  636. <nullif/>
  637. <length>-1</length>
  638. <precision>-1</precision>
  639. </field>
  640. <field>
  641. <name>ids</name>
  642. <element/>
  643. <type>String</type>
  644. <format/>
  645. <currency/>
  646. <decimal/>
  647. <group/>
  648. <nullif/>
  649. <length>-1</length>
  650. <precision>-1</precision>
  651. </field>
  652. </fields>
  653. <cluster_schema/>
  654. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  655. <xloc>714</xloc>
  656. <yloc>312</yloc>
  657. <draw>Y</draw>
  658. </GUI>
  659. </step>
  660. <step>
  661. <name>Filter sl</name>
  662. <type>FilterRows</type>
  663. <description/>
  664. <distribute>Y</distribute>
  665. <copies>1</copies>
  666. <partitioning>
  667. <method>none</method>
  668. <schema_name/>
  669. </partitioning>
  670. <send_true_to>Select id + sl</send_true_to>
  671. <send_false_to>drop blank sl</send_false_to>
  672. <compare>
  673. <condition>
  674. <negated>N</negated>
  675. <leftvalue>source_link</leftvalue>
  676. <function>&lt;&gt;</function>
  677. <rightvalue/>
  678. <value><name>constant</name><type>String</type><text/><length>-1</length><precision>-1</precision><isnull>Y</isnull><mask/></value> </condition>
  679. </compare>
  680. <cluster_schema/>
  681. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  682. <xloc>334</xloc>
  683. <yloc>292</yloc>
  684. <draw>Y</draw>
  685. </GUI>
  686. </step>
  687. <step>
  688. <name>drop blank sl</name>
  689. <type>Dummy</type>
  690. <description/>
  691. <distribute>Y</distribute>
  692. <copies>1</copies>
  693. <partitioning>
  694. <method>none</method>
  695. <schema_name/>
  696. </partitioning>
  697. <cluster_schema/>
  698. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  699. <xloc>516</xloc>
  700. <yloc>264</yloc>
  701. <draw>Y</draw>
  702. </GUI>
  703. </step>
  704. <step>
  705. <name>Select id + sl</name>
  706. <type>SelectValues</type>
  707. <description/>
  708. <distribute>N</distribute>
  709. <copies>1</copies>
  710. <partitioning>
  711. <method>none</method>
  712. <schema_name/>
  713. </partitioning>
  714. <fields> <field> <name>id</name>
  715. <rename/>
  716. <length>-2</length>
  717. <precision>-2</precision>
  718. </field> <field> <name>source_link</name>
  719. <rename/>
  720. <length>-2</length>
  721. <precision>-2</precision>
  722. </field> <select_unspecified>N</select_unspecified>
  723. </fields> <cluster_schema/>
  724. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  725. <xloc>454</xloc>
  726. <yloc>312</yloc>
  727. <draw>Y</draw>
  728. </GUI>
  729. </step>
  730. <step>
  731. <name>Group by sl</name>
  732. <type>GroupBy</type>
  733. <description/>
  734. <distribute>Y</distribute>
  735. <copies>1</copies>
  736. <partitioning>
  737. <method>none</method>
  738. <schema_name/>
  739. </partitioning>
  740. <all_rows>N</all_rows>
  741. <ignore_aggregate>N</ignore_aggregate>
  742. <field_ignore/>
  743. <directory>%%java.io.tmpdir%%</directory>
  744. <prefix>grp</prefix>
  745. <add_linenr>N</add_linenr>
  746. <linenr_fieldname/>
  747. <give_back_row>N</give_back_row>
  748. <group>
  749. <field>
  750. <name>source_link</name>
  751. </field>
  752. </group>
  753. <fields>
  754. <field>
  755. <aggregate>ids</aggregate>
  756. <subject>id</subject>
  757. <type>CONCAT_STRING</type>
  758. <valuefield>,</valuefield>
  759. </field>
  760. </fields>
  761. <cluster_schema/>
  762. <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI>
  763. <xloc>586</xloc>
  764. <yloc>312</yloc>
  765. <draw>Y</draw>
  766. </GUI>
  767. </step>
  768. <step_error_handling>
  769. </step_error_handling>
  770. <slave-step-copy-partition-distribution>
  771. </slave-step-copy-partition-distribution>
  772. <slave_transformation>N</slave_transformation>
  773. </transformation>