docs: public Deferred<Query[]> buildQueriesAsync(final TSDB tsdb) {
      final Query[] tsdb_queries = new Query[queries.size()];
      
      final List<Deferred<Object>> deferreds =
          new ArrayList<Deferred<Object>>(queries.size());
      for (int i = 0; i < queries.size(); i++) {
        final Query query = tsdb.newQuery();
        deferreds.add(query.configureFromQuery(this, i));
        tsdb_queries[i] = query;
      }
      
      class GroupFinished implements Callback<Query[], ArrayList<Object>> {
        @Override
        public Query[] call(final ArrayList<Object> deferreds) {
          return tsdb_queries;
        }
        @Override
        public String toString() {
          return "Query compile group callback";
        }
      }
      
      return Deferred.group(deferreds).addCallback(new GroupFinished());
    }