Class PFuncSimple

All Implemented Interfaces:
PropertyFunction
Direct Known Subclasses:
assign, blankNode, container, PathPropertyFunction, PFuncAssignToObject, PFuncAssignToSubject, str

public abstract class PFuncSimple extends PropertyFunctionEval
Common, simple case:
  • arguments are not lists
  • attempt to put values in for any bound variables
  • call the implementation with one binding at a time
  • Method Details

    • execEvaluated

      public final QueryIterator execEvaluated(Binding binding, PropFuncArg argSubject, org.apache.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt)
      Specified by:
      execEvaluated in class PropertyFunctionEval
      Parameters:
      binding - Current solution from previous query stage
      argSubject - PropFuncArg, after substitution of any bound variables in this binding
      predicate - This predicate
      argObject - PropFuncArg, after substitution of any bound variables in this binding
      execCxt - Execution context
      Returns:
      QueryIterator
    • execEvaluated

      public abstract 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