Class TagFunctionFactory
- java.lang.Object
-
- com.inductiveautomation.ignition.common.expressions.AbstractFunctionFactory
-
- com.inductiveautomation.ignition.common.expressions.legacy.TagFunctionFactory
-
- All Implemented Interfaces:
FunctionFactory
public class TagFunctionFactory extends AbstractFunctionFactory
This function factory adds additional expression functions that are used by SQLTags, and not by bindings. There are several provisions for legacy features that existed in FactorySQL, but that we might not want new installs to use.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TagFunctionFactory.DatacacheCountFunction
static class
TagFunctionFactory.FSQLDateExtractFunction
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.common.expressions.AbstractFunctionFactory
categories, functions, parent
-
-
Constructor Summary
Constructors Constructor Description TagFunctionFactory(FunctionFactory funcFactory, DBExpressionFunctionProvider dbProv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addDBFunctions(DBExpressionFunctionProvider dbProv)
protected void
addFSQLDateFunctions()
Function
getFunction(java.lang.String name)
Retrieves the function with the given name.-
Methods inherited from class com.inductiveautomation.ignition.common.expressions.AbstractFunctionFactory
addFunction, addFunction, getCategories, getFunctionNames, getFunctionsInCategory
-
-
-
-
Constructor Detail
-
TagFunctionFactory
public TagFunctionFactory(FunctionFactory funcFactory, DBExpressionFunctionProvider dbProv)
-
-
Method Detail
-
getFunction
public Function getFunction(java.lang.String name)
Description copied from class:AbstractFunctionFactory
Retrieves the function with the given name. Returns a copy of that function, so that each FunctionExpression can have its own version of the function. NB - some functions may opt to not create a true copy, it depends on the serialization requirements of the function.- Specified by:
getFunction
in interfaceFunctionFactory
- Overrides:
getFunction
in classAbstractFunctionFactory
- Returns:
- The function, or null
-
addFSQLDateFunctions
protected void addFSQLDateFunctions()
-
addDBFunctions
protected void addDBFunctions(DBExpressionFunctionProvider dbProv)
-
-