Striim 3.9.7 documentation

Using imported Java functions

TQL applications may import Java functions. The basic procedure is:

  • write a custom function

  • compile it to a .jar

  • add the .jar to .../Striim/lib

  • load the function into Striim

  • import the function to an application

Functions are loaded at the cluster level, so your new function would be available for import to any application in any namespace. Imported functions required by an application are included as IMPORT statements in exported TQL.

The rest of this section describes in detail how to create and use custom functions.