public interface Function
Modifier and Type | Method and Description |
---|---|
void |
build(String uri,
ExprList args)
Called during query plan construction immediately after the
construction of the extension instance.
|
NodeValue |
exec(Binding binding,
ExprList args,
String uri,
FunctionEnv env)
Test a list of values - argument will not be null but
may have the wrong number of arguments.
|
void build(String uri, ExprList args)
args
- The parsed argumentsNodeValue exec(Binding binding, ExprList args, String uri, FunctionEnv env)
binding
- The current solutionargs
- A list of unevaluated expressionsuri
- The name of thisenv
- The execution contextLicenced under the Apache License, Version 2.0