In CCL projects, use the CREATE LIBRARY statement to call user-defined functions written in C/C++ or Java.
Load C/C++ functions from shared libraries, .so files in Linux and Solaris, and .dll files in Windows. Load Java functions from either .class files or .jar files.
Declare external functions in CCL using the CREATE LIBRARY statement. Once declared, you can use the functions anywhere you use built-in functions.
Scalar functions are supported. Aggregate functions are not supported.
Java external library calls support integer, long, float, and string ESP datatypes. In Java, these map respectively to int, long, double, and String. When defining the function in Java, the return and argument datatypes must be written in this format.
Complex types such as dictionaries, vectors, event caches and record types are not supported in external functions.