Home | Table of Contents | Custom CTL Functions | CloverETL 4.6.1
--- | --- | ---
Prev | Functions Reference | Next

## Custom CTL Functions

In addition to the prepared CTL functions, you can create your own CTL functions. To do that, you need to write your own code defining the custom CTL functions and specify its plugin.

Each custom CTL function library must be derived/inherited from:

`org.jetel.interpreter.extensions.TLFunctionLibrary` class.

Each custom CTL function must be derived/inherited from:

`org.jetel.interpreter.extensions.TLFunctionPrototype` class.

These classes have some standard operations defined and several abstract methods which need to be defined so that the custom functions may be used. Within the custom functions code, an existing context must be used or some custom context must be defined. The context serves to store objects when function is to be executed repeatedly, in other words, on more records.

Along with the custom functions code, you also need to define the custom functions plugin. Both the library and the plugin will be used in CloverETL.

Prev | Up | Next
Subgraph functions | Home | Table of Contents | List of All CTL2 Functions