Class FunctionLib
java.lang.Object
org.pentaho.libformula.editor.function.FunctionLib
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getFunctionDescription
(String functionName) String[]
String[]
getFunctionsForACategory
(String category) Get all the function names for a certain categoryvoid
setFunctions
(List<FunctionDescription> functions)
-
Constructor Details
-
FunctionLib
- Throws:
org.pentaho.di.core.exception.KettleXMLException
-
-
Method Details
-
getFunctions
- Returns:
- the functions
-
setFunctions
- Parameters:
functions
- the functions to set
-
getFunctionNames
- Returns:
- A sorted array of function names, extracted from the function descriptions...
-
getFunctionCategories
- Returns:
- A sorted array of unique categories, extracted from the function descriptions...
-
getFunctionsForACategory
Get all the function names for a certain category- Parameters:
category
- the category name to look for- Returns:
- the sorted array of function names for the specified category
-
getFunctionDescription
- Parameters:
functionName
- the name of the function to look for- Returns:
- the corresponding function description or null if nothing was found.
-