Class PropertyFunctionBase

java.lang.Object
org.apache.jena.sparql.pfunction.PropertyFunctionBase
All Implemented Interfaces:
PropertyFunction
Direct Known Subclasses:
PropertyFunctionEval

public abstract class PropertyFunctionBase extends Object implements PropertyFunction
Basic property function handler that calls the implementation subclass one binding at a time
  • Method Details

    • build

      public void build(PropFuncArg argSubject, org.apache.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt)
      Description copied from interface: PropertyFunction
      Called during query plan construction immediately after the construction of the property function instance.
      Specified by:
      build in interface PropertyFunction
      Parameters:
      argSubject - The parsed argument(s) in the subject position
      predicate - The extension URI (as a Node).
      argObject - The parsed argument(s) in the object position
      execCxt - Execution context
    • exec

      public QueryIterator exec(QueryIterator input, PropFuncArg argSubject, org.apache.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt)
      Description copied from interface: PropertyFunction
      Create an iterator of bindings for the given inputs
      Specified by:
      exec in interface PropertyFunction
      Parameters:
      input - QueryIterator from the previous stage
      argSubject - The parsed argument(s) in the subject position
      predicate - The extension URI (as a Node).
      argObject - The parsed argument(s) in the object position
      execCxt - The execution context
      Returns:
      QueryIterator
    • exec

      public abstract QueryIterator exec(Binding binding, PropFuncArg argSubject, org.apache.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt)