super(EnumerableProjectRel.class, EnumerableConvention.INSTANCE, out,
"MockJdbcProjectRule");
}
public RelNode convert(RelNode rel) {
final EnumerableProjectRel project = (EnumerableProjectRel) rel;
return new JdbcProjectRel(
rel.getCluster(),
rel.getTraitSet().replace(getOutConvention()),
convert(project.getChild(),
project.getChild().getTraitSet().replace(getOutConvention())),
project.getProjects(),
project.getRowType(),
ProjectRelBase.Flags.BOXED);
}