| Package | Description |
|---|---|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
| org.apache.calcite.rel |
Defines relational expressions.
|
| org.apache.calcite.rel.core |
Defines core relational expressions.
|
| org.apache.calcite.rel.logical |
Defines logical relational expressions.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
RelOptUtil.CorrelationCollector
Shuttle that finds correlation variables inside a given relational
expression, including those that are inside
sub-queries. |
| Modifier and Type | Field and Description |
|---|---|
private RelShuttle |
RelOptUtil.VariableUsedVisitor.relShuttle |
| Constructor and Description |
|---|
VariableUsedVisitor(RelShuttle relShuttle) |
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
CalciteMaterializer.RelNullShuttle
Implementation of
RelShuttle that returns each relational
expression unchanged. |
| Modifier and Type | Class and Description |
|---|---|
class |
RelHomogeneousShuttle
Visits all the relations in a homogeneous way: always redirects calls to
accept(RelNode). |
class |
RelShuttleImpl
Basic implementation of
RelShuttle that calls
RelNode.accept(RelShuttle) on each child, and
RelNode.copy(org.apache.calcite.plan.RelTraitSet, java.util.List) if
any children change. |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
AbstractRelNode.accept(RelShuttle shuttle) |
RelNode |
RelNode.accept(RelShuttle shuttle)
Accepts a visit from a shuttle.
|
| Modifier and Type | Method and Description |
|---|---|
RelNode |
TableScan.accept(RelShuttle shuttle) |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
LogicalMatch.accept(RelShuttle shuttle) |
RelNode |
LogicalAggregate.accept(RelShuttle shuttle) |
RelNode |
LogicalValues.accept(RelShuttle shuttle) |
RelNode |
LogicalProject.accept(RelShuttle shuttle) |
RelNode |
LogicalMinus.accept(RelShuttle shuttle) |
RelNode |
LogicalIntersect.accept(RelShuttle shuttle) |
RelNode |
LogicalUnion.accept(RelShuttle shuttle) |
RelNode |
LogicalFilter.accept(RelShuttle shuttle) |
RelNode |
LogicalCorrelate.accept(RelShuttle shuttle) |
RelNode |
LogicalExchange.accept(RelShuttle shuttle) |
RelNode |
LogicalSort.accept(RelShuttle shuttle) |
RelNode |
LogicalJoin.accept(RelShuttle shuttle) |
| Modifier and Type | Class and Description |
|---|---|
class |
CorrelationReferenceFinder
Shuttle that finds references to a given
CorrelationId within a tree
of RelNodes. |
class |
DeduplicateCorrelateVariables
Rewrites relations to ensure the same correlation is referenced by the same
correlation variable.
|
private static class |
RelDecorrelator.CorelMapBuilder
Builds a
RelDecorrelator.CorelMap. |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.