protected Map<String, Path<?>> getColumns(RelationalPath<?> path) {
        Map<String, Path<?>> columns = new LinkedHashMap<>();
        for (Path<?> column : path.getColumns()) {
            columns.put(column.getMetadata().getName(), column);
        }
        return columns;
    }
Abstract base class for Mapper implementations

@author tiwe

@param <T>
querydsl-sql/src/main/java/com/querydsl/sql/dml/AbstractMapper.java