java.lang.Object
org.apache.jena.sparql.engine.join.JoinKey
All Implemented Interfaces:
Iterable<Var>

public final class JoinKey extends Object implements Iterable<Var>
JoinKey for hash joins
  • Method Details

    • create

      public static JoinKey create(Collection<Var> vars1, Collection<Var> vars2)
      Make a JoinKey from the intersection of two sets
    • createVarKey

      public static JoinKey createVarKey(Collection<Var> vars1, Collection<Var> vars2)
      Make a JoinKey of single variable from the intersection of two sets
    • create

      public static JoinKey create(Var var)
    • isEmpty

      public boolean isEmpty()
    • length

      public int length()
    • getVarKey

      public Var getVarKey()
      Get a single variable for this key. For any one key, it always returns the same var
    • iterator

      public Iterator<Var> iterator()
      Specified by:
      iterator in interface Iterable<Var>
    • toString

      public String toString()
      Overrides:
      toString in class Object