| 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.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 |
EnumerableWindow.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
EnumerableLimit |
EnumerableLimit.copy(RelTraitSet traitSet,
List<RelNode> newInputs) |
RelNode |
EnumerableTableModify.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
EnumerableInterpretable |
EnumerableInterpretable.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
EnumerableInterpreter.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
EnumerableTableScan.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
EnumerableValues.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
EnumerableBindable |
EnumerableBindable.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
EnumerableIntersect |
EnumerableIntersect.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
EnumerableUnion |
EnumerableUnion.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) |
EnumerableCollect |
EnumerableCollect.copy(RelTraitSet traitSet,
RelNode newInput) |
EnumerableUncollect |
EnumerableUncollect.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) |
EnumerableJoin |
EnumerableJoin.copy(RelTraitSet traitSet,
RexNode condition,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone) |
SemiJoin |
EnumerableSemiJoin.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) |
EnumerableThetaJoin |
EnumerableThetaJoin.copy(RelTraitSet traitSet,
RexNode condition,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone) |
| 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) |
EnumerableLimit(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
RexNode offset,
RexNode fetch)
Creates an EnumerableLimit.
|
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.
|
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,
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) |
EnumerableUncollect(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child) |
EnumerableUnion(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
| 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) |
| 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) |
| Modifier and Type | Method and Description |
|---|---|
static RelTraitSet |
RelTraitSet.createEmpty()
Creates an empty trait set.
|
RelTraitSet |
AbstractRelOptPlanner.emptyTraitSet() |
RelTraitSet |
RelOptPlanner.emptyTraitSet()
Creates an empty trait set.
|
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.
|
| Constructor and Description |
|---|
RelTraitPropagationVisitor(RelOptPlanner planner,
RelTraitSet baseTraits) |
| 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 |
|---|---|
boolean |
VolcanoPlanner.canConvert(RelTraitSet fromTraits,
RelTraitSet toTraits) |
RelNode |
VolcanoPlanner.changeTraits(RelNode rel,
RelTraitSet toTraits) |
RelNode |
AbstractConverter.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
RelSubset.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelSubset |
VolcanoPlanner.getSubset(RelNode rel,
RelTraitSet traits) |
RelSubset |
VolcanoPlanner.getSubset(RelNode rel,
RelTraitSet traits,
boolean createIfMissing) |
| Constructor and Description |
|---|
AbstractConverter(RelOptCluster cluster,
RelSubset rel,
RelTraitDef traitDef,
RelTraitSet traits) |
| Modifier and Type | Method and Description |
|---|---|
protected RelTraitSet |
Prepare.getDesiredRootTraitSet(RelNode rootRel) |
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 |
ConverterImpl.getInputTraits() |
RelTraitSet |
Converter.getInputTraits()
Returns the trait of the input relational expression.
|
| 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 |
Uncollect.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
Sort |
Sort.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Collect.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Aggregate.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
TableFunctionScan |
TableFunctionScan.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
Join |
Join.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
SetOp |
SetOp.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
Correlate |
Correlate.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
Calc |
Calc.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Filter.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Project.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
Sample.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.
|
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.
|
SemiJoin |
SemiJoin.copy(RelTraitSet traitSet,
RexNode condition,
RelNode left,
RelNode right,
JoinRelType joinType,
boolean semiJoinDone) |
RelNode |
RelFactories.SortFactory.createSort(RelTraitSet traits,
RelNode child,
RelCollation collation,
RexNode offset,
RexNode fetch)
Creates a sort.
|
| 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)
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 traits,
RelNode left,
RelNode right,
RexNode condition,
JoinRelType joinType,
Set<String> variablesStopped)
Creates a Join.
|
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 traits,
RelOptTable table,
Prepare.CatalogReader catalogReader,
RelNode child,
TableModify.Operation operation,
List<String> updateColumnList,
boolean flattened) |
TableScan(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table) |
Uncollect(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child)
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 traits,
RelNode child,
List<RexLiteral> constants,
RelDataType rowType,
List<Window.Group> groups)
Creates a window relational expression.
|
| Modifier and Type | Method and Description |
|---|---|
RelNode |
LogicalValues.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
LogicalWindow |
LogicalWindow.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelNode |
LogicalTableScan.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
LogicalTableModify |
LogicalTableModify.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
LogicalUnion |
LogicalUnion.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
LogicalIntersect |
LogicalIntersect.copy(RelTraitSet traitSet,
List<RelNode> inputs,
boolean all) |
LogicalMinus |
LogicalMinus.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,
RelNode child,
RexProgram program)
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.
|
LogicalFilter(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RexNode condition)
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)
Creates a LogicalJoin.
|
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.
|
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,
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 traits,
RelNode child,
List<RexLiteral> constants,
RelDataType rowType,
List<Window.Group> groups)
Creates a LogicalWindow.
|
| Modifier and Type | Method and Description |
|---|---|
RelNode |
MultiJoin.copy(RelTraitSet traitSet,
List<RelNode> inputs) |
protected RelNode |
CalcRelSplitter.RelType.makeRel(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
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) |
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–2015 The Apache Software Foundation. All rights reserved.