User-Defined Function (UDF) Example
A Teiid Designer Model Project Set is attached, which contains an example of using a custom java user defined function. Download the attachment, then import it into Teiid Designer via "Import > General > Existing Projects into Workspace" . (Use the "Select archive file:" option when importing).
The example project contains a simple source and view model representing the modeling of a remote employees.xml data file. The lib folder contains the compiled name_builder.jar. This jar is also contained within the TestUDF.vdb file. When this VDB is deployed to your server, the jar file will also be deployed. The UDF in the example simply creates a full name from the first, middle and last name data values.
Comments