public static class TagFunctionFactory.FSQLDateExtractFunction extends AbstractFunction
Constructor and Description |
---|
FSQLDateExtractFunction(java.lang.String name,
int calUnit) |
Modifier and Type | Method and Description |
---|---|
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() |
java.lang.Class<?> |
getType()
Returns the type of Object that this function will generate with execute
|
protected boolean |
validateArgType(int argNum,
java.lang.Class<?> type) |
protected boolean |
validateNumArgs(int num) |
initArgs
connect, copy, disconnect, executeAll, shutdown, startup
public FSQLDateExtractFunction(java.lang.String name, int calUnit)
protected java.lang.String getFunctionDisplayName()
getFunctionDisplayName
in class AbstractFunction
public QualifiedValue execute(Expression[] args) throws ExpressionException
Function
ExpressionException
public java.lang.String getArgDocString()
Function
public java.lang.Class<?> getType()
Function
protected boolean validateArgType(int argNum, java.lang.Class<?> type)
validateArgType
in class AbstractFunction
protected boolean validateNumArgs(int num)
validateNumArgs
in class AbstractFunction