Class FastAnnotationLoader.FastIterator<T>

java.lang.Object
net.sf.basedb.core.FastAnnotationLoader.FastIterator<T>
All Implemented Interfaces:
Iterator<FastAnnotationLoader.FastAnnotation<T>>
Enclosing class:
FastAnnotationLoader<T>

static class FastAnnotationLoader.FastIterator<T>
extends Object
implements Iterator<FastAnnotationLoader.FastAnnotation<T>>
Iterator implementation that splits the query into multiple calls depending on the max number of parameters that can be used in a query.
  • Field Details

  • Constructor Details

  • Method Details

    • nextIterator

      private boolean nextIterator()
      Create a new query that load annotations for items between startIndex and endIndex.
      Returns:
      TRUE if an iterator was created, FALSE if not
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
    • next

      Specified by:
      next in interface Iterator<T>