TeradataTree.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. BI and PM: QECL
  5. (C) Copyright IBM Corp. 2005, 2017
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <functionsRoot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FuncTree.xsd">
  9. <group>
  10. <id>vendor_group</id>
  11. <group>
  12. <id>Teradata</id>
  13. <context>tabular</context>
  14. <context>crosstab</context>
  15. <vendor>V_Teradata</vendor>
  16. <interface>TD</interface>
  17. <interface>JD-TD</interface>
  18. <interface>TD25</interface>
  19. <interface>OD</interface>
  20. <interface>OD25</interface>
  21. <mayBeSupportedByAnotherInterface/>
  22. <literal>
  23. <id>tdf_account</id>
  24. <name>account</name>
  25. <dropText>{account}</dropText>
  26. </literal>
  27. <function>
  28. <id>tdf_add_months</id>
  29. <name>add_months</name>
  30. <canonical>add_months</canonical>
  31. <formatType><![CDATA[@1]]></formatType>
  32. <returnType>@1</returnType>
  33. <parameter>
  34. <type>date</type>
  35. <type>dateTime</type>
  36. </parameter>
  37. <parameter>
  38. <type>integer</type>
  39. </parameter>
  40. </function>
  41. <function>
  42. <id>tdf_bytes</id>
  43. <name>bytes</name>
  44. <canonical>bytes</canonical>
  45. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  46. <returnType>numeric</returnType>
  47. <parameter>
  48. <type>string</type>
  49. </parameter>
  50. </function>
  51. <function>
  52. <id>tdf_case_n</id>
  53. <name>case_n</name>
  54. <canonical>case_n</canonical>
  55. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  56. <returnType>numeric</returnType>
  57. <parameter>
  58. <type>anyValueDatatype</type>
  59. </parameter>
  60. </function>
  61. <function>
  62. <id>tdf_char2hexint</id>
  63. <name>char2hexint</name>
  64. <canonical>char2hexint</canonical>
  65. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;stringFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  66. <returnType>string</returnType>
  67. <parameter>
  68. <type>string</type>
  69. </parameter>
  70. </function>
  71. <function>
  72. <id>tdf_characters</id>
  73. <name>characters</name>
  74. <canonical>characters</canonical>
  75. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  76. <returnType>numeric</returnType>
  77. <parameter>
  78. <type>string</type>
  79. </parameter>
  80. </function>
  81. <!--- the coalesce function is implemented in common function, hence it is removed -->
  82. <!--function>
  83. <id>tdf_coalesce</id>
  84. <canonical>coalesce</canonical>
  85. <returnType>@1</returnType>
  86. <parameter>
  87. <type>anyValueDatatype</type>
  88. </parameter>
  89. <parameter>
  90. <type>anyValueDatatype</type>
  91. </parameter>
  92. <parameter>
  93. <type>anyValueDatatype</type>
  94. <optional>true</optional>
  95. </parameter>
  96. </function-->
  97. <literal>
  98. <id>tdf_database</id>
  99. <name>database</name>
  100. <dropText>{database}</dropText>
  101. </literal>
  102. <literal>
  103. <id>tdf_date</id>
  104. <name>date</name>
  105. <dropText>{date}</dropText>
  106. </literal>
  107. <function>
  108. <id>tdf_format</id>
  109. <name>format</name>
  110. <canonical>format</canonical>
  111. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;stringFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  112. <returnType>string</returnType>
  113. <parameter>
  114. <type>anyValueDatatype</type>
  115. </parameter>
  116. </function>
  117. <function>
  118. <id>tdf_index</id>
  119. <name>index</name>
  120. <canonical>index</canonical>
  121. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  122. <returnType>numeric</returnType>
  123. <parameter>
  124. <type>string</type>
  125. </parameter>
  126. <parameter>
  127. <type>string</type>
  128. </parameter>
  129. </function>
  130. <function>
  131. <id>tdf_log</id>
  132. <name>log</name>
  133. <canonical>log</canonical>
  134. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  135. <returnType>numeric</returnType>
  136. <parameter>
  137. <type>numeric</type>
  138. </parameter>
  139. </function>
  140. <function>
  141. <id>tdf_month</id>
  142. <hidden/>
  143. <name>month</name>
  144. <canonical>month</canonical>
  145. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  146. <returnType>numeric</returnType>
  147. <parameter>
  148. <type>date</type>
  149. <type>dateTime</type>
  150. </parameter>
  151. </function>
  152. <function>
  153. <id>tdf_nullif</id>
  154. <name>nullif</name>
  155. <canonical>nullif</canonical>
  156. <formatType><![CDATA[@1]]></formatType>
  157. <returnType>@1</returnType>
  158. <parameter>
  159. <type>anyValueDatatype</type>
  160. </parameter>
  161. <parameter>
  162. <type>anyValueDatatype</type>
  163. </parameter>
  164. </function>
  165. <function>
  166. <id>tdf_nullifzero</id>
  167. <name>nullifzero</name>
  168. <canonical>nullifzero</canonical>
  169. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  170. <returnType>numeric</returnType>
  171. <parameter>
  172. <type>numeric</type>
  173. </parameter>
  174. </function>
  175. <literal>
  176. <id>tdf_profile</id>
  177. <name>profile</name>
  178. <dropText>{profile}</dropText>
  179. </literal>
  180. <function>
  181. <id>tdf_random</id>
  182. <name>random</name>
  183. <canonical>random</canonical>
  184. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  185. <returnType>numeric</returnType>
  186. <parameter>
  187. <type>numeric</type>
  188. </parameter>
  189. <parameter>
  190. <type>numeric</type>
  191. </parameter>
  192. </function>
  193. <function>
  194. <id>tdf_range_n</id>
  195. <!-- This function won't pass the CQE grammar therefore it is marked as hidden.-->
  196. <hidden/>
  197. <name>range_n</name>
  198. <canonical>range_n</canonical>
  199. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  200. <returnType>numeric</returnType>
  201. <parameter>
  202. <type>anyValueDatatype</type>
  203. </parameter>
  204. </function>
  205. <literal>
  206. <id>tdf_role</id>
  207. <name>role</name>
  208. <dropText>{role}</dropText>
  209. </literal>
  210. <literal>
  211. <id>tdf_session</id>
  212. <name>session</name>
  213. <dropText>{session}</dropText>
  214. </literal>
  215. <function>
  216. <id>tdf_soundex</id>
  217. <name>soundex</name>
  218. <canonical>soundex</canonical>
  219. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;stringFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  220. <returnType>string</returnType>
  221. <parameter>
  222. <type>string</type>
  223. </parameter>
  224. </function>
  225. <function>
  226. <id>tdf_substr</id>
  227. <name>substr</name>
  228. <canonical>substr</canonical>
  229. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;stringFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  230. <returnType>string</returnType>
  231. <parameter>
  232. <type>string</type>
  233. </parameter>
  234. <parameter>
  235. <type>integer</type>
  236. </parameter>
  237. <parameter>
  238. <type>integer</type>
  239. <optional>true</optional>
  240. </parameter>
  241. </function>
  242. <literal>
  243. <id>tdf_time</id>
  244. <name>time</name>
  245. <dropText>{time}</dropText>
  246. </literal>
  247. <function>
  248. <id>tdf_type</id>
  249. <name>type</name>
  250. <canonical>type</canonical>
  251. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;stringFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  252. <returnType>string</returnType>
  253. <parameter>
  254. <type>anyValueDatatype</type>
  255. </parameter>
  256. </function>
  257. <literal>
  258. <id>tdf_user</id>
  259. <name>user</name>
  260. <dropText>{user}</dropText>
  261. </literal>
  262. <function>
  263. <id>tdf_vargraphic</id>
  264. <name>vargraphic</name>
  265. <canonical>vargraphic</canonical>
  266. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;stringFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  267. <returnType>string</returnType>
  268. <parameter>
  269. <type>string</type>
  270. </parameter>
  271. </function>
  272. <function>
  273. <id>tdf_year</id>
  274. <hidden/>
  275. <name>year</name>
  276. <canonical>year</canonical>
  277. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat useGrouping=&amp;quot;false&amp;quot;/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  278. <returnType>integer</returnType>
  279. <parameter>
  280. <type>date</type>
  281. <type>dateTime</type>
  282. </parameter>
  283. </function>
  284. <function>
  285. <id>tdf_zeroifnull</id>
  286. <name>zeroifnull</name>
  287. <canonical>zeroifnull</canonical>
  288. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  289. <returnType>numeric</returnType>
  290. <parameter>
  291. <type>numeric</type>
  292. </parameter>
  293. </function>
  294. <group>
  295. <id>td_trig</id>
  296. <!--Teradata Trigonometry Functions-->
  297. <function>
  298. <id>tdf_acos</id>
  299. <name>acos</name>
  300. <canonical>acos</canonical>
  301. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  302. <returnType>numeric</returnType>
  303. <usage>fact</usage>
  304. <parameter>
  305. <type>numeric</type>
  306. </parameter>
  307. </function>
  308. <function>
  309. <id>tdf_acosh</id>
  310. <name>acosh</name>
  311. <canonical>acosh</canonical>
  312. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  313. <returnType>numeric</returnType>
  314. <usage>fact</usage>
  315. <parameter>
  316. <type>numeric</type>
  317. </parameter>
  318. </function>
  319. <function>
  320. <id>tdf_asin</id>
  321. <name>asin</name>
  322. <canonical>asin</canonical>
  323. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  324. <returnType>numeric</returnType>
  325. <usage>fact</usage>
  326. <parameter>
  327. <type>numeric</type>
  328. </parameter>
  329. </function>
  330. <function>
  331. <id>tdf_asinh</id>
  332. <name>asinh</name>
  333. <canonical>asinh</canonical>
  334. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  335. <returnType>numeric</returnType>
  336. <usage>fact</usage>
  337. <parameter>
  338. <type>numeric</type>
  339. </parameter>
  340. </function>
  341. <function>
  342. <id>tdf_atan</id>
  343. <name>atan</name>
  344. <canonical>atan</canonical>
  345. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  346. <returnType>numeric</returnType>
  347. <usage>fact</usage>
  348. <parameter>
  349. <type>numeric</type>
  350. </parameter>
  351. </function>
  352. <function>
  353. <id>tdf_atan2</id>
  354. <name>atan2</name>
  355. <canonical>atan2</canonical>
  356. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  357. <returnType>numeric</returnType>
  358. <usage>fact</usage>
  359. <parameter>
  360. <type>numeric</type>
  361. </parameter>
  362. <parameter>
  363. <type>numeric</type>
  364. </parameter>
  365. </function>
  366. <function>
  367. <id>tdf_atanh</id>
  368. <name>atanh</name>
  369. <canonical>atanh</canonical>
  370. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  371. <returnType>numeric</returnType>
  372. <usage>fact</usage>
  373. <parameter>
  374. <type>numeric</type>
  375. </parameter>
  376. </function>
  377. <function>
  378. <id>tdf_cos</id>
  379. <name>cos</name>
  380. <canonical>cos</canonical>
  381. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  382. <returnType>numeric</returnType>
  383. <usage>fact</usage>
  384. <parameter>
  385. <type>numeric</type>
  386. </parameter>
  387. </function>
  388. <function>
  389. <id>tdf_cosh</id>
  390. <name>cosh</name>
  391. <canonical>cosh</canonical>
  392. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  393. <returnType>numeric</returnType>
  394. <usage>fact</usage>
  395. <parameter>
  396. <type>numeric</type>
  397. </parameter>
  398. </function>
  399. <function>
  400. <id>tdf_sin</id>
  401. <name>sin</name>
  402. <canonical>sin</canonical>
  403. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  404. <returnType>numeric</returnType>
  405. <usage>fact</usage>
  406. <parameter>
  407. <type>numeric</type>
  408. </parameter>
  409. </function>
  410. <function>
  411. <id>tdf_sinh</id>
  412. <name>sinh</name>
  413. <canonical>sinh</canonical>
  414. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  415. <returnType>numeric</returnType>
  416. <usage>fact</usage>
  417. <parameter>
  418. <type>numeric</type>
  419. </parameter>
  420. </function>
  421. <function>
  422. <id>tdf_tan</id>
  423. <name>tan</name>
  424. <canonical>tan</canonical>
  425. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  426. <returnType>numeric</returnType>
  427. <usage>fact</usage>
  428. <parameter>
  429. <type>numeric</type>
  430. </parameter>
  431. </function>
  432. <function>
  433. <id>tdf_tanh</id>
  434. <name>tanh</name>
  435. <canonical>tanh</canonical>
  436. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  437. <returnType>numeric</returnType>
  438. <usage>fact</usage>
  439. <parameter>
  440. <type>numeric</type>
  441. </parameter>
  442. </function>
  443. </group>
  444. <!-- The following section lists all the ODBC functions supported by Teradata. The syntax for ODBC functions is "{fn function(…)}". -->
  445. <!-- However when running ODBC functions against Teradata, the ODBC syntax is not required. Teradata is smart enough to push those functions directly to the database server. -->
  446. <!-- Therefore, those functions are marked as hidden. This means that the functions will not be exposed to the user. -->
  447. <!-- Note that no tip and syntax have been added in TeradataStrings_en.xml since those functions are marked as hidden. -->
  448. <function>
  449. <id>tdf_char</id>
  450. <hidden/>
  451. <name>char</name>
  452. <canonical>char</canonical>
  453. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;stringFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  454. <returnType>string</returnType>
  455. <parameter>
  456. <type>numeric</type>
  457. </parameter>
  458. </function>
  459. <function>
  460. <id>tdf_char_length</id>
  461. <hidden/>
  462. <name>char_length</name>
  463. <canonical>char_length</canonical>
  464. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  465. <returnType>numeric</returnType>
  466. <parameter>
  467. <type>string</type>
  468. </parameter>
  469. </function>
  470. <function>
  471. <id>tdf_concat</id>
  472. <hidden/>
  473. <name>concat</name>
  474. <canonical>concat</canonical>
  475. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;stringFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  476. <returnType>string</returnType>
  477. <parameter>
  478. <type>string</type>
  479. </parameter>
  480. <parameter>
  481. <type>string</type>
  482. </parameter>
  483. </function>
  484. <function>
  485. <id>tdf_dayofweek</id>
  486. <hidden/>
  487. <name>dayofweek</name>
  488. <canonical>dayofweek</canonical>
  489. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  490. <returnType>numeric</returnType>
  491. <parameter>
  492. <type>date</type>
  493. </parameter>
  494. </function>
  495. <function>
  496. <id>tdf_dayofyear</id>
  497. <hidden/>
  498. <name>dayofyear</name>
  499. <canonical>dayofyear</canonical>
  500. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  501. <returnType>numeric</returnType>
  502. <parameter>
  503. <type>date</type>
  504. </parameter>
  505. </function>
  506. <function>
  507. <id>tdf_degrees</id>
  508. <hidden/>
  509. <name>degrees</name>
  510. <canonical>degrees</canonical>
  511. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  512. <returnType>numeric</returnType>
  513. <usage>fact</usage>
  514. <parameter>
  515. <type>numeric</type>
  516. </parameter>
  517. </function>
  518. <function>
  519. <id>tdf_left</id>
  520. <hidden/>
  521. <name>left</name>
  522. <canonical>left</canonical>
  523. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;stringFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  524. <returnType>string</returnType>
  525. <parameter>
  526. <type>string</type>
  527. </parameter>
  528. <parameter>
  529. <type>integer</type>
  530. </parameter>
  531. </function>
  532. <function>
  533. <id>tdf_length</id>
  534. <hidden/>
  535. <name>length</name>
  536. <canonical>length</canonical>
  537. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  538. <returnType>numeric</returnType>
  539. <parameter>
  540. <type>string</type>
  541. </parameter>
  542. </function>
  543. <function>
  544. <id>tdf_locate</id>
  545. <hidden/>
  546. <name>locate</name>
  547. <canonical>locate</canonical>
  548. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  549. <returnType>numeric</returnType>
  550. <parameter>
  551. <type>string</type>
  552. </parameter>
  553. <parameter>
  554. <type>string</type>
  555. </parameter>
  556. <parameter>
  557. <type>integer</type>
  558. <optional>true</optional>
  559. </parameter>
  560. </function>
  561. <function>
  562. <id>tdf_ltrim</id>
  563. <hidden/>
  564. <name>ltrim</name>
  565. <canonical>ltrim</canonical>
  566. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;stringFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  567. <returnType>string</returnType>
  568. <parameter>
  569. <type>string</type>
  570. </parameter>
  571. </function>
  572. <function>
  573. <id>tdf_monthname</id>
  574. <hidden/>
  575. <name>monthname</name>
  576. <canonical>monthname</canonical>
  577. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;stringFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  578. <returnType>string</returnType>
  579. <parameter>
  580. <type>date</type>
  581. </parameter>
  582. </function>
  583. <!--// This function has no argument but requires parentheses, e.g pi()-->
  584. <function>
  585. <id>tdf_pi</id>
  586. <hidden/>
  587. <name>pi</name>
  588. <canonical>pi</canonical>
  589. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  590. <returnType>numeric</returnType>
  591. </function>
  592. <function>
  593. <id>tdf_radians</id>
  594. <hidden/>
  595. <name>radians</name>
  596. <canonical>radians</canonical>
  597. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;numberFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  598. <returnType>numeric</returnType>
  599. <parameter>
  600. <type>numeric</type>
  601. </parameter>
  602. </function>
  603. <function>
  604. <id>tdf_ucase</id>
  605. <hidden/>
  606. <name>ucase</name>
  607. <canonical>ucase</canonical>
  608. <formatType><![CDATA[&amp;lt;formatGroup&amp;gt;&amp;lt;stringFormat/&amp;gt;&amp;lt;/formatGroup&amp;gt;]]></formatType>
  609. <returnType>string</returnType>
  610. <parameter>
  611. <type>string</type>
  612. </parameter>
  613. </function>
  614. </group>
  615. </group>
  616. </functionsRoot>