Class 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)
  • 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 stage
      subject - Node in subject slot, after substitution if a bound variable in this binding
      predicate - This predicate
      object - Node in object slot, after substitution if a bound variable in this binding
      execCxt - Execution context
      Returns:
      QueryIterator
    • calc

      public abstract org.apache.jena.graph.Node calc(org.apache.jena.graph.Node node)