public SortRel copy( RelTraitSet traitSet, RelNode newInput, List<RelFieldCollation> newCollations) { assert traitSet.comprises(Convention.NONE); return new SortRel( getCluster(), getCluster().traitSetOf(Convention.NONE), newInput, newCollations); }
public RelNode copy(RelTraitSet traitSet, List<RelNode> inputs) { assert traitSet.comprises(Convention.NONE); assert inputs.isEmpty(); return new ValuesRel(getCluster(), rowType, tuples); }