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
public interface Procedure extends PrintSerializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
build(Node procId, ExprList args, ExecutionContext execCxt)
Called during query plan construction immediately after the construction of the property function instance.QueryIterator
proc(QueryIterator input, ExecutionContext execCxt)
Call the procedure, with an input iterator of bindings.-
Methods inherited from interface org.apache.jena.sparql.util.PrintSerializable
output, toString
-
-
-
-
Method Detail
-
build
void build(Node procId, ExprList args, ExecutionContext execCxt)
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
QueryIterator proc(QueryIterator input, ExecutionContext execCxt)
Call the procedure, with an input iterator of bindings. Implementations can inherit from the convenience formProcEval
which calls repeated for each binding.- Parameters:
input
- QueryIterator from the previous stageexecCxt
- The execution context- Returns:
- QueryIterator
-
-