Class IncrementalListResponse
java.lang.Object
org.apache.cayenne.util.ListResponse
org.apache.cayenne.util.IncrementalListResponse
- All Implemented Interfaces:
Serializable, QueryResponse
A QueryResponse that contains a sublist of the query result. Also contains extra
information about the full list.
- Since:
- 1.2
- See Also:
-
Field Summary
FieldsFields inherited from class ListResponse
currentIndex, objectList -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ListResponse
currentList, currentUpdateCount, firstList, isList, next, reset, sizeModifier and TypeMethodDescriptionList<?> Returns a List under the current iterator position.int[]Returns an update count under the current iterator position.List<?> A utility method for quickly retrieving the first list in the response.booleanisList()Returns whether current iteration result is a list or an update count.booleannext()Rewinds response iterator to the next result, returning true if it is available.voidreset()Restarts response iterator.intsize()Returns a number of results in the response.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface QueryResponse
currentIterator, firstIterator, firstUpdateCount, isIteratorModifier and TypeMethodDescriptiondefault ResultIterator<?> Returns a current iterator.default ResultIterator<?> A utility method for quickly retrieving the Iterator in the response.default int[]A utility method for quickly retrieving the first update count from the response.default booleanReturns whether current response is an iterator
-
Field Details
-
fullSize
protected int fullSize
-
-
Constructor Details
-
IncrementalListResponse
-
-
Method Details
-
getFullSize
public int getFullSize()
-