| Package | Description |
|---|---|
| org.apache.calcite.adapter.elasticsearch |
Base classes for a query provider based on an Elasticsearch DB.
|
| 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.plan.hep |
Provides a heuristic planner implementation for the interfaces in
org.apache.calcite.plan. |
| org.apache.calcite.plan.volcano |
Optimizes relational expressions.
|
| org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
| org.apache.calcite.rel |
Defines relational expressions.
|
| org.apache.calcite.rel.convert |
Defines relational expressions and rules for converting between calling
conventions.
|
| org.apache.calcite.rel.core |
Defines core relational expressions.
|
| org.apache.calcite.rel.logical |
Defines logical relational expressions.
|
| org.apache.calcite.rel.rules |
Provides a core set of planner rules.
|
| org.apache.calcite.rel.stream |
Defines relational expressions for streaming.
|
| org.apache.calcite.tools |
Provides utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
RelNode |
ElasticsearchToEnumerableConverter.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
ElasticsearchTableScan.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
Project |
ElasticsearchProject.copy(RelTraitSet relTraitSet,
RelNode input,
List<RexNode> projects,
RelDataType relDataType) |
Sort |
ElasticsearchSort.copy(RelTraitSet traitSet,
RelNode relNode,
RelCollation relCollation,
RexNode offset,
RexNode fetch) |
Filter |
ElasticsearchFilter.copy(RelTraitSet relTraitSet,
RelNode input,
RexNode condition) |
| Constructor and Description |
|---|
ElasticsearchFilter(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RexNode condition) |
ElasticsearchProject(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<? extends RexNode> projects,
RelDataType rowType) |
ElasticsearchSort(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RelCollation collation,
RexNode offset,
RexNode fetch) |
ElasticsearchTableScan(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
AbstractElasticsearchTable elasticsearchTable,
RelDataType projectRowType)
Creates an ElasticsearchTableScan.
|
ElasticsearchToEnumerableConverter(RelOptCluster cluster,
RelTraitSet traits,
RelNode input) |
| Modifier and Type | Method and Description |
|---|---|
EnumerableBindable |
EnumerableBindable.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
EnumerableInterpreter.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
EnumerableLimit |
EnumerableLimit.copy(RelTraitSet traitSet,
List<RelNode> newInputs) |
RelNode |
EnumerableTableModify.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
EnumerableValues.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
EnumerableInterpretable |
EnumerableInterpretable.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
EnumerableTableScan.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
EnumerableWindow.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
EnumerableUnion |
EnumerableUnion.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
EnumerableIntersect |
EnumerableIntersect.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
EnumerableMinus |
EnumerableMinus.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
EnumerableTableFunctionScan |
EnumerableTableFunctionScan.copy(RelTraitSet traitSet,
List<RelNode> inputs,
RexNode rexCall,
Type elementType,
RelDataType rowType,
Set<RelColumnMapping> columnMappings) |
EnumerableUncollect |
EnumerableUncollect.copy(RelTraitSet traitSet,
RelNode newInput) |
EnumerableCollect |
EnumerableCollect.copy(RelTraitSet traitSet,
RelNode newInput) |
EnumerableAggregate |
EnumerableAggregate.copy(RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
EnumerableProject |
EnumerableProject.copy(RelTraitSet traitSet,
RelNode input,
List<RexNode> projects,
RelDataType rowType) |
EnumerableSort |
EnumerableSort.copy(RelTraitSet traitSet,
RelNode newInput,
RelCollation newCollation,
RexNode offset,
RexNode fetch) |
EnumerableCorrelate |
EnumerableCorrelate.copy(RelTraitSet traitSet,
RelNode left,
RelNode right,
CorrelationId correlationId,
ImmutableBitSet requiredColumns,
SemiJoinType joinType) |
EnumerableFilter |
EnumerableFilter.copy(RelTraitSet traitSet,
RelNode input,
RexNode condition) |
EnumerableCalc |
EnumerableCalc.copy(RelTraitSet traitSet,
RelNode child,
RexProgram program) |
SemiJoin |
EnumerableSemiJoin.copy(RelTraitSet traitSet,
RexNode condition,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone) |
EnumerableJoin |
EnumerableJoin.copy(RelTraitSet traitSet,
RexNode condition,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone) |
EnumerableThetaJoin |
EnumerableThetaJoin.copy(RelTraitSet traitSet,
RexNode condition,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone) |
EnumerableMergeJoin |
EnumerableMergeJoin.copy(RelTraitSet traitSet,
RexNode condition,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone) |
static EnumerableUncollect |
EnumerableUncollect.create(RelTraitSet traitSet,
RelNode input,
boolean withOrdinality)
Creates an EnumerableUncollect.
|
boolean |
EnumerableConvention.useAbstractConvertersForConversion(RelTraitSet fromTraits,
RelTraitSet toTraits) |
| Constructor and Description |
|---|
EnumerableAggregate(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
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.
|
EnumerableCollect(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
String fieldName) |
EnumerableCorrelate(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
CorrelationId correlationId,
ImmutableBitSet requiredColumns,
SemiJoinType joinType) |
EnumerableFilter(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RexNode condition)
Creates an EnumerableFilter.
|
EnumerableInterpreter(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
double factor)
Creates an EnumerableInterpreter.
|
EnumerableIntersect(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
EnumerableJoin(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
RexNode condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys,
JoinRelType joinType,
Set<String> variablesStopped)
Deprecated.
|
EnumerableJoin(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
RexNode condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys,
Set<CorrelationId> variablesSet,
JoinRelType joinType)
Creates an EnumerableJoin.
|
EnumerableLimit(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexNode offset,
RexNode fetch)
Creates an EnumerableLimit.
|
EnumerableMergeJoin(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
RexNode condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys,
JoinRelType joinType,
Set<String> variablesStopped)
Deprecated.
|
EnumerableMergeJoin(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
RexNode condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys,
Set<CorrelationId> variablesSet,
JoinRelType joinType) |
EnumerableMinus(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
EnumerableProject(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<? extends RexNode> projects,
RelDataType rowType)
Creates an EnumerableProject.
|
EnumerableProject(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<? extends RexNode> projects,
RelDataType rowType,
int flags)
Deprecated.
|
EnumerableSemiJoin(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
RexNode condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys)
Creates an EnumerableSemiJoin.
|
EnumerableSort(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch)
Creates an EnumerableSort.
|
EnumerableTableFunctionScan(RelOptCluster cluster,
RelTraitSet traits,
List<RelNode> inputs,
Type elementType,
RelDataType rowType,
RexNode call,
Set<RelColumnMapping> columnMappings) |
EnumerableTableModify(RelOptCluster cluster,
RelTraitSet traits,
RelOptTable table,
Prepare.CatalogReader catalogReader,
RelNode child,
TableModify.Operation operation,
List<String> updateColumnList,
List<RexNode> sourceExpressionList,
boolean flattened) |
EnumerableTableScan(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
Class elementType)
Creates an EnumerableTableScan.
|
EnumerableThetaJoin(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
RexNode condition,
JoinRelType joinType,
Set<String> variablesStopped)
Deprecated.
|
EnumerableThetaJoin(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
RexNode condition,
Set<CorrelationId> variablesSet,
JoinRelType joinType)
Creates an EnumerableThetaJoin.
|
EnumerableUncollect(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child)
Deprecated.
|
EnumerableUncollect(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
boolean withOrdinality)
Creates an EnumerableUncollect.
|
EnumerableUnion(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
EnumerableValues(RelOptCluster cluster,
RelDataType rowType,
com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples,
RelTraitSet traitSet)
Creates an EnumerableValues.
|
EnumerableWindow(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
List<RexLiteral> constants,
RelDataType rowType,
List<Window.Group> groups)
Creates an EnumerableWindowRel.
|
| Modifier and Type | Method and Description |
|---|---|
RelNode |
JdbcToEnumerableConverter.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
JdbcRules.JdbcCalc.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
JdbcRules.JdbcTableModify.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
JdbcRules.JdbcValues.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
JdbcTableScan.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
JdbcRules.JdbcUnion |
JdbcRules.JdbcUnion.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
JdbcRules.JdbcIntersect |
JdbcRules.JdbcIntersect.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
JdbcRules.JdbcMinus |
JdbcRules.JdbcMinus.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
JdbcRules.JdbcAggregate |
JdbcRules.JdbcAggregate.copy(RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
JdbcRules.JdbcProject |
JdbcRules.JdbcProject.copy(RelTraitSet traitSet,
RelNode input,
List<RexNode> projects,
RelDataType rowType) |
JdbcRules.JdbcSort |
JdbcRules.JdbcSort.copy(RelTraitSet traitSet,
RelNode newInput,
RelCollation newCollation,
RexNode offset,
RexNode fetch) |
JdbcRules.JdbcFilter |
JdbcRules.JdbcFilter.copy(RelTraitSet traitSet,
RelNode input,
RexNode condition) |
JdbcRules.JdbcJoin |
JdbcRules.JdbcJoin.copy(RelTraitSet traitSet,
RexNode condition,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone) |
| Constructor and Description |
|---|
JdbcAggregate(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
JdbcCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexProgram program) |
JdbcCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexProgram program,
int flags)
Deprecated.
|
JdbcFilter(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexNode condition) |
JdbcIntersect(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
JdbcJoin(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode left,
RelNode right,
RexNode condition,
JoinRelType joinType,
Set<String> variablesStopped)
Deprecated.
|
JdbcJoin(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode left,
RelNode right,
RexNode condition,
Set<CorrelationId> variablesSet,
JoinRelType joinType)
Creates a JdbcJoin.
|
JdbcMinus(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
JdbcProject(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<? extends RexNode> projects,
RelDataType rowType) |
JdbcProject(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<RexNode> projects,
RelDataType rowType,
int flags)
Deprecated.
|
JdbcSort(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch) |
JdbcTableModify(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
Prepare.CatalogReader catalogReader,
RelNode input,
TableModify.Operation operation,
List<String> updateColumnList,
List<RexNode> sourceExpressionList,
boolean flattened) |
JdbcToEnumerableConverter(RelOptCluster cluster,
RelTraitSet traits,
RelNode input) |
JdbcUnion(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
JdbcValues(RelOptCluster cluster,
RelDataType rowType,
com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples,
RelTraitSet traitSet) |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
InterpretableConverter.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Bindables.BindableValues.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Bindables.BindableWindow.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
Bindables.BindableUnion |
Bindables.BindableUnion.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
Bindables.BindableAggregate |
Bindables.BindableAggregate.copy(RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
Bindables.BindableProject |
Bindables.BindableProject.copy(RelTraitSet traitSet,
RelNode input,
List<RexNode> projects,
RelDataType rowType) |
Bindables.BindableSort |
Bindables.BindableSort.copy(RelTraitSet traitSet,
RelNode newInput,
RelCollation newCollation,
RexNode offset,
RexNode fetch) |
Bindables.BindableFilter |
Bindables.BindableFilter.copy(RelTraitSet traitSet,
RelNode input,
RexNode condition) |
Bindables.BindableJoin |
Bindables.BindableJoin.copy(RelTraitSet traitSet,
RexNode conditionExpr,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone) |
boolean |
InterpretableConvention.useAbstractConvertersForConversion(RelTraitSet fromTraits,
RelTraitSet toTraits) |
boolean |
BindableConvention.useAbstractConvertersForConversion(RelTraitSet fromTraits,
RelTraitSet toTraits) |
| Constructor and Description |
|---|
BindableAggregate(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
BindableFilter(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexNode condition) |
BindableJoin(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode left,
RelNode right,
RexNode condition,
JoinRelType joinType,
Set<String> variablesStopped)
Deprecated.
|
BindableJoin(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode left,
RelNode right,
RexNode condition,
Set<CorrelationId> variablesSet,
JoinRelType joinType)
Creates a BindableJoin.
|
BindableProject(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<? extends RexNode> projects,
RelDataType rowType) |
BindableSort(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch) |
BindableTableScan(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
com.google.common.collect.ImmutableList<RexNode> filters,
ImmutableIntList projects)
Creates a BindableTableScan.
|
BindableUnion(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
BindableValues(RelOptCluster cluster,
RelDataType rowType,
com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples,
RelTraitSet traitSet) |
BindableWindow(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<RexLiteral> constants,
RelDataType rowType,
List<Window.Group> groups)
Creates an BindableWindowRel.
|
InterpretableConverter(RelOptCluster cluster,
RelTraitSet traits,
RelNode input) |
| Modifier and Type | Field and Description |
|---|---|
private RelTraitSet |
RelTraitPropagationVisitor.baseTraits |
private RelTraitSet |
RelOptCluster.emptyTraitSet |
| Modifier and Type | Field and Description |
|---|---|
(package private) Map<List<RelTrait>,RelTraitSet> |
RelTraitSet.Cache.map |
| Modifier and Type | Method and Description |
|---|---|
static RelTraitSet |
RelTraitSet.createEmpty()
Creates an empty trait set.
|
RelTraitSet |
RelOptPlanner.emptyTraitSet()
Creates an empty trait set.
|
RelTraitSet |
AbstractRelOptPlanner.emptyTraitSet() |
(package private) RelTraitSet |
RelTraitSet.Cache.getOrAdd(List<RelTrait> traits) |
RelTraitSet |
RelOptNode.getTraitSet()
Retrieves this RelNode's traits.
|
RelTraitSet |
RelTraitSet.merge(RelTraitSet additionalTraits) |
RelTraitSet |
RelTraitSet.plus(RelTrait trait)
Returns this trait set with a given trait added or overridden.
|
RelTraitSet |
RelTraitSet.plusAll(RelTrait[] traits) |
RelTraitSet |
RelTraitSet.replace(int index,
RelTrait trait)
Replaces an existing RelTrait in the set.
|
<T extends RelMultipleTrait> |
RelTraitSet.replace(List<T> traits)
Replaces the trait(s) of a given type with a list of traits of the same
type.
|
RelTraitSet |
RelTraitSet.replace(RelTrait trait)
Returns a trait set consisting of the current set plus a new trait.
|
<T extends RelMultipleTrait> |
RelTraitSet.replace(RelTraitDef<T> def,
List<T> traits)
Replaces the trait(s) of a given type with a list of traits of the same
type.
|
<T extends RelTrait> |
RelTraitSet.replaceIf(RelTraitDef<T> def,
com.google.common.base.Supplier<T> traitSupplier)
If a given trait is enabled, replaces it by calling the given function.
|
<T extends RelMultipleTrait> |
RelTraitSet.replaceIfs(RelTraitDef<T> def,
com.google.common.base.Supplier<List<T>> traitSupplier)
If a given multiple trait is enabled, replaces it by calling the given
function.
|
RelTraitSet |
RelTraitSet.simplify()
Returns a trait set similar to this one but with all composite traits
flattened.
|
RelTraitSet |
RelOptCluster.traitSet()
Returns the default trait set for this cluster.
|
RelTraitSet |
RelOptCluster.traitSetOf(RelTrait... traits)
Deprecated.
For
traitSetOf(t1, t2),
use RelOptCluster.traitSet()().replace(t1).replace(t2). |
RelTraitSet |
RelOptCluster.traitSetOf(RelTrait trait) |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
RelOptPlanner.changeTraits(RelNode rel,
RelTraitSet toTraits)
Changes a relational expression to an equivalent one with a different set
of traits.
|
static RelNode |
RelOptRule.convert(RelNode rel,
RelTraitSet toTraits)
Converts a relation expression to a given set of traits, if it does not
already have those traits.
|
com.google.common.collect.ImmutableList<RelTrait> |
RelTraitSet.difference(RelTraitSet traitSet)
Returns a list of traits that are in
traitSet but not in this
RelTraitSet. |
boolean |
RelTraitSet.matches(RelTraitSet that)
Compares two RelTraitSet objects to see if they match for the purposes of
firing a rule.
|
RelTraitSet |
RelTraitSet.merge(RelTraitSet additionalTraits) |
boolean |
RelTraitSet.satisfies(RelTraitSet that)
Returns whether this trait set satisfies another trait set.
|
boolean |
Convention.useAbstractConvertersForConversion(RelTraitSet fromTraits,
RelTraitSet toTraits)
Returns whether we should convert from this trait set to the other trait
set.
|
boolean |
Convention.Impl.useAbstractConvertersForConversion(RelTraitSet fromTraits,
RelTraitSet toTraits) |
| Constructor and Description |
|---|
RelTraitPropagationVisitor(RelOptPlanner planner,
RelTraitSet baseTraits) |
| Modifier and Type | Field and Description |
|---|---|
private RelTraitSet |
HepPlanner.requestedRootTraits |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
HepPlanner.changeTraits(RelNode rel,
RelTraitSet toTraits) |
RelNode |
HepRelVertex.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
| Modifier and Type | Method and Description |
|---|---|
RelTraitSet |
VolcanoPlanner.emptyTraitSet() |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
VolcanoPlanner.changeTraits(RelNode rel,
RelTraitSet toTraits) |
(package private) RelNode |
VolcanoPlanner.changeTraitsUsingConverters(RelNode rel,
RelTraitSet toTraits) |
private RelNode |
VolcanoPlanner.changeTraitsUsingConverters(RelNode rel,
RelTraitSet toTraits,
boolean allowAbstractConverters) |
private RelNode |
VolcanoPlanner.completeConversion(RelNode rel,
boolean allowInfiniteCostConverters,
RelTraitSet toTraits,
Expressions.FluentList<RelTraitDef> usedTraits)
Converts traits using well-founded induction.
|
RelNode |
RelSubset.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
AbstractConverter.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
(package private) RelSubset |
RelSet.getOrCreateSubset(RelOptCluster cluster,
RelTraitSet traits) |
RelSubset |
VolcanoPlanner.getSubset(RelNode rel,
RelTraitSet traits) |
RelSubset |
VolcanoPlanner.getSubset(RelNode rel,
RelTraitSet traits,
boolean createIfMissing) |
RelSubset |
RelSet.getSubset(RelTraitSet traits) |
| Constructor and Description |
|---|
AbstractConverter(RelOptCluster cluster,
RelSubset rel,
RelTraitDef traitDef,
RelTraitSet traits) |
RelSubset(RelOptCluster cluster,
RelSet set,
RelTraitSet traits) |
| Modifier and Type | Method and Description |
|---|---|
protected RelTraitSet |
Prepare.getDesiredRootTraitSet(RelRoot root) |
RelTraitSet |
PlannerImpl.getEmptyTraitSet() |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
PlannerImpl.transform(int ruleSetIndex,
RelTraitSet requiredOutputTraits,
RelNode rel) |
| Modifier and Type | Field and Description |
|---|---|
protected RelTraitSet |
AbstractRelNode.traitSet
The RelTraitSet that describes the traits of this RelNode.
|
| Modifier and Type | Method and Description |
|---|---|
RelTraitSet |
AbstractRelNode.getTraitSet() |
RelTraitSet |
RelInput.getTraitSet() |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
AbstractRelNode.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
RelNode.copy(RelTraitSet traitSet,
List<RelNode> inputs)
Creates a copy of this relational expression, perhaps changing traits and
inputs.
|
| Constructor and Description |
|---|
AbstractRelNode(RelOptCluster cluster,
RelTraitSet traitSet)
Creates an
AbstractRelNode. |
BiRel(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode left,
RelNode right) |
SingleRel(RelOptCluster cluster,
RelTraitSet traits,
RelNode input)
Creates a
SingleRel. |
| Modifier and Type | Field and Description |
|---|---|
protected RelTraitSet |
ConverterImpl.inTraits |
| Modifier and Type | Method and Description |
|---|---|
RelTraitSet |
Converter.getInputTraits()
Returns the trait of the input relational expression.
|
RelTraitSet |
ConverterImpl.getInputTraits() |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
NoneConverter.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
| Constructor and Description |
|---|
ConverterImpl(RelOptCluster cluster,
RelTraitDef traitDef,
RelTraitSet traits,
RelNode child)
Creates a ConverterImpl.
|
| Modifier and Type | Method and Description |
|---|---|
Exchange |
Exchange.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Filter.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Project.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Match.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Uncollect.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
Correlate |
Correlate.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
SetOp |
SetOp.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Aggregate.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
Calc |
Calc.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Sample.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
TableFunctionScan |
TableFunctionScan.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Collect.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
Sort |
Sort.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
Join |
Join.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
abstract SetOp |
SetOp.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
abstract TableFunctionScan |
TableFunctionScan.copy(RelTraitSet traitSet,
List<RelNode> inputs,
RexNode rexCall,
Type elementType,
RelDataType rowType,
Set<RelColumnMapping> columnMappings)
Copies this relational expression, substituting traits and
inputs.
|
RelNode |
Uncollect.copy(RelTraitSet traitSet,
RelNode input) |
RelNode |
Collect.copy(RelTraitSet traitSet,
RelNode input) |
abstract Aggregate |
Aggregate.copy(RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Creates a copy of this aggregate.
|
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.
|
Sort |
Sort.copy(RelTraitSet traitSet,
RelNode newInput,
RelCollation newCollation) |
abstract Sort |
Sort.copy(RelTraitSet traitSet,
RelNode newInput,
RelCollation newCollation,
RexNode offset,
RexNode fetch) |
abstract Exchange |
Exchange.copy(RelTraitSet traitSet,
RelNode newInput,
RelDistribution newDistribution) |
SortExchange |
SortExchange.copy(RelTraitSet traitSet,
RelNode newInput,
RelDistribution newDistribution) |
abstract SortExchange |
SortExchange.copy(RelTraitSet traitSet,
RelNode newInput,
RelDistribution newDistribution,
RelCollation newCollation) |
abstract Correlate |
Correlate.copy(RelTraitSet traitSet,
RelNode left,
RelNode right,
CorrelationId correlationId,
ImmutableBitSet requiredColumns,
SemiJoinType joinType) |
abstract Filter |
Filter.copy(RelTraitSet traitSet,
RelNode input,
RexNode condition) |
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.
|
SemiJoin |
SemiJoin.copy(RelTraitSet traitSet,
RexNode condition,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone) |
abstract Join |
Join.copy(RelTraitSet traitSet,
RexNode conditionExpr,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone)
Creates a copy of this join, overriding condition, system fields and
inputs.
|
static Uncollect |
Uncollect.create(RelTraitSet traitSet,
RelNode input,
boolean withOrdinality)
Creates an Uncollect.
|
RelNode |
RelFactories.SortFactory.createSort(RelTraitSet traits,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch)
Deprecated.
|
RelNode |
RelFactories.SortFactoryImpl.createSort(RelTraitSet traits,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch)
Deprecated.
|
| Constructor and Description |
|---|
Aggregate(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Creates an Aggregate.
|
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.
|
Collect(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
String fieldName)
Creates a Collect.
|
Correlate(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
CorrelationId correlationId,
ImmutableBitSet requiredColumns,
SemiJoinType joinType)
Creates a Correlate.
|
EquiJoin(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
RexNode condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys,
JoinRelType joinType,
Set<String> variablesStopped)
Deprecated.
|
EquiJoin(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
RexNode condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys,
Set<CorrelationId> variablesSet,
JoinRelType joinType)
Creates an EquiJoin.
|
Exchange(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelDistribution distribution)
Creates an Exchange.
|
Filter(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
RexNode condition)
Creates a filter.
|
Intersect(RelOptCluster cluster,
RelTraitSet traits,
List<RelNode> inputs,
boolean all)
Creates an Intersect.
|
Join(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode left,
RelNode right,
RexNode condition,
JoinRelType joinType,
Set<String> variablesStopped)
Deprecated.
|
Join(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode left,
RelNode right,
RexNode condition,
Set<CorrelationId> variablesSet,
JoinRelType joinType)
Creates a Join.
|
Match(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelDataType rowType,
RexNode pattern,
boolean strictStart,
boolean strictEnd,
Map<String,RexNode> patternDefinitions,
Map<String,RexNode> measures,
RexNode after,
Map<String,? extends SortedSet<String>> subsets,
boolean allRows,
List<RexNode> partitionKeys,
RelCollation orderKeys,
RexNode interval)
Creates a Match.
|
Minus(RelOptCluster cluster,
RelTraitSet traits,
List<RelNode> inputs,
boolean all) |
Project(RelOptCluster cluster,
RelTraitSet traits,
RelNode input,
List<? extends RexNode> projects,
RelDataType rowType)
Creates a Project.
|
Project(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<? extends RexNode> projects,
RelDataType rowType,
int flags)
Deprecated.
|
SemiJoin(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode left,
RelNode right,
RexNode condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys)
Creates a SemiJoin.
|
SetOp(RelOptCluster cluster,
RelTraitSet traits,
List<RelNode> inputs,
SqlKind kind,
boolean all)
Creates a SetOp.
|
Sort(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
RelCollation collation)
Creates a Sort.
|
Sort(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
RelCollation collation,
RexNode offset,
RexNode fetch)
Creates a Sort.
|
SortExchange(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelDistribution distribution,
RelCollation collation)
Creates a SortExchange.
|
TableFunctionScan(RelOptCluster cluster,
RelTraitSet traits,
List<RelNode> inputs,
RexNode rexCall,
Type elementType,
RelDataType rowType,
Set<RelColumnMapping> columnMappings)
Creates a
TableFunctionScan. |
TableModify(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
Prepare.CatalogReader catalogReader,
RelNode input,
TableModify.Operation operation,
List<String> updateColumnList,
List<RexNode> sourceExpressionList,
boolean flattened)
Creates a
TableModify. |
TableScan(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table) |
Uncollect(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child)
Deprecated.
|
Uncollect(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
boolean withOrdinality)
Creates an Uncollect.
|
Union(RelOptCluster cluster,
RelTraitSet traits,
List<RelNode> inputs,
boolean all) |
Values(RelOptCluster cluster,
RelDataType rowType,
com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples,
RelTraitSet traits)
Creates a new Values.
|
Window(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<RexLiteral> constants,
RelDataType rowType,
List<Window.Group> groups)
Creates a window relational expression.
|
| Modifier and Type | Method and Description |
|---|---|
LogicalWindow |
LogicalWindow.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
LogicalValues.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
LogicalTableModify |
LogicalTableModify.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
LogicalTableScan.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
LogicalMinus |
LogicalMinus.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
LogicalIntersect |
LogicalIntersect.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
LogicalUnion |
LogicalUnion.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
LogicalTableFunctionScan |
LogicalTableFunctionScan.copy(RelTraitSet traitSet,
List<RelNode> inputs,
RexNode rexCall,
Type elementType,
RelDataType rowType,
Set<RelColumnMapping> columnMappings) |
LogicalAggregate |
LogicalAggregate.copy(RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
LogicalProject |
LogicalProject.copy(RelTraitSet traitSet,
RelNode input,
List<RexNode> projects,
RelDataType rowType) |
Sort |
LogicalSort.copy(RelTraitSet traitSet,
RelNode newInput,
RelCollation newCollation,
RexNode offset,
RexNode fetch) |
Exchange |
LogicalExchange.copy(RelTraitSet traitSet,
RelNode newInput,
RelDistribution newDistribution) |
LogicalCorrelate |
LogicalCorrelate.copy(RelTraitSet traitSet,
RelNode left,
RelNode right,
CorrelationId correlationId,
ImmutableBitSet requiredColumns,
SemiJoinType joinType) |
LogicalFilter |
LogicalFilter.copy(RelTraitSet traitSet,
RelNode input,
RexNode condition) |
LogicalCalc |
LogicalCalc.copy(RelTraitSet traitSet,
RelNode child,
RexProgram program) |
LogicalJoin |
LogicalJoin.copy(RelTraitSet traitSet,
RexNode conditionExpr,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone) |
static RelNode |
LogicalWindow.create(RelOptCluster cluster,
RelTraitSet traitSet,
RelBuilder relBuilder,
RelNode child,
RexProgram program)
Creates a LogicalWindow by parsing a
RexProgram. |
static LogicalWindow |
LogicalWindow.create(RelTraitSet traitSet,
RelNode input,
List<RexLiteral> constants,
RelDataType rowType,
List<Window.Group> groups)
Creates a LogicalWindow.
|
| Constructor and Description |
|---|
LogicalAggregate(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
boolean indicator,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Creates a LogicalAggregate.
|
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.
|
LogicalCorrelate(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode left,
RelNode right,
CorrelationId correlationId,
ImmutableBitSet requiredColumns,
SemiJoinType joinType)
Creates a LogicalCorrelate.
|
LogicalExchange(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelDistribution distribution) |
LogicalFilter(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RexNode condition)
Deprecated.
|
LogicalFilter(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RexNode condition,
com.google.common.collect.ImmutableSet<CorrelationId> variablesSet)
Creates a LogicalFilter.
|
LogicalIntersect(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
boolean all)
Creates a LogicalIntersect.
|
LogicalJoin(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode left,
RelNode right,
RexNode condition,
JoinRelType joinType,
Set<String> variablesStopped,
boolean semiJoinDone,
com.google.common.collect.ImmutableList<RelDataTypeField> systemFieldList)
Deprecated.
|
LogicalJoin(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode left,
RelNode right,
RexNode condition,
Set<CorrelationId> variablesSet,
JoinRelType joinType,
boolean semiJoinDone,
com.google.common.collect.ImmutableList<RelDataTypeField> systemFieldList)
Creates a LogicalJoin.
|
LogicalMatch(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelDataType rowType,
RexNode pattern,
boolean strictStart,
boolean strictEnd,
Map<String,RexNode> patternDefinitions,
Map<String,RexNode> measures,
RexNode after,
Map<String,? extends SortedSet<String>> subsets,
boolean allRows,
List<RexNode> partitionKeys,
RelCollation orderKeys,
RexNode interval)
Creates a LogicalMatch.
|
LogicalMinus(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
boolean all)
Creates a LogicalMinus.
|
LogicalProject(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<? extends RexNode> projects,
RelDataType rowType)
Creates a LogicalProject.
|
LogicalProject(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<? extends RexNode> projects,
RelDataType rowType,
int flags)
Deprecated.
|
LogicalSort(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RelCollation collation,
RexNode offset,
RexNode fetch) |
LogicalTableFunctionScan(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
RexNode rexCall,
Type elementType,
RelDataType rowType,
Set<RelColumnMapping> columnMappings)
Creates a
LogicalTableFunctionScan. |
LogicalTableModify(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
Prepare.CatalogReader schema,
RelNode input,
TableModify.Operation operation,
List<String> updateColumnList,
List<RexNode> sourceExpressionList,
boolean flattened)
Creates a LogicalTableModify.
|
LogicalTableScan(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table)
Creates a LogicalTableScan.
|
LogicalUnion(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
boolean all)
Creates a LogicalUnion.
|
LogicalValues(RelOptCluster cluster,
RelTraitSet traitSet,
RelDataType rowType,
com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples)
Creates a LogicalValues.
|
LogicalWindow(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
List<RexLiteral> constants,
RelDataType rowType,
List<Window.Group> groups)
Creates a LogicalWindow.
|
| Modifier and Type | Field and Description |
|---|---|
private RelTraitSet |
CalcRelSplitter.traits |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
MultiJoin.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
protected RelNode |
CalcRelSplitter.RelType.makeRel(RelOptCluster cluster,
RelTraitSet traitSet,
RelBuilder relBuilder,
RelNode input,
RexProgram program) |
| Constructor and Description |
|---|
EquiJoin(RelOptCluster cluster,
RelTraitSet traits,
RelNode left,
RelNode right,
RexNode condition,
ImmutableIntList leftKeys,
ImmutableIntList rightKeys,
JoinRelType joinType,
Set<String> variablesStopped)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
RelNode |
LogicalDelta.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
| Constructor and Description |
|---|
Chi(RelOptCluster cluster,
RelTraitSet traits,
RelNode input) |
Delta(RelOptCluster cluster,
RelTraitSet traits,
RelNode input) |
LogicalChi(RelOptCluster cluster,
RelTraitSet traits,
RelNode input) |
LogicalDelta(RelOptCluster cluster,
RelTraitSet traits,
RelNode input)
Creates a LogicalDelta.
|
| Modifier and Type | Method and Description |
|---|---|
RelTraitSet |
Planner.getEmptyTraitSet() |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
Program.run(RelOptPlanner planner,
RelNode rel,
RelTraitSet requiredOutputTraits,
List<RelOptMaterialization> materializations,
List<RelOptLattice> lattices) |
RelNode |
Programs.RuleSetProgram.run(RelOptPlanner planner,
RelNode rel,
RelTraitSet requiredOutputTraits,
List<RelOptMaterialization> materializations,
List<RelOptLattice> lattices) |
RelNode |
Programs.SequenceProgram.run(RelOptPlanner planner,
RelNode rel,
RelTraitSet requiredOutputTraits,
List<RelOptMaterialization> materializations,
List<RelOptLattice> lattices) |
RelNode |
Programs.DecorrelateProgram.run(RelOptPlanner planner,
RelNode rel,
RelTraitSet requiredOutputTraits,
List<RelOptMaterialization> materializations,
List<RelOptLattice> lattices) |
RelNode |
Programs.TrimFieldsProgram.run(RelOptPlanner planner,
RelNode rel,
RelTraitSet requiredOutputTraits,
List<RelOptMaterialization> materializations,
List<RelOptLattice> lattices) |
RelNode |
Planner.transform(int ruleSetIndex,
RelTraitSet requiredOutputTraits,
RelNode rel)
Converts one relational expression tree into another relational expression
based on a particular rule set and requires set of traits.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.