code: protected NodeIterator createIterator(Session session) throws RepositoryException
     {
        QueryImpl query = makeQuery(session);
        QueryResult result = query.execute();
  
        return result.getNodes();
     }
docs: {@inheritDoc}