public class DoNothingOperationObserver extends Object implements OperationObserver
| Constructor and Description | 
|---|
| DoNothingOperationObserver() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isIteratedResult()Returns  trueto indicate that any results of a select operation
 should be returned as a ResultIterator. | 
| 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<?> keys,
                 ObjectId idToUpdate)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. | 
public boolean isIteratedResult()
OperationHintstrue to indicate that any results of a select operation
 should be returned as a ResultIterator. false is returned when the
 results are expected as a list.isIteratedResult in interface OperationHintspublic void nextCount(Query query, int resultCount)
OperationObservernextCount in interface OperationObserverpublic void nextBatchCount(Query query, int[] resultCount)
OperationObservernextBatchCount in interface OperationObserverpublic void nextRows(Query query, List<?> dataRows)
OperationObservernextRows in interface OperationObserverpublic void nextRows(Query q, ResultIterator<?> it)
OperationObserverOperationObserver.nextRows(Query, List).nextRows in interface OperationObserverpublic void nextGeneratedRows(Query query, ResultIterator<?> keys, ObjectId idToUpdate)
OperationObservernextGeneratedRows in interface OperationObserverpublic void nextQueryException(Query query, Exception ex)
OperationObservernextQueryException in interface OperationObserverpublic void nextGlobalException(Exception ex)
OperationObservernextGlobalException in interface OperationObserverCopyright © 2001–2023 Apache Cayenne. All rights reserved.