| 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.interpreter |
Provides an implementation of relational expressions using an interpreter.
|
| 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.rules |
Provides a core set of planner rules.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EnumerableProject
Implementation of
Project in
enumerable calling convention. |
| Modifier and Type | Class and Description |
|---|---|
static class |
JdbcRules.JdbcProject
Implementation of
LogicalProject in
jdbc calling convention. |
| Modifier and Type | Class and Description |
|---|---|
static class |
Bindables.BindableProject
Implementation of
Project in
bindable calling convention. |
| Modifier and Type | Method and Description |
|---|---|
void |
Nodes.CoreCompiler.visit(Project project) |
| Constructor and Description |
|---|
ProjectNode(Interpreter interpreter,
Project rel) |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Predicate<Project> |
RelOptUtil.PROJECT_PREDICATE
Predicate for whether a project contains multisets or windowed
aggregates.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RelOptUtil.checkProjAndChildInputs(Project project,
boolean checkNames)
Determines if a projection and its input reference identical input
references.
|
static RexNode |
RelOptUtil.pushFilterPastProject(RexNode filter,
Project projRel)
Converts a filter to the new filter that would result if the filter is
pushed past a LogicalProject that it currently is referencing.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Project |
Project.copy(RelTraitSet traitSet,
RelNode input,
List<RexNode> projects,
RelDataType rowType)
Copies a project.
|
Project |
Project.copy(RelTraitSet traitSet,
RelNode input,
List<RexNode> projects,
RelDataType rowType,
int flags)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LogicalProject
Sub-class of
Project not
targeted at any particular engine or calling convention. |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
RelMdColumnUniqueness.areColumnsUnique(Project rel,
ImmutableBitSet columns,
boolean ignoreNulls) |
List<Double> |
RelMdSize.averageColumnSizes(Project rel) |
static Double |
RelMdUtil.cardOfProjExpr(Project rel,
RexNode expr)
Computes the cardinality of a particular expression from the projection
list
|
com.google.common.collect.ImmutableList<RelCollation> |
RelMdCollation.collations(Project project) |
RelDistribution |
RelMdDistribution.distribution(Project project) |
Set<RelColumnOrigin> |
RelMdColumnOrigins.getColumnOrigins(Project rel,
int iOutputColumn) |
Double |
RelMdDistinctRowCount.getDistinctRowCount(Project rel,
ImmutableBitSet groupKey,
RexNode predicate) |
Double |
RelMdPopulationSize.getPopulationSize(Project rel,
ImmutableBitSet groupKey) |
RelOptPredicateList |
RelMdPredicates.getPredicates(Project project)
Infers predicates for a project.
|
Double |
RelMdRowCount.getRowCount(Project rel) |
Double |
RelMdSelectivity.getSelectivity(Project rel,
RexNode predicate) |
Set<ImmutableBitSet> |
RelMdUniqueKeys.getUniqueKeys(Project rel,
boolean ignoreNulls) |
| Modifier and Type | Method and Description |
|---|---|
protected Project |
JoinProjectTransposeRule.getRightChild(RelOptRuleCall call) |
| Modifier and Type | Method and Description |
|---|---|
static RelNode |
AggregateProjectMergeRule.apply(Aggregate aggregate,
Project project) |
protected void |
AggregateStarTableRule.apply(RelOptRuleCall call,
Project postProject,
Aggregate aggregate,
StarTable.StarTableScan scan) |
protected void |
ProjectTableScanRule.apply(RelOptRuleCall call,
Project project,
TableScan scan) |
protected RelNode |
JoinProjectTransposeRule.getProjectChild(RelOptRuleCall call,
Project project,
boolean leftChild)
Returns the child of the project that will be used as input into the new
LogicalJoin once the projects are pulled above the LogicalJoin.
|
static boolean |
ProjectRemoveRule.isTrivial(Project project) |
static RelNode |
ProjectRemoveRule.strip(Project project)
Returns the child of a project if the project is trivial, otherwise
the project itself.
|
| Constructor and Description |
|---|
FilterProjectTransposeRule(Class<? extends Filter> filterClass,
RelFactories.FilterFactory filterFactory,
Class<? extends Project> projectClass,
RelFactories.ProjectFactory projectFactory)
Creates a FilterProjectTransposeRule.
|
| Modifier and Type | Method and Description |
|---|---|
RelFieldTrimmer.TrimResult |
RelFieldTrimmer.trimFields(Project project,
ImmutableBitSet fieldsUsed,
Set<RelDataTypeField> extraFields)
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.