org.basex.query
Annotation Type QueryModule.Deterministic


@Retention(value=RUNTIME)
@Target(value=METHOD)
public static @interface QueryModule.Deterministic

Java code is treated as "non-deterministic", as its behavior cannot be predicted from the XQuery processor. You may annotate a function as QueryModule.Deterministic if you know that it will have no side-effects and will always yield the same result.