Class SetIndexTable

java.lang.Object
org.apache.jena.sparql.engine.index.SetIndexTable
All Implemented Interfaces:
IndexTable

public class SetIndexTable extends Object implements IndexTable
An IndexTable implementation optimized for the case where there is only a single common variable
  • Constructor Details

    • SetIndexTable

      public SetIndexTable(Set<Var> commonVars, QueryIterator data)
      Creates a new index table
      Parameters:
      commonVars - Common Variables
      data - Data
  • Method Details

    • containsCompatibleWithSharedDomain

      public boolean containsCompatibleWithSharedDomain(Binding binding)
      Description copied from interface: IndexTable
      Is there a binding in the table that has a shared domain (variables in common) and is join-compatible? This is the condition for MINUS to exclude the argument binding.
      Specified by:
      containsCompatibleWithSharedDomain in interface IndexTable
    • toString

      public String toString()
      Overrides:
      toString in class Object