Uses of Interface
org.apache.cayenne.ResultIterator
Package
Description
Contains persistence APIs directly accessible by users.
Contains classes that make up Cayenne ORM stack.
Contains classes that handle JDBC interactions.
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
General utility classes.
-
Uses of ResultIterator in org.apache.cayenne
Modifier and TypeMethodDescriptionabstract <T> ResultIterator
<T> <T> ResultIterator
<T> Creates a ResultIterator based on the provided query. -
Uses of ResultIterator in org.apache.cayenne.access
Modifier and TypeMethodDescription<T> ResultIterator
<T> DataContext.performIteratedQuery
(Query query) Performs a single database select query returning result as a ResultIterator.Modifier and TypeMethodDescriptionvoid
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.void
OperationObserver.nextRows
(Query q, ResultIterator<?> it) Callback method invoked for each opened ResultIterator. -
Uses of ResultIterator in org.apache.cayenne.access.jdbc
Modifier and TypeClassDescriptionclass
AResultIterator
wrapper that handles closing a connection.class
A ResultIterator that does in-memory filtering of rows to return only distinct rows.class
A ResultIterator over the underlying JDBC ResultSet.class
Modifier and TypeFieldDescriptionprotected ResultIterator
<T> DistinctResultIterator.delegate
protected ResultIterator
<T> LimitResultIterator.delegate
ModifierConstructorDescriptionConnectionAwareResultIterator
(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
Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionFluentSelect.iterator
(ObjectContext context) MappedSelect.iterator
(ObjectContext context) Select.iterator
(ObjectContext context) Creates a ResultIterator based on the provided context.SelectById.iterator
(ObjectContext context) SelectQuery.iterator
(ObjectContext context) Deprecated.SQLSelect.iterator
(ObjectContext context) -
Uses of ResultIterator in org.apache.cayenne.util
OperationObserver.nextGeneratedRows(Query, ResultIterator, List)