Creates a new Values. Note that tuples passed in become owned by this rel (without a deep copy), so caller must not modify them after this call, otherwise bad things will happen. @param cluster Cluster that this relational expression belongs to @param hints Hints for this node @param rowType
(
RelOptCluster cluster,
List<RelHint> hints,
RelDataType rowType,
ImmutableList<ImmutableList<RexLiteral>> tuples,
RelTraitSet traits)
| 85 | * tuples must be of same length, conforming to rowType |
| 86 | */ |
| 87 | @SuppressWarnings("method.invocation.invalid") |
| 88 | protected Values( |
| 89 | RelOptCluster cluster, |
| 90 | List<RelHint> hints, |
| 91 | RelDataType rowType, |
| 92 | ImmutableList<ImmutableList<RexLiteral>> tuples, |
| 93 | RelTraitSet traits) { |
| 94 | super(cluster, traits); |
| 95 | this.rowType = rowType; |
| 96 | this.tuples = tuples; |
| 97 | this.hints = ImmutableList.copyOf(hints); |
| 98 | assert assertRowType(); |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * Creates a new Values. |
nothing calls this directly
no test coverage detected