Package org.apache.jena.sparql.procedure
Interface Procedure
- All Superinterfaces:
org.apache.jena.atlas.io.Printable,PrintSerializable
- All Known Implementing Classes:
debug,ProcedureBase,ProcedureEval,ProcedurePF
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(Node procId, ExprList args, ExecutionContext execCxt) Called during query plan construction immediately after the construction of the property function instance.proc(QueryIterator input, ExecutionContext execCxt) Call the procedure, with an input iterator of bindings.Methods inherited from interface org.apache.jena.atlas.io.Printable
outputMethods inherited from interface org.apache.jena.sparql.util.PrintSerializable
output, toString
-
Method Details
-
build
Called during query plan construction immediately after the construction of the property function instance.- Parameters:
procId- The procedure identifier (usually a URI)args- The argument list (unevaluated expressions)execCxt- Execution context
-
proc
Call the procedure, with an input iterator of bindings. Implementations can inherit from the convenience formProcEvalwhich calls repeated for each binding.- Parameters:
input- QueryIterator from the previous stageexecCxt- The execution context- Returns:
- QueryIterator
-