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.query |
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
ObjectContext.iterate(Select<T> query,
ResultIteratorCallback<T> callback)
Creates a ResultIterator based on the provided query and passes it to a
callback for processing.
|
<T> void |
BaseContext.iterate(Select<T> query,
ResultIteratorCallback<T> callback) |
<T> ResultIterator<T> |
ObjectContext.iterator(Select<T> query)
Creates a ResultIterator based on the provided query.
|
<T> ResultIterator<T> |
CayenneContext.iterator(Select<T> query)
This method simply returns an iterator over a list of selected objects.
|
abstract <T> ResultIterator<T> |
BaseContext.iterator(Select<T> query) |
<T> List<T> |
ObjectContext.select(Select<T> query)
Executes a selecting query, returning a list of persistent objects or
data rows.
|
<T> List<T> |
BaseContext.select(Select<T> query) |
<T> T |
ObjectContext.selectOne(Select<T> query)
Executes a selecting query, returning either NULL if query matched no
objects, or a single object.
|
<T> T |
BaseContext.selectOne(Select<T> query) |
Modifier and Type | Method and Description |
---|---|
<T> ResultIterator<T> |
DataContext.iterator(Select<T> query) |
Modifier and Type | Class and Description |
---|---|
class |
ObjectSelect<T>
A selecting query providing chainable API.
|
class |
PrefetchSelectQuery
A SelectQuery to perform a prefetch based on another query.
|
class |
SelectById<T>
A query to select single objects by id.
|
class |
SelectQuery<T>
A query that selects persistent objects of a certain type or "raw data" (aka
DataRows).
|
class |
SQLSelect<T>
A selecting query based on raw SQL and featuring fluent API.
|
Copyright © 2001–2015 Apache Cayenne. All rights reserved.