com.hp.hpl.jena.sparql.procedure
Interface Procedure
- All Superinterfaces:
- Printable, PrintSerializable
- All Known Implementing Classes:
- debug, ProcedureBase, ProcedureEval, ProcedurePF
public interface Procedure
- extends PrintSerializable
build
void build(com.hp.hpl.jena.graph.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 form
ProcEval
which calls repeated for each binding.
- Parameters:
input
- QueryIterator from the previous stageexecCxt
- The execution context
- Returns:
- QueryIterator
Licenced under the Apache License, Version 2.0