Clover transformation language has at its disposal a set of functions you can use. We describe them here.
All functions can be grouped into following categories:
Important | |
---|---|
Remember that with CTL2 you can use both CloverETL built-in functions and your own functions in one of the ways listed below. Built-in functions
The two expressions above are equivalent. The second option with the first argument
preceding the function itself is sometimes referred to as
object notation. Do not forget to use the
"$port.field.function()" syntax.
Thus, You can also declare your own function with a set of arguments of any data type, e.g.: function integer myFunction(integer arg1, string arg2, boolean arg3) { <function body> } User-defined functions
|
Warning | |
---|---|
Remember that the object notation (<first argument>.function(<other arguments>) cannot be used in Miscellaneous functions. See Miscellaneous Functions. |
Important | |
---|---|
Remember that if you set the Null value property in metadata for any
For example, if See Null value for detailed information. |