Class SetIndexTable

  • All Implemented Interfaces:
    IndexTable

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

      Constructors 
      Constructor Description
      SetIndexTable​(java.util.Set<Var> commonVars, QueryIterator data)
      Creates a new index table
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean containsCompatibleWithSharedDomain​(Binding binding)
      Is there a binding in the table that has a shared domain (variables in common) and is join-compatible? This is teh condition for MINUS to exclude the argument binding.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SetIndexTable

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

      • 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 teh condition for MINUS to exclude the argument binding.
        Specified by:
        containsCompatibleWithSharedDomain in interface IndexTable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object