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.library.assign
- All Implemented Interfaces:
PropertyFunction
Assignment: does not change the value of an existing binding.
Either the subject or object must be a constant or be a bound variable.
If both are bound, it degenerates to a test of RDF term equality.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecEvaluated
(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
-
assign
public assign()
-
-
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) - Specified by:
execEvaluated
in classPFuncSimple
- 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
-