Package org.apache.jena.sparql.procedure
Class ProcedureBase
- java.lang.Object
-
- org.apache.jena.sparql.util.PrintSerializableBase
-
- org.apache.jena.sparql.procedure.ProcedureBase
-
- All Implemented Interfaces:
org.apache.jena.atlas.io.Printable,Procedure,PrintSerializable
- Direct Known Subclasses:
ProcedureEval
public abstract class ProcedureBase extends PrintSerializableBase implements Procedure
-
-
Constructor Summary
Constructors Constructor Description ProcedureBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidbuild(Node procId, ExprList args, ExecutionContext execCxt)Called during query plan construction immediately after the construction of the property function instance.abstract QueryIteratorexec(Binding binding, Node name, ExprList args, ExecutionContext execCxt)voidoutput(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)QueryIteratorproc(QueryIterator input, ExecutionContext execCxt)Call the procedure, with an input iterator of bindings.-
Methods inherited from class org.apache.jena.sparql.util.PrintSerializableBase
output, toString, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.jena.sparql.util.PrintSerializable
toString
-
-
-
-
Method Detail
-
build
public void build(Node procId, ExprList args, ExecutionContext execCxt)
Description copied from interface:ProcedureCalled during query plan construction immediately after the construction of the property function instance.
-
proc
public final QueryIterator proc(QueryIterator input, ExecutionContext execCxt)
Description copied from interface:ProcedureCall the procedure, with an input iterator of bindings. Implementations can inherit from the convenience formProcEvalwhich calls repeated for each binding.
-
exec
public abstract QueryIterator exec(Binding binding, Node name, ExprList args, ExecutionContext execCxt)
-
output
public void output(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)- Specified by:
outputin interfacePrintSerializable
-
-