public static class TagFunctionFactory.DatacacheCountFunction extends AbstractFunction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NORMAL_FUNCTION_NAME |
static java.lang.String |
QUARANTINED_FUNCTION_NAME |
Constructor and Description |
---|
DatacacheCountFunction(DBExpressionFunctionProvider prov,
boolean quarantined) |
Modifier and Type | Method and Description |
---|---|
TagValue |
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, log
connect, copy, disconnect, executeAll, shutdown, startup
public static final java.lang.String NORMAL_FUNCTION_NAME
public static final java.lang.String QUARANTINED_FUNCTION_NAME
public DatacacheCountFunction(DBExpressionFunctionProvider prov, boolean quarantined)
public TagValue execute(Expression[] args) throws ExpressionException
Function
ExpressionException
public java.lang.Class<?> getType()
Function
protected boolean validateNumArgs(int num)
validateNumArgs
in class AbstractFunction
protected boolean validateArgType(int argNum, java.lang.Class<?> type)
validateArgType
in class AbstractFunction
public java.lang.String getArgDocString()
Function
protected java.lang.String getFunctionDisplayName()
getFunctionDisplayName
in class AbstractFunction