public static class DefaultFunctionFactory.DataSetDateAggregateFunction extends AbstractFunction
Modifier and Type | Field and Description |
---|---|
protected static java.util.List<java.lang.String> |
fakeDSNames |
protected static java.util.List<java.lang.Class<?>> |
fakeDSTypes |
protected java.lang.String |
funcName |
Constructor and Description |
---|
DataSetDateAggregateFunction() |
DataSetDateAggregateFunction(java.lang.String name) |
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.
|
java.lang.String |
getFuncName() |
protected java.lang.String |
getFunctionDisplayName() |
java.lang.Class<?> |
getType()
Returns the type of Object that this function will generate with execute
|
void |
initArgs(Expression[] args)
First calls validateNumArgs() to make sure the number of args is correct, and then calls validateArgType(idx,
type) for each argument.
|
void |
setFuncName(java.lang.String funcName) |
validateArgType, validateNumArgs
connect, copy, disconnect, executeAll, shutdown, startup
protected java.lang.String funcName
protected static java.util.List<java.lang.String> fakeDSNames
protected static java.util.List<java.lang.Class<?>> fakeDSTypes
public DataSetDateAggregateFunction()
public DataSetDateAggregateFunction(java.lang.String name)
protected java.lang.String getFunctionDisplayName()
getFunctionDisplayName
in class AbstractFunction
public void initArgs(Expression[] args)
AbstractFunction
initArgs
in interface Function
initArgs
in class AbstractFunction
public QualifiedValue execute(Expression[] args) throws ExpressionException
Function
ExpressionException
public java.lang.String getArgDocString()
Function
public java.lang.Class<?> getType()
Function
public java.lang.String getFuncName()
public void setFuncName(java.lang.String funcName)