presto-main/src/main/java/io/prestosql/dispatcher/DispatchManager.java/DispatchManager/getQueries
class DispatchManager:    public List<BasicQueryInfo> getQueries()
    {
        return queryTracker.getAllQueries().stream()
                .map(DispatchQuery::getBasicQueryInfo)
                .collect(toImmutableList());
    }