|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OperationObserver
Defines a set of callback methods that allow QueryEngine to pass back query results and notify caller about exceptions.
QueryEngine| Method Summary | |
|---|---|
void |
nextBatchCount(Query query,
int[] resultCount)
Callback method invoked after a batch update is executed. |
void |
nextCount(Query query,
int resultCount)
Callback method invoked after an updating query is executed. |
void |
nextDataRows(Query query,
List dataRows)
Callback method invoked for each processed ResultSet. |
void |
nextDataRows(Query q,
ResultIterator it)
Callback method invoked for each opened ResultIterator. |
void |
nextGeneratedDataRows(Query query,
ResultIterator keysIterator)
Callback method invoked after each batch of generated values is read durring an update. |
void |
nextGlobalException(Exception ex)
Callback method invoked on exceptions that are not tied to a specific query execution, such as JDBC connection exceptions, etc. |
void |
nextQueryException(Query query,
Exception ex)
Callback method invoked on exceptions that happen during an execution of a specific query. |
| Methods inherited from interface org.apache.cayenne.access.OperationHints |
|---|
isIteratedResult |
| Method Detail |
|---|
void nextCount(Query query,
int resultCount)
void nextBatchCount(Query query,
int[] resultCount)
void nextDataRows(Query query,
List dataRows)
void nextDataRows(Query q,
ResultIterator it)
void nextGeneratedDataRows(Query query,
ResultIterator keysIterator)
void nextQueryException(Query query,
Exception ex)
void nextGlobalException(Exception ex)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||