Developing StreamBase Custom Functions

The sections in this topic describe how to develop your own StreamBase custom functions. StreamBase includes dozens of built-in functions, but if you need a particular feature, you can use the StreamBase Java or C++ API to create your own functions.

Before using a custom C++ function, you must configure it in the <custom-functions> section of the server configuration file. You then call the function in your application's expressions using the callcpp() function, or by using an alias for you function that you've defined in <custom-functons> section.

You can call custom Java functions with the calljava() function, or by means of a function alias. To define and use an alias, you must configure the Java function in the <custom-functions> section of the server configuration file.