Annotation Interface UserDefinedFunction.DoNotOptimize

Enclosing interface:
UserDefinedFunction

@Target(METHOD) @Retention(RUNTIME) public static @interface UserDefinedFunction.DoNotOptimize
This annotation specifies not to optimize the method it is attached to.
Optimization is done by the formula engine in case a method call only has constant parameters. It reduces the execution time of the formula and enables the method to be used in the record selection formula. But this implies that the method is always called at least once if the constant parameters criterion applies.
DoNotOptimize prevents the optimization of the method call. The method will be called as needed, which may be never or many times per report. In addition the method call should no longer be used in the record selection formula since it will cause a very slow local filtering of the data records.
Since:
24.4