| Package | Description |
|---|---|
| org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
| org.apache.calcite.plan |
Defines interfaces for constructing rule-based optimizers of
relational expressions.
|
| org.apache.calcite.rel.core |
Defines core relational expressions.
|
| org.apache.calcite.rel.rules |
Provides a core set of planner rules.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| org.apache.calcite.tools |
Provides utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
static RelFactories.ProjectFactory |
EnumerableRel.PROJECT_FACTORY |
| Modifier and Type | Method and Description |
|---|---|
static RelNode |
RelOptUtil.createCastRel(RelNode rel,
RelDataType castRowType,
boolean rename,
RelFactories.ProjectFactory projectFactory)
Creates a projection which casts a rel's output to a desired row type.
|
static RelNode |
RelOptUtil.createProject(RelFactories.ProjectFactory factory,
RelNode child,
List<Integer> posList)
Creates a relational expression that projects the given fields of the
input.
|
static RelNode |
RelOptUtil.createProject(RelNode child,
Mappings.TargetMapping mapping,
RelFactories.ProjectFactory projectFactory) |
static RelNode |
RelOptUtil.projectMapping(RelNode rel,
Mapping mapping,
List<String> fieldNames,
RelFactories.ProjectFactory projectFactory)
Deprecated.
|
static RelNode |
RelOptUtil.pushDownJoinConditions(Join originalJoin,
RelFactories.ProjectFactory projectFactory)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
RelFactories.ProjectFactoryImpl
Implementation of
RelFactories.ProjectFactory that returns a vanilla
LogicalProject. |
| Modifier and Type | Field and Description |
|---|---|
static RelFactories.ProjectFactory |
RelFactories.DEFAULT_PROJECT_FACTORY |
| Constructor and Description |
|---|
RelFieldTrimmer(SqlValidator validator,
RelOptCluster cluster,
RelFactories.ProjectFactory projectFactory,
RelFactories.FilterFactory filterFactory,
RelFactories.JoinFactory joinFactory,
RelFactories.SemiJoinFactory semiJoinFactory,
RelFactories.SortFactory sortFactory,
RelFactories.AggregateFactory aggregateFactory,
RelFactories.SetOpFactory setOpFactory)
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
private RelFactories.ProjectFactory |
RelBuilder.projectFactory |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.