code: protected OJBIterator getIteratorFromQuery(Query query, ClassDescriptor cld) throws PersistenceBrokerException
      {
          RsIteratorFactory factory = RsIteratorFactoryImpl.getInstance();
          OJBIterator result = getRsIteratorFromQuery(query, cld, factory);
  
          if (query.usePaging())
          {
              result = new PagingIterator(result, query.getStartAtIndex(), query.getEndAtIndex());
          }
          return result;
      }
docs: Get an extent aware Iterator based on the Query
  
  @param query
  @param cld the ClassDescriptor
  @return OJBIterator