com.hp.hpl.jena.sparql.pfunction
Class ProcedurePF
java.lang.Object
com.hp.hpl.jena.sparql.util.PrintSerializableBase
com.hp.hpl.jena.sparql.pfunction.ProcedurePF
- All Implemented Interfaces:
- Procedure, PrintSerializable, Printable
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.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProcedurePF
public ProcedurePF(PropertyFunction propFunc,
PropFuncArg subjArg,
com.hp.hpl.jena.graph.Node pfNode,
PropFuncArg objArg)
proc
public QueryIterator proc(QueryIterator input,
ExecutionContext execCxt)
- Description copied from interface:
Procedure
- Call the procedure, with an input iterator of bindings.
Implementations can inherit from the convenience form
ProcEval
which calls repeated for each binding.
- Specified by:
proc in interface Procedure
- Parameters:
input - QueryIterator from the previous stageexecCxt - The execution context
- Returns:
- QueryIterator
build
public void build(com.hp.hpl.jena.graph.Node procId,
ExprList args,
ExecutionContext execCxt)
- Description copied from interface:
Procedure
- Called during query plan construction immediately after the construction
of the property function instance.
- Specified by:
build in interface Procedure
- Parameters:
procId - The procedure identifier (usually a URI)args - The argument list (unevaluated expressions)execCxt - Execution context
output
public void output(IndentedWriter out,
SerializationContext sCxt)
- Specified by:
output in interface PrintSerializable
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.