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() |
protected boolean |
validateArgType(int argNum,
java.lang.Class<?> type) |
getCaseType, getType, setCaseType, setType, validateNumArgs
initArgs
connect, disconnect, executeAll, shutdown, startup
public static final java.lang.String FUNC_NAME
protected boolean validateArgType(int argNum, java.lang.Class<?> type)
validateArgType
in class DefaultFunctionFactory.SwitchFunction
public QualifiedValue execute(Expression[] args) throws ExpressionException
Function
execute
in interface Function
execute
in class DefaultFunctionFactory.SwitchFunction
ExpressionException
protected java.lang.String getFunctionDisplayName()
getFunctionDisplayName
in class DefaultFunctionFactory.SwitchFunction
public java.lang.String getArgDocString()
Function
getArgDocString
in interface Function
getArgDocString
in class DefaultFunctionFactory.SwitchFunction
public Function copy()
BaseFunction
copy
in interface Function
copy
in class DefaultFunctionFactory.SwitchFunction