Interface Procedure

All Superinterfaces:
org.apache.jena.atlas.io.Printable, PrintSerializable
All Known Implementing Classes:
debug, ProcedureBase, ProcedureEval, ProcedurePF

public interface Procedure extends PrintSerializable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    build(org.apache.jena.graph.Node procId, ExprList args, ExecutionContext execCxt)
    Called during query plan construction immediately after the construction of the property function instance.
    Call the procedure, with an input iterator of bindings.

    Methods inherited from interface org.apache.jena.atlas.io.Printable

    output

    Methods inherited from interface org.apache.jena.sparql.util.PrintSerializable

    output, toString
  • Method Details

    • build

      void build(org.apache.jena.graph.Node procId, ExprList args, ExecutionContext execCxt)
      Called during query plan construction immediately after the construction of the property function instance.
      Parameters:
      procId - The procedure identifier (usually a URI)
      args - The argument list (unevaluated expressions)
      execCxt - Execution context
    • proc

      Call the procedure, with an input iterator of bindings. Implementations can inherit from the convenience form ProcEval which calls repeated for each binding.
      Parameters:
      input - QueryIterator from the previous stage
      execCxt - The execution context
      Returns:
      QueryIterator