public Map<String,IType> getColumnMap() {
HashMap<String, IType> cols = new HashMap<String, IType>();
if (hasSpecificColumns()) {
for (SQLParsedElement col : _selectList.getChildren()) {
IDBColumnType type = col.getDBType();
IType gosuType = type == null ? JavaTypes.OBJECT() : type.getGosuType();
if (col instanceof ColumnReference) {
cols.put(((ColumnReference) col).getName(), gosuType);
} else if (col instanceof DerivedColumn) {
cols.put(((DerivedColumn) col).getName(), gosuType);
}