# 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.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
  `default ResultIterator<?>`
  QueryResponse.`currentIterator()`
  Returns a current iterator.
  `default ResultIterator<?>`
  QueryResponse.`firstIterator()`
  A utility method for quickly retrieving the Iterator in the response.
  `<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)`
  Performs a single database select query returning result as a `ResultIterator`.
  `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
  `default 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`
  `LimitResultIterator<T>`
  `class`
  `RSIterator<T>`
  A ResultIterator over a JDBC ResultSet.
  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.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>`
  SQLSelect.`iterator(ObjectContext context)`

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

  Methods in org.apache.cayenne.util that return ResultIterator
  Modifier and Type
  Method
  Description
  `ResultIterator<?>`
  GenericResponse.`currentIterator()`
  `ResultIterator<?>`
  GenericResponse.`firstIterator()`
  Methods in org.apache.cayenne.util with parameters of type ResultIterator
  Modifier and Type
  Method
  Description
  `void`
  GenericResponse.`addResultIterator(ResultIterator<?> iterator)`
  Constructors in org.apache.cayenne.util with parameters of type ResultIterator
  Modifier
  Constructor
  Description
  ``
  `ResultIteratorIterator(ResultIterator<T> parent)`