DESCRIBE FUNCTION
Shows this output depending on the options selected:
- 
All user-defined functions (UDFs) in the current keyspace.
 - 
All UDFs in the cluster when no keyspace is selected.
 - 
Definition as an executable CQL statement for a specific UDF.
 
| 
 To select a keyspace, use the   | 
Synopsis
DESCRIBE FUNCTIONS | FUNCTION [<keyspace_name>.]<udf_name>
Syntax legend
| Syntax conventions | Description | 
|---|---|
UPPERCASE  | 
Literal keyword.  | 
Lowercase  | 
Not literal.  | 
  | 
Variable value. Replace with a user-defined value.  | 
  | 
Optional.
Square brackets (  | 
  | 
Group.
Parentheses (   | 
  | 
Or.
A vertical bar (  | 
  | 
Repeatable.
An ellipsis (   | 
  | 
Single quotation (  | 
  | 
Map collection.
Braces (  | 
Set, list, map, or tuple.
Angle brackets (   | 
|
  | 
End CQL statement.
A semicolon (  | 
  | 
Separate the command line options from the command arguments with two hyphens (   | 
  | 
Search CQL only: Single quotation marks (  | 
  | 
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrConfig files.  | 
- FUNCTIONS
 - 
All functions.
 - FUNCTION
 - 
One function.
 - <keyspace_name>
 - 
Name of the keyspace
 - <udf_name>
 - 
Name of the function.
 
Examples
List the functions in the cycling keyspace:
USE cycling; DESC FUNCTIONS
flog(double)                              avgfinal(frozen<tuple<int, bigint>>)
avgstate(frozen<tuple<int, bigint>>,int)  left(text,int)
Show the definition of the cycling flog function:
DESC FUNCTION cycling.flog
CREATE FUNCTION cycling.flog(input double)
    CALLED ON NULL INPUT
    RETURNS double
    LANGUAGE java
    AS $$
      return Double.valueOf(Math.log(input.doubleValue()));
    $$;