| Package | Description |
|---|---|
| org.apache.calcite.plan.hep |
Provides a heuristic planner implementation for the interfaces in
org.apache.calcite.plan. |
| org.apache.calcite.rel.metadata |
Defines metadata interfaces and utilities for relational
expressions.
|
| Modifier and Type | Field and Description |
|---|---|
private HepRelVertex |
HepPlanner.root |
| Modifier and Type | Field and Description |
|---|---|
private DirectedGraph<HepRelVertex,DefaultEdge> |
HepPlanner.graph
Query graph, with edges directed from parent to child.
|
private Map<String,HepRelVertex> |
HepPlanner.mapDigestToVertex |
| Modifier and Type | Method and Description |
|---|---|
private HepRelVertex |
HepPlanner.addRelToGraph(RelNode rel) |
private HepRelVertex |
HepPlanner.applyRule(RelOptRule rule,
HepRelVertex vertex,
boolean forceConversions) |
private HepRelVertex |
HepPlanner.applyTransformationResults(HepRelVertex vertex,
HepRuleCall call,
RelTrait parentTrait) |
| Modifier and Type | Method and Description |
|---|---|
private Iterator<HepRelVertex> |
HepPlanner.getGraphIterator(HepRelVertex start) |
private List<HepRelVertex> |
HepPlanner.getVertexParents(HepRelVertex vertex)
Retrieves the parent vertices of a vertex.
|
| Modifier and Type | Method and Description |
|---|---|
private HepRelVertex |
HepPlanner.applyRule(RelOptRule rule,
HepRelVertex vertex,
boolean forceConversions) |
private HepRelVertex |
HepPlanner.applyTransformationResults(HepRelVertex vertex,
HepRuleCall call,
RelTrait parentTrait) |
private boolean |
HepPlanner.belongsToDag(HepRelVertex vertex)
Returns whether the vertex is valid.
|
private RelNode |
HepPlanner.buildFinalPlan(HepRelVertex vertex) |
private void |
HepPlanner.contractVertices(HepRelVertex preservedVertex,
HepRelVertex discardedVertex,
List<HepRelVertex> parents) |
private boolean |
HepPlanner.doesConverterApply(ConverterRule converterRule,
HepRelVertex vertex) |
private Iterator<HepRelVertex> |
HepPlanner.getGraphIterator(HepRelVertex start) |
private List<HepRelVertex> |
HepPlanner.getVertexParents(HepRelVertex vertex)
Retrieves the parent vertices of a vertex.
|
private void |
HepPlanner.updateVertex(HepRelVertex vertex,
RelNode rel) |
| Modifier and Type | Method and Description |
|---|---|
private void |
HepPlanner.contractVertices(HepRelVertex preservedVertex,
HepRelVertex discardedVertex,
List<HepRelVertex> parents) |
private int |
HepPlanner.depthFirstApply(Iterator<HepRelVertex> iter,
Collection<RelOptRule> rules,
boolean forceConversions,
int nMatches) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.