Package org.apache.poi.ss.formula.eval
Class FunctionEval
java.lang.Object
org.apache.poi.ss.formula.eval.FunctionEval
Mappings from the Excel functions to our evaluation implementations
(where available)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic FunctiongetBasicFunction(int functionIndex) static Collection<String>Returns an array of function names NOT implemented by POI.static Collection<String>Returns a collection of function names implemented by POI.static voidregisterFunction(String name, Function func) Register a new function in runtime.
-
Field Details
-
functions
Array elements corresponding to unimplemented functions arenull
-
-
Method Details
-
getBasicFunction
- Returns:
nullif the specified functionIndex is for INDIRECT() or any external (add-in) function.
-
registerFunction
Register a new function in runtime.- Parameters:
name- the function namefunc- the functoin to register- Throws:
IllegalArgumentException- if the function is unknown or already registered.- Since:
- 3.8 beta6
-
getSupportedFunctionNames
Returns a collection of function names implemented by POI.- Returns:
- an array of supported functions
- Since:
- 3.8 beta6
-
getNotSupportedFunctionNames
Returns an array of function names NOT implemented by POI.- Returns:
- an array of not supported functions
- Since:
- 3.8 beta6
-