| 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.logical |
Defines logical relational expressions.
|
| org.apache.calcite.rel.metadata |
Defines metadata interfaces and utilities for relational
expressions.
|
| org.apache.calcite.rel.rel2sql |
Translates a relational expression to SQL parse tree.
|
| org.apache.calcite.rel.rules |
Provides a core set of planner rules.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EnumerableCalc
Implementation of
Calc in
enumerable calling convention. |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Predicate<Calc> |
RelOptUtil.CALC_PREDICATE
Predicate for whether a calc contains multisets or windowed
aggregates.
|
| Modifier and Type | Method and Description |
|---|---|
Calc |
Calc.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
abstract Calc |
Calc.copy(RelTraitSet traitSet,
RelNode child,
RexProgram program)
Creates a copy of this
Calc. |
Calc |
Calc.copy(RelTraitSet traitSet,
RelNode child,
RexProgram program,
List<RelCollation> collationList)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LogicalCalc
A relational expression which computes project expressions and also filters.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(Calc calc,
RelMetadataQuery mq) |
com.google.common.collect.Multimap<Class<? extends RelNode>,RelNode> |
RelMdNodeTypes.getNodeTypes(Calc rel,
RelMetadataQuery mq) |
Double |
RelMdRowCount.getRowCount(Calc rel,
RelMetadataQuery mq) |
| Modifier and Type | Method and Description |
|---|---|
SqlImplementor.Result |
RelToSqlConverter.visit(Calc e) |
| Modifier and Type | Field and Description |
|---|---|
private static com.google.common.base.Predicate<Calc> |
ProjectToWindowRule.PREDICATE |
| Modifier and Type | Method and Description |
|---|---|
protected RelNode |
ReduceExpressionsRule.CalcReduceExpressionsRule.createEmptyRelOrEquivalent(RelOptRuleCall call,
Calc input)
For static schema systems, a filter that is always false or null can be
replaced by a values operator that produces no rows, as the schema
information can just be taken from the input Rel.
|
| Constructor and Description |
|---|
CalcRelSplitter(Calc calc,
RelBuilder relBuilder,
CalcRelSplitter.RelType[] relTypes)
Constructs a CalcRelSplitter.
|
WindowedAggRelSplitter(Calc calc,
RelBuilder relBuilder) |
| Constructor and Description |
|---|
CalcReduceExpressionsRule(Class<? extends Calc> calcClass,
boolean matchNullability,
RelBuilderFactory relBuilderFactory) |
CalcReduceExpressionsRule(Class<? extends Calc> calcClass,
RelBuilderFactory relBuilderFactory)
Deprecated.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.