Class OpExt

All Implemented Interfaces:
org.apache.jena.atlas.io.Printable, Op, Named, PrintSerializable

public abstract class OpExt extends OpBase
Marker for extension points Execution will be per-engine specific
  • Constructor Details

    • OpExt

      public OpExt(String name)
  • Method Details

    • effectiveOp

      public abstract Op effectiveOp()
      Return an op that will used by query processing algorithms such as optimization. This method returns a non-extension Op expression that is the equivalent SPARQL expression. For example, this is the Op replaced by this extension node.
    • eval

      public abstract QueryIterator eval(QueryIterator input, ExecutionContext execCxt)
      Evaluate the op, given a stream of bindings as input Throw UnsupportedOperationException if this OpExt is not executeable.
    • getName

      public final String getName()
    • visit

      public final void visit(OpVisitor opVisitor)
    • output

      public void output(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)
      Specified by:
      output in interface PrintSerializable
      Overrides:
      output in class OpBase
    • apply

      public Op apply(Transform transform, OpVisitor before, OpVisitor after)
    • apply

      public Op apply(Transform transform)
    • outputArgs

      public abstract void outputArgs(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)
      Output the arguments in legal SSE format. Multiple items, whitespace separated