Creating functions 

How to create functions.

In DataStax Enterprise 5.0 and later, users can create user-defined functions (UDFs) and user-defined aggregate functions (UDAs). Functions are used to manipulate stored data in queries. Retrieving results using standard aggregate functions are also available for queries.