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.
|
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
ResultBatchIterator(ResultIterator<T> delegate,
int size) |
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.
|
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.
|
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> |
Modifier and Type | Field and Description |
---|---|
protected ResultIterator<T> |
DistinctResultIterator.delegate |
protected ResultIterator<T> |
LimitResultIterator.delegate |
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) |
Modifier and Type | Field and Description |
---|---|
protected ResultIterator |
IteratedSelectObserver.resultIterator |
Modifier and Type | Method and Description |
---|---|
ResultIterator |
IteratedSelectObserver.getResultIterator() |
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) |
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) |
Constructor and Description |
---|
ResultIteratorIterator(ResultIterator<T> parent) |
Copyright © 2001–2019 Apache Cayenne. All rights reserved.