@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface CustomExecutor
The method marked with this annotation will be executed when invoking this Custom Function or Custom Policy.
A custom function that can be delegated to a database is a custom function that when used, the Virtual DataPort Server may invoke a function of the database, instead of executing the Java code of the custom function.
See more about this in the section Developing Custom Functions that Can Be Delegated to a Database of the Virtual DataPort Developer Guide.
|Modifier and Type||Optional Element and Description|
It indicates if the code of the function can be executed.
Syntax of the Custom Element.
public abstract boolean implementation
true, it indicates that the code of the function also can
return the proper result. The Server will execute this code when the
function cannot be delegated to the database.
false, it indicates that the code of the custom function
is not valid and the Server will never execute it. Therefore, the Server
will return an error if it cannot delegate the function to the database.
trueif the code of the function can be executed.
public abstract DelegationPattern delegationPatterns
that indicate to what databases a custom function can be delegated and what function of the
database the Server has to execute.
Copyright © 2023 Denodo Technologies. All rights reserved.