com.hp.hpl.jena.sparql.pfunction.library
Class assign
java.lang.Object
com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase
com.hp.hpl.jena.sparql.pfunction.PropertyFunctionEval
com.hp.hpl.jena.sparql.pfunction.PFuncSimple
com.hp.hpl.jena.sparql.pfunction.library.assign
- All Implemented Interfaces:
- PropertyFunction
public class assign
- extends PFuncSimple
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.
assign
public assign()
execEvaluated
public QueryIterator execEvaluated(Binding binding,
com.hp.hpl.jena.graph.Node subject,
com.hp.hpl.jena.graph.Node predicate,
com.hp.hpl.jena.graph.Node object,
ExecutionContext execCxt)
- Specified by:
execEvaluated
in class PFuncSimple
- 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
Licenced under the Apache License, Version 2.0