|
||||||||||
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.
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 |
nextGeneratedRows(Query query,
ResultIterator keysIterator)
Callback method invoked after each batch of generated values is read during 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. |
void |
nextRows(Query query,
List<?> dataRows)
Callback method invoked for each processed ResultSet. |
void |
nextRows(Query q,
ResultIterator it)
Callback method invoked for each opened ResultIterator. |
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 nextRows(Query query, List<?> dataRows)
void nextRows(Query q, ResultIterator it)
nextRows(Query, List)
.
void nextGeneratedRows(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 |