PlanExecutor executor = (PlanExecutor)this.resultsMap.get(resultName);
if (executor == null) {
if (this.parentContext != null) {
return this.parentContext.getOutputElements(resultName);
}
throw new TeiidComponentException(QueryPlugin.Util.getString("results_not_found", resultName)); //$NON-NLS-1$
}
return executor.getOutputElements();
}