Package org.apache.calcite.materialize
Class LatticeSuggester.Hop
- java.lang.Object
-
- org.apache.calcite.materialize.LatticeSuggester.Hop
-
- Enclosing class:
- LatticeSuggester
private static class LatticeSuggester.Hop extends java.lang.Object
A hop is a join condition. One or more hops between the same source and target combine to form aStep
.The tables are registered but the step is not. After we have gathered several join conditions we may discover that the keys are composite: e.g.
x.a = y.a AND x.b = z.b AND x.c = y.c
has 3 semi-hops:
- x.a = y.a
- x.b = z.b
- x.c = y.c
which turn into 2 steps, the first of which is composite:
- x.[a, c] = y.[a, c]
- x.b = z.b
-
-
Field Summary
Fields Modifier and Type Field Description (package private) LatticeSuggester.BaseColRef
source
(package private) LatticeSuggester.BaseColRef
target
-
Constructor Summary
Constructors Modifier Constructor Description private
Hop(LatticeSuggester.BaseColRef source, LatticeSuggester.BaseColRef target)
-
-
-
Field Detail
-
source
final LatticeSuggester.BaseColRef source
-
target
final LatticeSuggester.BaseColRef target
-
-
Constructor Detail
-
Hop
private Hop(LatticeSuggester.BaseColRef source, LatticeSuggester.BaseColRef target)
-
-