|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.sparql.function.FunctionBase
public abstract class FunctionBase
Interface to value-testing extensions to the expression evaluator.
| Constructor Summary | |
|---|---|
FunctionBase()
|
|
| Method Summary | |
|---|---|
void |
build(String uri,
ExprList args)
Called during query plan construction immediately after the construction of the extension instance. |
abstract void |
checkBuild(String uri,
ExprList args)
|
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. |
abstract NodeValue |
exec(List<NodeValue> args)
Function call to a list of evaluated argument values |
Context |
getContext()
Return the Context object for this execution |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FunctionBase()
| Method Detail |
|---|
public final void build(String uri,
ExprList args)
Function
build in interface Functionargs - The parsed arguements
public NodeValue exec(Binding binding,
ExprList args,
String uri,
FunctionEnv env)
Function
exec in interface Functionbinding - The current solutionargs - A list of unevaluated expressionsuri - The name of thisenv - The execution context
public Context getContext()
public abstract NodeValue exec(List<NodeValue> args)
public abstract void checkBuild(String uri,
ExprList args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||