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


Method Summary
 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.
 QueryIterator proc(QueryIterator input, ExecutionContext execCxt)
          Call the procedure, with an input iterator of bindings.
 
Methods inherited from interface com.hp.hpl.jena.sparql.util.PrintSerializable
output, toString
 
Methods inherited from interface org.openjena.atlas.io.Printable
output
 

Method Detail

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 stage
execCxt - The execution context
Returns:
QueryIterator


Licenced under the Apache License, Version 2.0