public static class DefaultFunctionFactory.CaseFunction extends DefaultFunctionFactory.SwitchFunction
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FUNC_NAME |
| Constructor and Description |
|---|
CaseFunction() |
| Modifier and Type | Method and Description |
|---|---|
Function |
copy()
Returns this.
|
QualifiedValue |
execute(Expression[] args)
Execute this function, and return the function's qualified value.
|
java.lang.String |
getArgDocString()
Returns a string to be used in the auto-generated function documentation.
|
protected java.lang.String |
getFunctionDisplayName() |
getCaseType, getType, setCaseType, setType, validateNumArgsexecuteArg, initArgs, logconnect, disconnect, executeAll, shutdown, startuppublic static final java.lang.String FUNC_NAME
public QualifiedValue execute(Expression[] args) throws ExpressionException
Functionexecute in interface Functionexecute in class DefaultFunctionFactory.SwitchFunctionExpressionExceptionprotected java.lang.String getFunctionDisplayName()
getFunctionDisplayName in class DefaultFunctionFactory.SwitchFunctionpublic java.lang.String getArgDocString()
FunctiongetArgDocString in interface FunctiongetArgDocString in class DefaultFunctionFactory.SwitchFunctionpublic Function copy()
BaseFunctioncopy in interface Functioncopy in class DefaultFunctionFactory.SwitchFunction