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
ConstructorsConstructorDescriptionProcedurePF(PropertyFunction propFunc, PropFuncArg subjArg, org.apache.jena.graph.Node pfNode, PropFuncArg objArg) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(org.apache.jena.graph.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) 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, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.jena.atlas.io.Printable
outputMethods 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:ProcedureCall the procedure, with an input iterator of bindings. Implementations can inherit from the convenience formProcEvalwhich calls repeated for each binding. -
build
Description copied from interface:ProcedureCalled during query plan construction immediately after the construction of the property function instance. -
output
- Specified by:
outputin interfacePrintSerializable
-