Class BindOrSourcePlan

java.lang.Object
fr.mines_stetienne.ci.sparql_generate.engine.BindOrSourcePlan
All Implemented Interfaces:
BindingsClausePlan
Direct Known Subclasses:
BindPlan, SourcePlan

public abstract class BindOrSourcePlan extends Object implements BindingsClausePlan
Executes a BIND or SOURCE clause.
Author:
Maxime Lefrançois
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.apache.jena.sparql.core.Var
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    BindOrSourcePlan(org.apache.jena.sparql.core.Var var)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final List<org.apache.jena.sparql.engine.binding.Binding>
    exec(List<org.apache.jena.sparql.engine.binding.Binding> values, org.apache.jena.sparql.util.Context context)
    Updates the values block.
    protected abstract org.apache.jena.sparql.engine.binding.Binding
    exec(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.util.Context context)
     
    final org.apache.jena.sparql.core.Var
     
    protected final org.apache.jena.sparql.engine.binding.Binding
    parentBinding(org.apache.jena.sparql.engine.binding.Binding binding)
    The binding without the variable of this clause: a variable already bound is bound anew, as by ITERATOR.
    protected void
    prepare(org.apache.jena.sparql.util.Context context)
    Called once before the bindings of a batch are processed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • var

      protected final org.apache.jena.sparql.core.Var var
  • Constructor Details

    • BindOrSourcePlan

      protected BindOrSourcePlan(org.apache.jena.sparql.core.Var var)
  • Method Details

    • exec

      public final List<org.apache.jena.sparql.engine.binding.Binding> exec(List<org.apache.jena.sparql.engine.binding.Binding> values, org.apache.jena.sparql.util.Context context)
      Updates the values block.
      Parameters:
      values - the values.
      context - the execution context.
      Returns:
      the new binding
    • exec

      protected abstract org.apache.jena.sparql.engine.binding.Binding exec(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.util.Context context)
    • prepare

      protected void prepare(org.apache.jena.sparql.util.Context context)
      Called once before the bindings of a batch are processed.
    • getVar

      public final org.apache.jena.sparql.core.Var getVar()
    • parentBinding

      protected final org.apache.jena.sparql.engine.binding.Binding parentBinding(org.apache.jena.sparql.engine.binding.Binding binding)
      The binding without the variable of this clause: a variable already bound is bound anew, as by ITERATOR.