public RelNode toRel(ToRelContext context) { return new TableAccessRel(context.getCluster(), this); }
public RelNode toRel(ToRelContext context) { if (table instanceof TranslatableTable) { return ((TranslatableTable) table).toRel(context, this); } return new JavaRules.EnumerableTableAccessRel(context.getCluster(), this, expression); }