com.hp.hpl.jena.sparql.pfunction
Interface PropertyFunction
- All Known Implementing Classes:
- alt, assign, bag, blankNode, bnode, concat, container, ListBase, ListBase1, ListBaseList, listIndex, listLength, listMember, PathPropertyFunction, PFuncAssignToObject, PFuncAssignToSubject, PFuncSimple, PFuncSimpleAndList, PropertyFunctionBase, PropertyFunctionEval, seq, splitIRI, splitURI, str, version, versionARQ
public interface PropertyFunction
build
void build(PropFuncArg argSubject,
com.hp.hpl.jena.graph.Node predicate,
PropFuncArg argObject,
ExecutionContext execCxt)
- Called during query plan construction immediately after the
construction of the property function instance.
- Parameters:
argSubject
- The parsed argument(s) in the subject positionpredicate
- The extension URI (as a Node).argObject
- The parsed argument(s) in the object positionexecCxt
- Execution context
exec
QueryIterator exec(QueryIterator input,
PropFuncArg argSubject,
com.hp.hpl.jena.graph.Node predicate,
PropFuncArg argObject,
ExecutionContext execCxt)
- Create an iterator of bindings for the given inputs
- Parameters:
input
- QueryIterator from the previous stageargSubject
- The parsed argument(s) in the subject positionpredicate
- The extension URI (as a Node).argObject
- The parsed argument(s) in the object positionexecCxt
- The execution context
- Returns:
- QueryIterator
Licenced under the Apache License, Version 2.0