## 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 and Description
    --- | ---
    `abstract <T> ResultIterator<T>` | BaseContext.`iterator(Select<T> query)`
    `<T> ResultIterator<T>` | CayenneContext.`iterator(Select<T> query)` This method simply returns an iterator over a list of selected objects.
    `<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
    Constructor and 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 and 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 and Description
    --- | ---
    `void` | OperationObserver.`nextGeneratedRows(Query query, ResultIterator<?> keys, ObjectId idToUpdate)` Callback method invoked after each batch of generated values is read during an update.
    `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 and 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 and Description
    --- | ---
    `protected ResultIterator<T>` | DistinctResultIterator.`delegate`
    `protected ResultIterator<T>` | LimitResultIterator.`delegate`

    Constructors in org.apache.cayenne.access.jdbc with parameters of type ResultIterator
    Constructor and 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 and Description
    --- | ---
    `protected ResultIterator` | IteratedSelectObserver.`resultIterator`

    Methods in org.apache.cayenne.access.util that return ResultIterator
    Modifier and Type | Method and Description
    --- | ---
    `ResultIterator` | IteratedSelectObserver.`getResultIterator()`

    Methods in org.apache.cayenne.access.util with parameters of type ResultIterator
    Modifier and Type | Method and Description
    --- | ---
    `void` | DoNothingOperationObserver.`nextGeneratedRows(Query query, ResultIterator<?> keys, ObjectId idToUpdate)`
    `void` | DefaultOperationObserver.`nextGeneratedRows(Query query, ResultIterator keys, ObjectId idToUpdate)` Closes ResultIterator without reading its data.
    `void` | DefaultOperationObserver.`nextRows(Query query, ResultIterator it)` Closes ResultIterator without reading its data.
    `void` | IteratedSelectObserver.`nextRows(Query q, ResultIterator it)`
    `void` | DoNothingOperationObserver.`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 and 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)`
    `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
    Constructor and Description
    `ResultIteratorIterator(ResultIterator<T> parent)`

Copyright © 2001–2023 Apache Cayenne. All rights reserved.