public class IteratedSelectObserver extends DefaultOperationObserver
Modifier and Type | Field and Description |
---|---|
protected ResultIterator |
resultIterator |
globalExceptions, queryExceptions
Constructor and Description |
---|
IteratedSelectObserver() |
Modifier and Type | Method and Description |
---|---|
ResultIterator |
getResultIterator() |
boolean |
isIteratedResult()
Returns
false . |
void |
nextRows(Query query,
List<?> dataRows)
Callback method invoked for each processed ResultSet.
|
void |
nextRows(Query q,
ResultIterator it)
Closes ResultIterator without reading its data.
|
getGlobalExceptions, getQueryExceptions, hasExceptions, nextBatchCount, nextCount, nextGeneratedRows, nextGlobalException, nextQueryException, printExceptions
protected ResultIterator resultIterator
public boolean isIteratedResult()
DefaultOperationObserver
false
.isIteratedResult
in interface OperationHints
isIteratedResult
in class DefaultOperationObserver
public void nextRows(Query query, List<?> dataRows)
OperationObserver
nextRows
in interface OperationObserver
nextRows
in class DefaultOperationObserver
public void nextRows(Query q, ResultIterator it)
DefaultOperationObserver
nextRows
in interface OperationObserver
nextRows
in class DefaultOperationObserver
public ResultIterator getResultIterator() throws CayenneException
CayenneException
Copyright © 2001–2018 Apache Cayenne. All rights reserved.