Package org.geotools.process.function
Class ProcessFunctionFactory
Object
ProcessFunctionFactory
- All Implemented Interfaces:
FunctionFactory
A bridge between the process world and the filter function world: any process returning a single value can be seen as
a filter function
- Author:
- Andrea Aime - GeoSolutions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Parameter used to indicate a certain output is the primary one for the process -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clears the caches forcing the system to do another lookupfunction
(String name, List<Expression> args, Literal fallback) Returns a function with the specified name.function
(Name processName, List<Expression> args, Literal fallback) Returns a function with the specified name.Returns the list of function names the factory provides.
-
Field Details
-
PRIMARY_OUTPUT
Parameter used to indicate a certain output is the primary one for the process- See Also:
-
-
Constructor Details
-
ProcessFunctionFactory
public ProcessFunctionFactory()
-
-
Method Details
-
function
Description copied from interface:FunctionFactory
Returns a function with the specified name.- Specified by:
function
in interfaceFunctionFactory
- Parameters:
name
- The name of the functionargs
- Variable list of expression arguments for the function.fallback
- A fallback literal to use in cases where the function does not exist or can not be created. This argument may benull
.
-
function
Description copied from interface:FunctionFactory
Returns a function with the specified name.- Specified by:
function
in interfaceFunctionFactory
- Parameters:
processName
- The name of the functionargs
- Variable list of expression arguments for the function.fallback
- A fallback literal to use in cases where the function does not exist or can not be created. This argument may benull
.
-
getFunctionNames
Description copied from interface:FunctionFactory
Returns the list of function names the factory provides.- Specified by:
getFunctionNames
in interfaceFunctionFactory
- Returns:
- A list of function names, possibly empty, never null.
-
clear
public void clear()Clears the caches forcing the system to do another lookup
-