Class ItemResultIterator<I extends BasicItem>

java.lang.Object
net.sf.basedb.core.ItemResultIterator<I>
All Implemented Interfaces:
AutoCloseable, Iterator<I>, QueryResult, ResultIterator<I>

public class ItemResultIterator<I extends BasicItem> extends Object implements ResultIterator<I>
Return the results of an ItemQuery as an iterator.
Version:
2.0
Author:
Samuel, Nicklas
See Also:
Last modified
$Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
  • Field Details

    • data

      private final ScrollIterator<? extends BasicData> data
      The internal iterator of BasicData objects.
    • dc

      private final DbControl dc
      The DbControl tthat was used in the query.
    • itemClass

      private final Class<I extends BasicItem> itemClass
      The class of the items returned by the query (and this object).
    • totalCount

      private final long totalCount
      The total number of items.
    • itemType

      private final Item itemType
      The type of items returned by the query.
  • Constructor Details

  • Method Details