Skip navigation links
com.oracle.cep.cartridge
Interface ExternalFunction
- public interface ExternalFunction
- extends ExternalFunctionDefinition
ExternalFunction
s are functions used within CQL queries and views that are provided by an external entity, such as an ExternalFunctionProvider
.
- See Also:
ExternalFunctionProvider
Method Summary |
java.lang.Object |
execute(java.lang.Object[] args, java.lang.String caller, java.util.Map context)
Execute runtime function implementation for simple functions (e.g. non aggregate functions). |
execute
public java.lang.Object execute(java.lang.Object[] args,
java.lang.String caller,
java.util.Map context)
throws java.lang.Exception
- Execute runtime function implementation for simple functions (e.g. non aggregate functions).
Table functions should return a Collection
of objects.
-
- Parameters:
args
- function arguments
caller
- The caller of the CQL query/view, generally being the application name.
context
- Additional context provided by the caller.
- Returns:
- function's result or collection of results.
- See Also:
Collection