public Selector addOrderByList(List<OrderByAttribute> list) {

        if (list != null) {
            orderByList.addAll(list);
        }
        return this;
    }
Selector selecting query output stream attributes
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/execution/query/selection/Selector.java