SPL and native function naming conventions

SPL and native functions are subroutines that can be called from expressions, which can occur in many places in a stream application.

Follow these naming conventions for SPL and native functions:
  • Write in camel case with the first letter in lowercase, for example getHostName().
  • Indicate an action.

One example from the SPL built-in functions is getHostName(), which returns the full host name where an operator is running. Another is toTimestamp(), which indicates it converts its parameter to the SPL time stamp type.