Exemple #1
0
 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);
 }
Exemple #2
0
 public RelNode copy(RelTraitSet traitSet, List<RelNode> inputs) {
   assert traitSet.comprises(Convention.NONE);
   assert inputs.isEmpty();
   return new ValuesRel(getCluster(), rowType, tuples);
 }