Package org.apache.jena.sparql.pfunction
Class PFuncAssignToSubject
- java.lang.Object
-
- org.apache.jena.sparql.pfunction.PropertyFunctionBase
-
- org.apache.jena.sparql.pfunction.PropertyFunctionEval
-
- org.apache.jena.sparql.pfunction.PFuncSimple
-
- org.apache.jena.sparql.pfunction.PFuncAssignToSubject
-
- All Implemented Interfaces:
PropertyFunction
public abstract class PFuncAssignToSubject extends PFuncSimple
Common case: take a node (object) and calculate something else, assign it to a variable (subject)
-
-
Constructor Summary
Constructors Constructor Description PFuncAssignToSubject()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Nodecalc(Node node)QueryIteratorexecEvaluated(Binding binding, Node subject, Node predicate, Node object, ExecutionContext execCxt)-
Methods inherited from class org.apache.jena.sparql.pfunction.PFuncSimple
execEvaluated
-
Methods inherited from class org.apache.jena.sparql.pfunction.PropertyFunctionEval
exec
-
Methods inherited from class org.apache.jena.sparql.pfunction.PropertyFunctionBase
build, exec
-
-
-
-
Method Detail
-
execEvaluated
public QueryIterator execEvaluated(Binding binding, Node subject, Node predicate, Node object, ExecutionContext execCxt)
- Parameters:
binding- Current solution from previous query stagesubject- Node in subject slot, after substitution if a bound variable in this bindingpredicate- This predicateobject- Node in object slot, after substitution if a bound variable in this bindingexecCxt- Execution context- Returns:
- QueryIterator
-
-