# Uses of Interface
org.apache.cayenne.ResultIterator

Packages that use ResultIterator
Package
Description
org.apache.cayenne
Contains persistence APIs directly accessible by users.
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.access.jdbc
Contains classes that handle JDBC interactions.
org.apache.cayenne.access.util
org.apache.cayenne.query
Defines standard queries supported by Cayenne and extension mechanism to create custom queries.
org.apache.cayenne.util
General utility classes.

- ## Uses of ResultIterator in org.apache.cayenne

  Methods in org.apache.cayenne that return ResultIterator
  Modifier and Type
  Method
  Description
  `abstract <T> ResultIterator<T>`
  BaseContext.`iterator(Select<T> query)`
  `<T> ResultIterator<T>`
  ObjectContext.`iterator(Select<T> query)`
  Creates a ResultIterator based on the provided query.
  Constructors in org.apache.cayenne with parameters of type ResultIterator
  Modifier
  Constructor
  Description
  ``
  `ResultBatchIterator(ResultIterator<T> delegate, int size)`

- ## Uses of ResultIterator in org.apache.cayenne.access

  Methods in org.apache.cayenne.access that return ResultIterator
  Modifier and Type
  Method
  Description
  `<T> ResultIterator<T>`
  DataContext.`iterator(Select<T> query)`
  `ResultIterator`
  DataContext.`performIteratedQuery(Query query)`
  Performs a single database select query returning result as a ResultIterator.
  Methods in org.apache.cayenne.access with parameters of type ResultIterator
  Modifier and Type
  Method
  Description
  `void`
  OperationObserver.`nextGeneratedRows(Query query, ResultIterator<?> keys, List<ObjectId> idsToUpdate)`
  Callback method invoked after each batch of generated values is read during an update.
  `default void`
  OperationObserver.`nextGeneratedRows(Query query, ResultIterator<?> keys, ObjectId idToUpdate)`
  Deprecated.
  since 4.2, use `OperationObserver.nextGeneratedRows(Query, ResultIterator, List)`
  `void`
  OperationObserver.`nextRows(Query q, ResultIterator<?> it)`
  Callback method invoked for each opened ResultIterator.

- ## Uses of ResultIterator in org.apache.cayenne.access.jdbc

  Classes in org.apache.cayenne.access.jdbc that implement ResultIterator
  Modifier and Type
  Class
  Description
  `class`
  `ConnectionAwareResultIterator<T>`
  A `ResultIterator` wrapper that handles closing a connection.
  `class`
  `DistinctResultIterator<T>`
  A ResultIterator that does in-memory filtering of rows to return only distinct rows.
  `class`
  `JDBCResultIterator<T>`
  A ResultIterator over the underlying JDBC ResultSet.
  `class`
  `LimitResultIterator<T>`
  Fields in org.apache.cayenne.access.jdbc declared as ResultIterator
  Modifier and Type
  Field
  Description
  `protected ResultIterator<T>`
  DistinctResultIterator.`delegate`
  `protected ResultIterator<T>`
  LimitResultIterator.`delegate`
  Constructors in org.apache.cayenne.access.jdbc with parameters of type ResultIterator
  Modifier
  Constructor
  Description
  ``
  `ConnectionAwareResultIterator(ResultIterator<T> delegate, Connection connection)`
  ``
  `DistinctResultIterator(ResultIterator<T> delegate, DbEntity defaultEntity, boolean compareFullRows)`
  Creates new DistinctResultIterator wrapping another ResultIterator.
  ``
  `LimitResultIterator(ResultIterator<T> delegate, int offset, int fetchLimit)`

- ## Uses of ResultIterator in org.apache.cayenne.access.util

  Fields in org.apache.cayenne.access.util declared as ResultIterator
  Modifier and Type
  Field
  Description
  `protected ResultIterator`
  IteratedSelectObserver.`resultIterator`
  Methods in org.apache.cayenne.access.util that return ResultIterator
  Modifier and Type
  Method
  Description
  `ResultIterator`
  IteratedSelectObserver.`getResultIterator()`
  Methods in org.apache.cayenne.access.util with parameters of type ResultIterator
  Modifier and Type
  Method
  Description
  `void`
  DefaultOperationObserver.`nextGeneratedRows(Query query, ResultIterator<?> keys, List<ObjectId> idsToUpdate)`
  Closes ResultIterator without reading its data.
  `void`
  DoNothingOperationObserver.`nextGeneratedRows(Query query, ResultIterator<?> keys, List<ObjectId> idsToUpdate)`
  `void`
  DefaultOperationObserver.`nextRows(Query query, ResultIterator it)`
  Closes ResultIterator without reading its data.
  `void`
  DoNothingOperationObserver.`nextRows(Query q, ResultIterator<?> it)`
  `void`
  IteratedSelectObserver.`nextRows(Query q, ResultIterator it)`

- ## Uses of ResultIterator in org.apache.cayenne.query

  Methods in org.apache.cayenne.query that return ResultIterator
  Modifier and Type
  Method
  Description
  `ResultIterator<T>`
  FluentSelect.`iterator(ObjectContext context)`
  `ResultIterator<T>`
  MappedSelect.`iterator(ObjectContext context)`
  `ResultIterator<T>`
  Select.`iterator(ObjectContext context)`
  Creates a ResultIterator based on the provided context.
  `ResultIterator<T>`
  SelectById.`iterator(ObjectContext context)`
  `ResultIterator<T>`
  SelectQuery.`iterator(ObjectContext context)`
  Deprecated.
  `ResultIterator<T>`
  SQLSelect.`iterator(ObjectContext context)`

- ## Uses of ResultIterator in org.apache.cayenne.util

  Constructors in org.apache.cayenne.util with parameters of type ResultIterator
  Modifier
  Constructor
  Description
  ``
  `ResultIteratorIterator(ResultIterator<T> parent)`