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
Common case: take a node (object) and
calculate something else, assign it to a
variable (subject)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Node
execEvaluated
(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
-
Constructor Details
-
PFuncAssignToSubject
public PFuncAssignToSubject()
-
-
Method Details
-
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
-
calc
-