| Package | Description |
|---|---|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.plan.hep |
Provides a heuristic planner implementation for the interfaces in
org.apache.calcite.plan. |
| org.apache.calcite.rel.rules |
Provides a core set of planner rules.
|
| org.apache.calcite.util.graph |
Graph-theoretic algorithms and data structures.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) DirectedGraph<Convention,DefaultEdge> |
ConventionTraitDef.ConversionData.conversionGraph |
| Modifier and Type | Field and Description |
|---|---|
private DirectedGraph<HepRelVertex,DefaultEdge> |
HepPlanner.graph
Query graph, with edges directed from parent to child.
|
| Modifier and Type | Method and Description |
|---|---|
private DirectedGraph<Integer,DefaultEdge> |
ProjectToWindowRule.WindowedAggRelSplitter.createGraphFromExpression(List<RexNode> exprs) |
| Modifier and Type | Method and Description |
|---|---|
private List<Integer> |
ProjectToWindowRule.WindowedAggRelSplitter.getRank(DirectedGraph<Integer,DefaultEdge> graph) |
private boolean |
ProjectToWindowRule.WindowedAggRelSplitter.isDependent(DirectedGraph<Integer,DefaultEdge> graph,
List<Integer> rank,
int ordinal1,
int ordinal2) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultDirectedGraph<V,E extends DefaultEdge>
Default implementation of
DirectedGraph. |
| Modifier and Type | Field and Description |
|---|---|
private DirectedGraph<V,E> |
CycleDetector.graph |
private DirectedGraph<V,E> |
BreadthFirstIterator.graph |
| Modifier and Type | Method and Description |
|---|---|
private static <V,E extends DefaultEdge> |
DepthFirstIterator.buildList(DirectedGraph<V,E> graph,
V start) |
private static <V,E extends DefaultEdge> |
DepthFirstIterator.buildListRecurse(Collection<V> list,
Set<V> activeVertices,
DirectedGraph<V,E> graph,
V start) |
static <V,E extends DefaultEdge> |
Graphs.makeImmutable(DirectedGraph<V,E> graph)
Returns a map of the shortest paths between any pair of nodes.
|
static <V,E extends DefaultEdge> |
TopologicalOrderIterator.of(DirectedGraph<V,E> graph) |
static <V,E extends DefaultEdge> |
DepthFirstIterator.of(DirectedGraph<V,E> graph,
V start)
Creates an iterable over the vertices in the given graph in a depth-first
iteration order.
|
static <V,E extends DefaultEdge> |
BreadthFirstIterator.of(DirectedGraph<V,E> graph,
V root) |
static <V,E extends DefaultEdge> |
Graphs.predecessorListOf(DirectedGraph<V,E> graph,
V vertex) |
static <V,E extends DefaultEdge> |
DepthFirstIterator.reachable(Collection<V> list,
DirectedGraph<V,E> graph,
V start)
Populates a collection with the nodes reachable from a given node.
|
static <V,E extends DefaultEdge> |
BreadthFirstIterator.reachable(Set<V> set,
DirectedGraph<V,E> graph,
V root)
Populates a set with the nodes reachable from a given node.
|
| Constructor and Description |
|---|
BreadthFirstIterator(DirectedGraph<V,E> graph,
V root) |
CycleDetector(DirectedGraph<V,E> graph) |
DepthFirstIterator(DirectedGraph<V,E> graph,
V start) |
TopologicalOrderIterator(DirectedGraph<V,E> graph) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.