Modifier and Type | Method and Description |
---|---|
FreeRefFunction |
findFunction(java.lang.String name)
Returns executor by specified name.
|
static java.util.Collection<java.lang.String> |
getNotSupportedFunctionNames()
Returns a collection of ATP function names NOT implemented by POI.
|
static java.util.Collection<java.lang.String> |
getSupportedFunctionNames()
Returns a collection of ATP function names implemented by POI.
|
static boolean |
isATPFunction(java.lang.String name) |
static void |
registerFunction(java.lang.String name,
FreeRefFunction func)
Register a ATP function in runtime.
|
public static final UDFFinder instance
public FreeRefFunction findFunction(java.lang.String name)
UDFFinder
null
if the function name is unknown.findFunction
in interface UDFFinder
name
- Name of function.public static boolean isATPFunction(java.lang.String name)
public static java.util.Collection<java.lang.String> getSupportedFunctionNames()
public static java.util.Collection<java.lang.String> getNotSupportedFunctionNames()
public static void registerFunction(java.lang.String name, FreeRefFunction func)
name
- the function namefunc
- the functoin to registerjava.lang.IllegalArgumentException
- if the function is unknown or already registered.Copyright 2021 The Apache Software Foundation or its licensors, as applicable.