Package org.apache.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,PFuncListAndList,PFuncListAndSimple,PFuncSimple,PFuncSimpleAndList,PropertyFunctionBase,PropertyFunctionEval,seq,splitIRI,splitURI,str,strSplit,version,versionARQ
public interface PropertyFunction
-
-
Method Summary
All Methods Instance Methods Abstract 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.QueryIteratorexec(QueryIterator input, PropFuncArg argSubject, Node predicate, PropFuncArg argObject, ExecutionContext execCxt)Create an iterator of bindings for the given inputs
-
-
-
Method Detail
-
build
void build(PropFuncArg argSubject, 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, 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
-
-