public interface Procedure extends PrintSerializable
Modifier and Type | Method and 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.
|
output, toString
void build(Node procId, ExprList args, ExecutionContext execCxt)
procId
- The procedure identifier (usually a URI)args
- The argument list (unevaluated expressions)execCxt
- Execution contextQueryIterator proc(QueryIterator input, ExecutionContext execCxt)
ProcEval
which calls repeated for each binding.input
- QueryIterator from the previous stageexecCxt
- The execution contextLicenced under the Apache License, Version 2.0