After a project is created, the framework code is automatically generated, based on which you can create Java UDFs, UDAFs, and UDTFs. This topic takes creating a UDF as an example to describe how to develop UDFs, UDAFs, and UDTFs.
- Choose .
- In the dialog box that appears, enter the class name and click OK. The framework code is automatically generated.
- Modify the variables in the evaluate method as needed.