All Implemented Interfaces:
Iterable<Var>, Collection<Var>, List<Var>

public final class JoinKey extends ImmutableUniqueList<Var>
JoinKey for hash joins
  • Method Details

    • empty

      public static JoinKey empty()
    • create

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

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

      public static JoinKey create(Var var)
    • newBuilder

      public static JoinKey.Builder newBuilder()
    • create

      public static JoinKey create(Collection<Var> vars)
    • create

      public static JoinKey create(String... varNames)
    • create

      public static JoinKey create(Var[] vars)
    • create

      public static JoinKey create(Set<Var> vars)
      Create a JoinKey directly from a Set. The set should be a LinkedHashSet because variable order matters for JoinKeys. This method does not rely on newBuilder().
    • getVarKey

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