Creating Java User-defined functions
You can create User Defined Functions (UDF) using Java after manually adding the UDF function JAR file that contains the UDF class to the Flink connectors. After uploading the JAR file on the Streaming SQL Console, you can use the Java UDFs for your SQL jobs.
The selected JAR file is uploaded, and listed under Functions and ready to be used in your SQL queries.