| 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.
|
| 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.projectMapping(RelNode rel,
Mapping mapping,
List<String> fieldNames,
RelFactories.ProjectFactory projectFactory)
Creates a relational expression which projects the output fields of a
relational expression according to a partial mapping.
|
| Modifier and Type | Field and Description |
|---|---|
static RelFactories.ProjectFactory |
RelFactories.DEFAULT_PROJECT_FACTORY |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
TableScan.project(ImmutableBitSet fieldsUsed,
Set<RelDataTypeField> extraFields,
RelFactories.ProjectFactory projectFactory)
Projects a subset of the fields of the table, and also asks for "extra"
fields that were not included in the table's official type.
|
| Constructor and Description |
|---|
FilterJoinRule.FilterIntoJoinRule(boolean smart,
RelFactories.FilterFactory filterFactory,
RelFactories.ProjectFactory projectFactory,
FilterJoinRule.Predicate predicate) |
FilterJoinRule.JoinConditionPushRule(RelFactories.FilterFactory filterFactory,
RelFactories.ProjectFactory projectFactory,
FilterJoinRule.Predicate predicate) |
FilterJoinRule(RelOptRuleOperand operand,
String id,
boolean smart,
RelFactories.FilterFactory filterFactory,
RelFactories.ProjectFactory projectFactory)
Creates a FilterJoinRule with an explicit root operand and
factories.
|
FilterJoinRule(RelOptRuleOperand operand,
String id,
boolean smart,
RelFactories.FilterFactory filterFactory,
RelFactories.ProjectFactory projectFactory,
FilterJoinRule.Predicate predicate)
Creates a FilterProjectTransposeRule with an explicit root operand and
factories.
|
FilterProjectTransposeRule(Class<? extends Filter> filterClass,
RelFactories.FilterFactory filterFactory,
Class<? extends Project> projectClass,
RelFactories.ProjectFactory projectFactory)
Creates a FilterProjectTransposeRule.
|
JoinCommuteRule(Class<? extends Join> clazz,
RelFactories.ProjectFactory projectFactory) |
JoinProjectTransposeRule(RelOptRuleOperand operand,
String description,
RelFactories.ProjectFactory pFactory) |
JoinPushThroughJoinRule(String description,
boolean right,
Class<? extends Join> clazz,
RelFactories.ProjectFactory projectFactory)
Creates a JoinPushThroughJoinRule.
|
LoptOptimizeJoinRule(RelFactories.JoinFactory joinFactory,
RelFactories.ProjectFactory projectFactory,
RelFactories.FilterFactory filterFactory)
Creates a LoptOptimizeJoinRule.
|
MultiJoinOptimizeBushyRule(RelFactories.JoinFactory joinFactory,
RelFactories.ProjectFactory projectFactory)
Creates an MultiJoinOptimizeBushyRule.
|
ProjectMergeRule(boolean force,
RelFactories.ProjectFactory projectFactory)
Creates a ProjectMergeRule, specifying whether to always merge projects.
|
| Constructor and Description |
|---|
RelFieldTrimmer(SqlValidator validator,
RelFactories.ProjectFactory projectFactory,
RelFactories.FilterFactory filterFactory,
RelFactories.JoinFactory joinFactory,
RelFactories.SemiJoinFactory semiJoinFactory,
RelFactories.SortFactory sortFactory,
RelFactories.AggregateFactory aggregateFactory,
RelFactories.SetOpFactory setOpFactory)
Creates a RelFieldTrimmer.
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.