Creates a Project. @param cluster Cluster that this relational expression belongs to @param traits Traits of this relational expression @param hints Hints of this relation expression @param input Input relational expression @param projects List of expressions for the input columns @param r
(
RelOptCluster cluster,
RelTraitSet traits,
List<RelHint> hints,
RelNode input,
List<? extends RexNode> projects,
RelDataType rowType,
Set<CorrelationId> variableSet)
| 90 | * to be used by nested expressions |
| 91 | */ |
| 92 | @SuppressWarnings("method.invocation.invalid") |
| 93 | protected Project( |
| 94 | RelOptCluster cluster, |
| 95 | RelTraitSet traits, |
| 96 | List<RelHint> hints, |
| 97 | RelNode input, |
| 98 | List<? extends RexNode> projects, |
| 99 | RelDataType rowType, |
| 100 | Set<CorrelationId> variableSet) { |
| 101 | super(cluster, traits, input); |
| 102 | this.exps = ImmutableList.copyOf(projects); |
| 103 | this.hints = ImmutableList.copyOf(hints); |
| 104 | this.rowType = requireNonNull(rowType, "rowType"); |
| 105 | this.variablesSet = ImmutableSet.copyOf(variableSet); |
| 106 | assert isValid(Litmus.THROW, null); |
| 107 | } |
| 108 | |
| 109 | @Deprecated // to be removed before 2.0 |
| 110 | protected Project( |
nothing calls this directly
no test coverage detected