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
Adapter between property functions and server procedures
When called, this wrapper reconstructs the usual property function calling conventions.
-
Constructor Summary
ConstructorDescriptionProcedurePF
(PropertyFunction propFunc, PropFuncArg subjArg, org.apache.jena.graph.Node pfNode, PropFuncArg objArg) -
Method Summary
Modifier and TypeMethodDescriptionvoid
build
(org.apache.jena.graph.Node procId, ExprList args, ExecutionContext execCxt) Called during query plan construction immediately after the construction of the property function instance.void
output
(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt) proc
(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.atlas.io.Printable
output
Methods inherited from interface org.apache.jena.sparql.util.PrintSerializable
toString
-
Constructor Details
-
ProcedurePF
public ProcedurePF(PropertyFunction propFunc, PropFuncArg subjArg, org.apache.jena.graph.Node pfNode, PropFuncArg objArg)
-
-
Method Details
-
proc
Description copied from interface:Procedure
Call the procedure, with an input iterator of bindings. Implementations can inherit from the convenience formProcEval
which calls repeated for each binding. -
build
Description copied from interface:Procedure
Called during query plan construction immediately after the construction of the property function instance. -
output
- Specified by:
output
in interfacePrintSerializable
-