Package org.apache.jena.sparql.pfunction
Class ProcedurePF
- java.lang.Object
-
- org.apache.jena.sparql.util.PrintSerializableBase
-
- org.apache.jena.sparql.pfunction.ProcedurePF
-
- All Implemented Interfaces:
org.apache.jena.atlas.io.Printable,Procedure,PrintSerializable
public class ProcedurePF extends PrintSerializableBase implements Procedure
Adapter between property functions and server procedures When called, this wrapper reconstructs the usual property function calling conventions.
-
-
Constructor Summary
Constructors Constructor Description ProcedurePF(PropertyFunction propFunc, PropFuncArg subjArg, Node pfNode, PropFuncArg objArg)
-
Method Summary
All Methods Instance 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.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
-
-
-
-
Constructor Detail
-
ProcedurePF
public ProcedurePF(PropertyFunction propFunc, PropFuncArg subjArg, Node pfNode, PropFuncArg objArg)
-
-
Method Detail
-
proc
public 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.
-
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.
-
output
public void output(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)- Specified by:
outputin interfacePrintSerializable
-
-