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 ; }
Get an extent aware Iterator based on the Query