public static class CreateFnFunction.UserFunction extends AbstractFunction
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
argNames |
protected Code |
body |
LOGGER, TYPE_BIGDECIMAL, TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_NULL, TYPE_STRINGGROUP_AGGREGATE, GROUP_BOOLEAN, GROUP_CONVERSION, GROUP_DATETIME, GROUP_NUMERIC, GROUP_OGC, GROUP_OTHER, GROUP_PROGRAMMING, GROUP_STRING| Constructor and Description |
|---|
UserFunction(java.lang.String group,
java.lang.String name,
java.util.List<java.lang.String> argNames,
Code body,
Code except,
Code declare) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
call(Interpreter interpreter,
MutableSymbolTable localSymbolTable,
java.lang.Object[] args) |
java.lang.Object |
call(Interpreter interpreter,
java.lang.Object[] args) |
addAlias, aliases, allowConstantFolding, argc, call, checkDoubleValue, checkFloatValue, description, descriptionArgs, getBigDecimal, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getComparable, getComparable, getDate, getDate, getDouble, getDouble, getFile, getFile, getFloat, getFloat, getFullDescription, getInt, getInt, getInt, getJsonArray, getJsonArray, getJsonObject, getJsonObject, getJsonStructure, getJsonStructure, getList, getLocalDateTime, getLocalDateTime, getLong, getLong, getObject, getObject, getStr, getStr, getType, getURL, group, isHidden, isNull, isOperator, isSQLCompatible, name, returnType, template, toBoolean, toString, toString, toValue, useArgumentsInsteadObjectsprotected final Code body
protected final java.util.List<java.lang.String> argNames
public java.lang.Object call(Interpreter interpreter, java.lang.Object[] args) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object call(Interpreter interpreter, MutableSymbolTable localSymbolTable, java.lang.Object[] args) throws java.lang.Exception
java.lang.Exception