// Ditto for getNonCumulativeCost public RelOptCost getNonCumulativeCost(RelNode rel) { return rel.computeSelfCost(rel.getCluster().getPlanner()); }