Package org.apache.calcite.materialize
Class LatticeSuggester.StepRef
- java.lang.Object
-
- org.apache.calcite.util.graph.DefaultEdge
-
- org.apache.calcite.materialize.LatticeSuggester.StepRef
-
- Enclosing class:
- LatticeSuggester
private static class LatticeSuggester.StepRef extends DefaultEdge
Use of a step within a query. A step can be used more than once.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
LatticeSuggester.StepRef.Factory
CreatesLatticeSuggester.StepRef
instances.
-
Field Summary
Fields Modifier and Type Field Description private int
ordinalInQuery
(package private) Step
step
-
Fields inherited from class org.apache.calcite.util.graph.DefaultEdge
source, target
-
-
Constructor Summary
Constructors Constructor Description StepRef(LatticeSuggester.TableRef source, LatticeSuggester.TableRef target, Step step, int ordinalInQuery)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
(package private) LatticeSuggester.TableRef
source()
(package private) LatticeSuggester.TableRef
target()
java.lang.String
toString()
-
Methods inherited from class org.apache.calcite.util.graph.DefaultEdge
factory
-
-
-
-
Field Detail
-
step
final Step step
-
ordinalInQuery
private final int ordinalInQuery
-
-
Constructor Detail
-
StepRef
StepRef(LatticeSuggester.TableRef source, LatticeSuggester.TableRef target, Step step, int ordinalInQuery)
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDefaultEdge
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classDefaultEdge
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
source
LatticeSuggester.TableRef source()
-
target
LatticeSuggester.TableRef target()
-
-