java.lang.Object
org.apache.jena.sparql.pfunction.PropertyFunctionBase
- All Implemented Interfaces:
PropertyFunction
- Direct Known Subclasses:
PropertyFunctionEval
Basic property function handler that calls the implementation
subclass one binding at a time
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(PropFuncArg argSubject, org.apache.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt) Called during query plan construction immediately after the construction of the property function instance.abstract QueryIteratorexec(Binding binding, PropFuncArg argSubject, org.apache.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt) exec(QueryIterator input, PropFuncArg argSubject, org.apache.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt) Create an iterator of bindings for the given inputs
-
Method Details
-
build
public void build(PropFuncArg argSubject, org.apache.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt) Description copied from interface:PropertyFunctionCalled during query plan construction immediately after the construction of the property function instance.- Specified by:
buildin interfacePropertyFunction- 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
public QueryIterator exec(QueryIterator input, PropFuncArg argSubject, org.apache.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt) Description copied from interface:PropertyFunctionCreate an iterator of bindings for the given inputs- Specified by:
execin interfacePropertyFunction- 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
-
exec
public abstract QueryIterator exec(Binding binding, PropFuncArg argSubject, org.apache.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt)
-