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
-
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.jena.graph.Node
calc
(org.apache.jena.graph.Node node) execEvaluated
(Binding binding, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.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, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.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
public abstract org.apache.jena.graph.Node calc(org.apache.jena.graph.Node node)
-