public class Project extends QueryPlan { private String[] columnNames; public Table execute() throws Exception { Table result = table == null ? qPlan.execute() : table; return result.project(columnNames); }