Package org.apache.jena.sparql.pfunction
Class PropertyFunctionBase
- java.lang.Object
-
- org.apache.jena.sparql.pfunction.PropertyFunctionBase
-
- All Implemented Interfaces:
PropertyFunction
- Direct Known Subclasses:
PropertyFunctionEval
public abstract class PropertyFunctionBase extends java.lang.Object implements PropertyFunction
Basic property function handler that calls the implementation subclass one binding at a time
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidbuild(PropFuncArg argSubject, 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, Node predicate, PropFuncArg argObject, ExecutionContext execCxt)QueryIteratorexec(QueryIterator input, PropFuncArg argSubject, Node predicate, PropFuncArg argObject, ExecutionContext execCxt)Create an iterator of bindings for the given inputs
-
-
-
Method Detail
-
build
public void build(PropFuncArg argSubject, 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, 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, Node predicate, PropFuncArg argObject, ExecutionContext execCxt)
-
-