com.hp.hpl.jena.sparql.pfunction
Class PFuncAssignToSubject
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.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)
PFuncAssignToSubject
public PFuncAssignToSubject()
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
public abstract Node calc(Node node)
Licenced under the Apache License, Version 2.0