| Package | Description |
|---|---|
| org.apache.calcite.adapter.enumerable |
Query optimizer rules for Java calling convention.
|
| org.apache.calcite.adapter.jdbc |
Query provider based on a JDBC data source.
|
| 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.rules |
Provides a core set of planner rules.
|
| org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
| Modifier and Type | Method and Description |
|---|---|
RexProgram |
EnumerableCalc.getProgram() |
| Modifier and Type | Method and Description |
|---|---|
EnumerableCalc |
EnumerableCalc.copy(RelTraitSet traitSet,
RelNode child,
RexProgram program) |
static EnumerableCalc |
EnumerableCalc.create(RelNode input,
RexProgram program)
Creates an EnumerableCalc.
|
static Expression |
RexToLixTranslator.translateCondition(RexProgram program,
JavaTypeFactory typeFactory,
BlockBuilder list,
RexToLixTranslator.InputGetter inputGetter,
Function1<String,RexToLixTranslator.InputGetter> correlates) |
static List<Expression> |
RexToLixTranslator.translateProjects(RexProgram program,
JavaTypeFactory typeFactory,
BlockBuilder list,
PhysType outputPhysType,
Expression root,
RexToLixTranslator.InputGetter inputGetter,
Function1<String,RexToLixTranslator.InputGetter> correlates)
Translates a
RexProgram to a sequence of expressions and
declarations. |
| Constructor and Description |
|---|
EnumerableCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexProgram program)
Creates an EnumerableCalc.
|
EnumerableCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexProgram program,
List<RelCollation> collationList)
Deprecated.
|
| Constructor and Description |
|---|
JdbcRules.JdbcCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexProgram program) |
JdbcRules.JdbcCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexProgram program,
int flags)
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected RexProgram |
Calc.program |
| Modifier and Type | Method and Description |
|---|---|
RexProgram |
Calc.getProgram() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static double |
Filter.estimateFilteredRows(RelNode child,
RexProgram program) |
| Constructor and Description |
|---|
Calc(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
RexProgram program)
Creates a Calc.
|
Calc(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
RexProgram program,
List<RelCollation> collationList)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
LogicalCalc |
LogicalCalc.copy(RelTraitSet traitSet,
RelNode child,
RexProgram program) |
static LogicalCalc |
LogicalCalc.create(RelNode input,
RexProgram program) |
static RelNode |
LogicalWindow.create(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RexProgram program)
Creates a LogicalWindow.
|
| Constructor and Description |
|---|
LogicalCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RexProgram program)
Creates a LogicalCalc.
|
LogicalCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RexProgram program,
List<RelCollation> collationList)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static List<RelCollation> |
RelMdCollation.calc(RelNode input,
RexProgram program)
Helper method to determine a
Calc's collation. |
static RelDistribution |
RelMdDistribution.calc(RelNode input,
RexProgram program)
Helper method to determine a
Calc's distribution. |
| Modifier and Type | Field and Description |
|---|---|
protected RexProgram |
CalcRelSplitter.program |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CalcRelSplitter.RelType.canImplement(RexProgram program)
Returns whether this tester's
RelType can implement a
given program. |
protected RelNode |
CalcRelSplitter.RelType.makeRel(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
RexProgram program) |
| Modifier and Type | Method and Description |
|---|---|
static RexProgram |
RexProgram.create(RelDataType inputRowType,
List<? extends RexNode> projectExprs,
RexNode conditionExpr,
List<String> fieldNames,
RexBuilder rexBuilder)
Creates a program which calculates projections and filters rows based
upon a condition.
|
static RexProgram |
RexProgram.create(RelDataType inputRowType,
List<? extends RexNode> projectExprs,
RexNode conditionExpr,
RelDataType outputRowType,
RexBuilder rexBuilder)
Creates a program which calculates projections and filters rows based
upon a condition.
|
static RexProgram |
RexProgram.createIdentity(RelDataType rowType)
Creates the identity program.
|
static RexProgram |
RexProgram.createIdentity(RelDataType rowType,
RelDataType outputRowType)
Creates a program that projects its input fields but with possibly
different names for the output fields.
|
RexProgram |
RexProgramBuilder.getProgram()
Converts the state of the program builder to an immutable program,
normalizing in the process.
|
RexProgram |
RexProgramBuilder.getProgram(boolean normalize)
Converts the state of the program builder to an immutable program.
|
static RexProgram |
RexProgramBuilder.mergePrograms(RexProgram topProgram,
RexProgram bottomProgram,
RexBuilder rexBuilder)
Merges two programs together, and normalizes the result.
|
static RexProgram |
RexProgramBuilder.mergePrograms(RexProgram topProgram,
RexProgram bottomProgram,
RexBuilder rexBuilder,
boolean normalize)
Merges two programs together.
|
static RexProgram |
RexProgramBuilder.normalize(RexBuilder rexBuilder,
RexProgram program)
Normalizes a program.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RexMultisetUtil.containsMixing(RexProgram program)
Returns true if any expression in a program contains a mixing between
multiset and non-multiset calls.
|
static boolean |
RexMultisetUtil.containsMultiset(RexProgram program)
Returns whether a program contains a multiset.
|
static boolean |
RexOver.containsOver(RexProgram program)
Returns whether a program contains an OVER clause.
|
static RexProgramBuilder |
RexProgramBuilder.forProgram(RexProgram program,
RexBuilder rexBuilder,
boolean normalize)
Creates a program builder and initializes it from an existing program.
|
static RexProgram |
RexProgramBuilder.mergePrograms(RexProgram topProgram,
RexProgram bottomProgram,
RexBuilder rexBuilder)
Merges two programs together, and normalizes the result.
|
static RexProgram |
RexProgramBuilder.mergePrograms(RexProgram topProgram,
RexProgram bottomProgram,
RexBuilder rexBuilder,
boolean normalize)
Merges two programs together.
|
static RexProgram |
RexProgramBuilder.normalize(RexBuilder rexBuilder,
RexProgram program)
Normalizes a program.
|
static boolean |
RexUtil.requiresDecimalExpansion(RexProgram program,
boolean recurse)
Returns whether a
RexProgram contains expressions which require
decimal expansion. |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.